Home
last modified time | relevance | path

Searched refs:mWidth (Results 1 – 25 of 2124) sorted by relevance

12345678910>>...85

/dports/games/kblocks/kblocks-21.12.3/src/
H A DKBlocksField.cpp14 mWidth = width; in KBlocksField()
27 maBoard[i] = new bool[mWidth]; in KBlocksField()
28 for (int j = 0; j < mWidth; j++) { in KBlocksField()
36 mWidth = p->getWidth(); in KBlocksField()
49 maBoard[i] = new bool[mWidth]; in KBlocksField()
79 if (((xPos < 0) || (xPos >= mWidth)) in setCell()
108 for (int i = 0; i < mWidth; i++) { in checkFilledLine()
142 for (int j = 0; j < mWidth; j++) { in removeFilledLine()
154 for (int i = 0; i < mWidth; i++) { in addPunishLine()
167 for (int i = 0; i < mWidth; i++) { in addPunishLine()
[all …]
/dports/games/openfodder/openfodder-1.6.0/Source/
H A DDimension.hpp25 unsigned int mWidth, mHeight; member in cDimension
28 cDimension() : mWidth( 0 ), mHeight( 0 ) {} in cDimension()
29 cDimension( unsigned int pWidth, unsigned int pHeight ) : mWidth( pWidth ), mHeight( pHeight ) {} in cDimension()
31 void Set( unsigned int pWidth, unsigned int pHeight ) { mWidth = pWidth; mHeight = pHeight; } in Set()
33 unsigned int WidthByHeight() { return mWidth * mHeight; } in WidthByHeight()
34 int getWidth() const { return mWidth; } in getWidth()
37 cPosition getCentre() const { return { mWidth / 2, mHeight / 2 }; }; in getCentre()
40 return cDimension(mWidth / pDim.mWidth, mHeight / pDim.mHeight); in operator /()
44 return mWidth == pRight.mWidth && mHeight == pRight.mHeight; in operator ==()
49 return cDimension(mWidth + pRight.mWidth, mHeight + pRight.mHeight); in operator +()
/dports/games/cuyo/cuyo-2.1.0/src/
H A Dmaske.cpp28 RohMaske::RohMaske(const RohMaske & src) : mWidth(src.mWidth), in RohMaske()
31 size_t size=mWidth*mHeight; in RohMaske()
42 mWidth=w; in init()
50 int size=mWidth*mHeight; in set_pixel()
58 int size=mWidth*mHeight; in fill()
69 Maske::Maske(const Maske & src) : mWidth(src.mWidth), mHeight(src.mHeight) { in Maske()
71 size_t size=mWidth*mHeight; in Maske()
82 mWidth = src.mWidth * scale / scale_base; in scale()
93 mData[yd*mWidth+xd] = (src.mData[ys*src.mWidth+xd*scale_base/scale] in scale()
116 size_t pos=yd*mWidth+xd; in scale()
[all …]
/dports/games/manaplus/manaplus-2.1.3.17/src/resources/map/
H A Dspeciallayer.cpp42 mWidth(width), in SpecialLayer()
59 if (x < 0 || x >= mWidth || in getTile()
64 return mTiles[x + y * mWidth]; in getTile()
69 if (x < 0 || x >= mWidth || in setTile()
75 const int idx = x + y * mWidth; in setTile()
84 if (x < 0 || x >= mWidth || in setTile()
90 const int idx = x + y * mWidth; in setTile()
141 if (endX > mWidth) in draw()
142 endX = mWidth; in draw()
149 const int y2 = y * mWidth; in draw()
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/gui/
H A Dqgsnewmemorylayerdialog.cpp149 if ( mWidth->text().toInt() < 1 || mWidth->text().toInt() > 255 ) in mTypeBox_currentIndexChanged()
156 if ( mWidth->text().toInt() < 1 || mWidth->text().toInt() > 10 ) in mTypeBox_currentIndexChanged()
163 if ( mWidth->text().toInt() < 1 || mWidth->text().toInt() > 30 ) in mTypeBox_currentIndexChanged()
171 mWidth->clear(); in mTypeBox_currentIndexChanged()
172 mWidth->setEnabled( false ); in mTypeBox_currentIndexChanged()
177 mWidth->clear(); in mTypeBox_currentIndexChanged()
178 mWidth->setEnabled( false ); in mTypeBox_currentIndexChanged()
183 mWidth->clear(); in mTypeBox_currentIndexChanged()
184 mWidth->setEnabled( false ); in mTypeBox_currentIndexChanged()
189 mWidth->clear(); in mTypeBox_currentIndexChanged()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/src/gui/
H A Dqgsnewmemorylayerdialog.cpp141 if ( mWidth->text().toInt() < 1 || mWidth->text().toInt() > 255 ) in mTypeBox_currentIndexChanged()
148 if ( mWidth->text().toInt() < 1 || mWidth->text().toInt() > 10 ) in mTypeBox_currentIndexChanged()
155 if ( mWidth->text().toInt() < 1 || mWidth->text().toInt() > 30 ) in mTypeBox_currentIndexChanged()
163 mWidth->clear(); in mTypeBox_currentIndexChanged()
164 mWidth->setEnabled( false ); in mTypeBox_currentIndexChanged()
169 mWidth->clear(); in mTypeBox_currentIndexChanged()
170 mWidth->setEnabled( false ); in mTypeBox_currentIndexChanged()
175 mWidth->clear(); in mTypeBox_currentIndexChanged()
176 mWidth->setEnabled( false ); in mTypeBox_currentIndexChanged()
181 mWidth->clear(); in mTypeBox_currentIndexChanged()
[all …]
/dports/cad/leocad/leocad-21.06/common/
H A Dimage.cpp14 for (int x = 0; x < Dest.mWidth; x++) in CopyFromQImage()
31 mWidth = 0; in Image()
39 mWidth = Other.mWidth; in Image()
44 Other.mWidth = 0; in Image()
96 mWidth = 0; in FreeData()
105 mWidth = Width; in Allocate()
115 shifted_x = mWidth; in ResizePow2()
125 if ((shifted_x != mWidth) || (shifted_y != mHeight)) in ResizePow2()
149 for (i = 0; i < mWidth; i++) in Resize()
151 accumx = (float)width*i / (float)mWidth; in Resize()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/
H A DWebGLReadOutsideFramebufferTest.cpp27 for (int x = 0; x < mWidth; ++x) in fill()
31 mData[x + y * mWidth] = angle::GLColor(x + (y << 8) + (tag << 16)); in fill()
70 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, mWidth, mHeight, depth, 0, GL_RGBA, in toTexture3D()
93 for (int i = 0; i < mWidth; ++i) in readPixelRect()
97 angle::GLColor *dest = &mData[i + j * mWidth]; in readPixelRect()
108 if (0 <= x && x < mWidth && 0 <= y && y < mHeight) in getPixel()
110 *colorOut = mData[x + y * mWidth]; in getPixel()
118 ASSERT_EQ(mWidth, expected.mWidth); in compare()
121 for (int x = 0; x < mWidth; ++x) in compare()
125 ASSERT_EQ(expected.mData[x + y * mWidth], mData[x + y * mWidth]) in compare()
[all …]
/dports/emulators/emulationstation/EmulationStation-2.9.4/es-core/src/resources/
H A DTextureData.cpp16 mWidth(0), mHeight(0), mSourceWidth(0.0f), mSourceHeight(0.0f) in TextureData()
62 mWidth = (size_t)Math::round(mSourceWidth); in initSVGFromMemory()
65 if (mWidth == 0) in initSVGFromMemory()
76 unsigned char* dataRGBA = new unsigned char[mWidth * mHeight * 4]; in initSVGFromMemory()
79 … svgImage, 0, 0, mHeight / svgImage->height, dataRGBA, (int)mWidth, (int)mHeight, (int)mWidth * 4); in initSVGFromMemory()
82 ImageIO::flipPixelsVert(dataRGBA, mWidth, mHeight); in initSVGFromMemory()
124 mWidth = width; in initFromRGBA()
174 if ((mWidth == 0) || (mHeight == 0) || (mDataRGBA == nullptr)) in uploadAndBind()
202 if (mWidth == 0) in width()
204 return mWidth; in width()
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/core/raster/
H A Dqgsrasterblock.cpp37 , mWidth( width ) in QgsRasterBlock()
64 mWidth = 0; in reset()
97 mWidth = width; in reset()
134 return mWidth == 0 || mHeight == 0 || in isEmpty()
324 for ( int c = 0; c < mWidth; c++ ) in setIsNoDataExcept()
344 const int w = mWidth - right - 1; in setIsNoDataExcept()
369 for ( int c = 0; c < mWidth; c ++ ) in setIsNoDataExcept()
430 for ( int c = 0; c < mWidth; c ++ ) in setIsNoDataExcept()
453 const int w = mWidth - right - 1; in setIsNoDataExcept()
610 mWidth = mImage->width(); in setImage()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/raster/
H A Dqgsrasterblock.cpp37 , mWidth( width ) in QgsRasterBlock()
64 mWidth = 0; in reset()
97 mWidth = width; in reset()
134 return mWidth == 0 || mHeight == 0 || in isEmpty()
324 for ( int c = 0; c < mWidth; c++ ) in setIsNoDataExcept()
344 int w = mWidth - right - 1; in setIsNoDataExcept()
369 for ( int c = 0; c < mWidth; c ++ ) in setIsNoDataExcept()
430 for ( int c = 0; c < mWidth; c ++ ) in setIsNoDataExcept()
453 int w = mWidth - right - 1; in setIsNoDataExcept()
618 mWidth = mImage->width(); in setImage()
[all …]
H A Dqgsrasterblock.h275 int column = index % mWidth; in color()
313 if ( index >= static_cast< qgssize >( mWidth )*mHeight ) in isNoData()
330 int row = static_cast< int >( index ) / mWidth; in isNoData()
331 int column = index % mWidth; in isNoData()
458 int row = static_cast< int >( index ) / mWidth; in setIsNoData()
459 int column = index % mWidth; in setIsNoData()
517 int row = static_cast< int >( index ) / mWidth; in setIsData()
518 int column = index % mWidth; in setIsData()
643 int width() const SIP_HOLDGIL { return mWidth; } in width()
705 int mWidth = 0; variable
[all …]
/dports/multimedia/tstools/tstools-1.11/yuv2/src/com/aminocom/yuv2/
H A DBufferedImage.java109 if (mParentCanvas.mWidth == 0 || in convertImage()
120 long frameSize = (mParentCanvas.mWidth * in convertImage()
182 mYBuf = new byte[mParentCanvas.mWidth * array_height]; in convertImage()
204 (mParentCanvas.mWidth, mParentCanvas.mHeight, in convertImage()
211 int[] outgoingLine = new int[2*mParentCanvas.mWidth]; in convertImage()
219 Integer.toString(mParentCanvas.mWidth) + "x" + in convertImage()
224 int ypos = i * mParentCanvas.mWidth; in convertImage()
225 int uvpos = (i>>1)*(mParentCanvas.mWidth>>1); in convertImage()
227 for (int j=0;j<mParentCanvas.mWidth;++j) in convertImage()
270 outgoingLine[mParentCanvas.mWidth + j] in convertImage()
[all …]
/dports/audio/madronalib/madronalib-1.6-1016-g103895f/source/matrix/
H A DMLMatrix.cpp56 mWidth = other.mWidth; in Matrix()
115 mWidth = other.mWidth; in operator =()
130 mWidth = other.mWidth; in operator =()
161 mWidth = other->mWidth; in Matrix()
168 mWidth = other->mWidth; in Matrix()
496 if (mWidth != b.mWidth) return false; in operator ==()
714 mDataAligned[mWidth - 1] = km * pIn[mWidth - 2] + k * pIn[mWidth - 1]; in convolve3x1()
736 kmm * pIn[mWidth - 4] + km * pIn[mWidth - 3] + k * pIn[mWidth - 2] + kp * pIn[mWidth - 1]; in convolve5x1()
737 mDataAligned[mWidth - 1] = kmm * pIn[mWidth - 4] + km * pIn[mWidth - 3] + k * pIn[mWidth - 2]; in convolve5x1()
977 if (mWidth != b.mWidth) return -1.f; in rmsDiff()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/samples/gles1/
H A DDrawTexture.cpp62 glDrawTexiOES(mX, mY, 0, mWidth, mHeight); in draw()
63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight); in draw()
64 glDrawTexiOES(mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
70 if (mX + mWidth >= windowWidth) in draw()
80 ++mWidth; in draw()
82 if (mWidth >= windowWidth) in draw()
83 mWidth = 0; in draw()
97 GLint mWidth = 0; member in GLES1DrawTextureSample
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/samples/gles1/
H A DDrawTexture.cpp62 glDrawTexiOES(mX, mY, 0, mWidth, mHeight); in draw()
63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight); in draw()
64 glDrawTexiOES(mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
70 if (mX + mWidth >= windowWidth) in draw()
80 ++mWidth; in draw()
82 if (mWidth >= windowWidth) in draw()
83 mWidth = 0; in draw()
97 GLint mWidth = 0; member in GLES1DrawTextureSample
/dports/net/libksieve/libksieve-21.12.3/src/ksieveui/autocreatescripts/commonwidgets/
H A Dselectconvertparameterwidget.cpp48 mWidth->setValue(widthStr.toInt()); in setCode()
54 return QStringLiteral("[\"pix-x=%1\",\"pix-y=%2\"]").arg(mWidth->value()).arg(mHeight->value()); in code()
61 mWidth = new QSpinBox(this); in initialize()
62 mWidth->setSuffix(i18n(" px")); in initialize()
63 mWidth->setMinimum(1); in initialize()
64 mWidth->setMaximum(9999); in initialize()
65 mWidth->setValue(300); in initialize()
66 hbox->addWidget(mWidth); in initialize()
67 connect(mWidth, &QSpinBox::valueChanged, this, &SelectConvertParameterWidget::valueChanged); in initialize()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/canvas/gtest/
H A DTestImageBitmapColorUtils.cpp35 , mWidth(aWidth) in SimpleImage()
51 int mWidth; member in SimpleImage
459 i += mWidth * mChannelCount; in HSVData()
464 i += mWidth * mChannelCount; in HSVData()
482 i += mWidth * mChannelCount; in LabData()
487 i += mWidth * mChannelCount; in LabData()
512 for (int j = 0; j < srcData.mWidth; ++j) { in TEST()
535 for (int j = 0; j < srcData.mWidth; ++j) { in TEST()
558 for (int j = 0; j < srcData.mWidth; ++j) { in TEST()
585 for (int j = 0; j < srcData.mWidth; ++j) { in TEST()
[all …]
/dports/graphics/opencv/opencv-4.5.3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
H A DOnCameraFrameRender.java62 private int mWidth; field in ComparisonFrameRender
67 mWidth = width; in ComparisonFrameRender()
79 …undistortedFrame.colRange(new Range(0, mWidth / 2)).copyTo(comparisonFrame.colRange(new Range(mWid… in render()
81 final int shift = (int)(mWidth * 0.005); in render()
82 … border.add(new MatOfPoint(new Point(mWidth / 2 - shift, 0), new Point(mWidth / 2 + shift, 0), in render()
83 new Point(mWidth / 2 + shift, mHeight), new Point(mWidth / 2 - shift, mHeight))); in render()
86 …Imgproc.putText(comparisonFrame, mResources.getString(R.string.original), new Point(mWidth * 0.1, … in render()
88 …t(comparisonFrame, mResources.getString(R.string.undistorted), new Point(mWidth * 0.6, mHeight * 0… in render()
/dports/graphics/qgis/qgis-3.22.3/src/core/
H A Dqgsmaptopixel.cpp36 , mWidth( width ) in QgsMapToPixel()
41 , mXMin( xc - ( mWidth * mMapUnitsPerPixel / 2.0 ) ) in QgsMapToPixel()
51 , mWidth( 0 ) in QgsMapToPixel()
102 const double oldWidth = mWidth; in setMapRotation()
107 if ( mWidth < 0 ) in setMapRotation()
110 mWidth = ( ( mXCenter - mXMin ) * 2 ) / mMapUnitsPerPixel; in setMapRotation()
118 mWidth = oldWidth; in setMapRotation()
135 const double oldWidth = mWidth; in setParameters()
144 mWidth = width; in setParameters()
147 mXMin = xc - ( mWidth * mMapUnitsPerPixel / 2.0 ); in setParameters()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/canvas/
H A DWebGLObjectModel.h38 WebGLRectangleObject() : mWidth(0), mHeight(0) {} in WebGLRectangleObject()
41 : mWidth(width), mHeight(height) {} in WebGLRectangleObject()
43 GLsizei Width() const { return mWidth; } in Width()
44 void width(GLsizei value) { mWidth = value; } in width()
50 mWidth = width; in setDimensions()
56 mWidth = rect->Width(); in setDimensions()
59 mWidth = 0; in setDimensions()
69 GLsizei mWidth;
/dports/lang/spidermonkey78/firefox-78.9.0/dom/canvas/
H A DWebGLObjectModel.h38 WebGLRectangleObject() : mWidth(0), mHeight(0) {} in WebGLRectangleObject()
41 : mWidth(width), mHeight(height) {} in WebGLRectangleObject()
43 GLsizei Width() const { return mWidth; } in Width()
44 void width(GLsizei value) { mWidth = value; } in width()
50 mWidth = width; in setDimensions()
56 mWidth = rect->Width(); in setDimensions()
59 mWidth = 0; in setDimensions()
69 GLsizei mWidth;
/dports/www/firefox/firefox-99.0/dom/canvas/
H A DWebGLObjectModel.h38 WebGLRectangleObject() : mWidth(0), mHeight(0) {} in WebGLRectangleObject()
41 : mWidth(width), mHeight(height) {} in WebGLRectangleObject()
43 GLsizei Width() const { return mWidth; } in Width()
44 void width(GLsizei value) { mWidth = value; } in width()
50 mWidth = width; in setDimensions()
56 mWidth = rect->Width(); in setDimensions()
59 mWidth = 0; in setDimensions()
69 GLsizei mWidth;
/dports/mail/thunderbird/thunderbird-91.8.0/dom/canvas/
H A DWebGLObjectModel.h38 WebGLRectangleObject() : mWidth(0), mHeight(0) {} in WebGLRectangleObject()
41 : mWidth(width), mHeight(height) {} in WebGLRectangleObject()
43 GLsizei Width() const { return mWidth; } in Width()
44 void width(GLsizei value) { mWidth = value; } in width()
50 mWidth = width; in setDimensions()
56 mWidth = rect->Width(); in setDimensions()
59 mWidth = 0; in setDimensions()
69 GLsizei mWidth;
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/MDL/
H A DMDLMaterialLoader.cpp132 pcNew->mWidth = pcHeader->skinwidth; in CreateTextureARGB8_3DGS_MDL3()
135 if(pcNew->mWidth != 0 && pcNew->mHeight > UINT_MAX/pcNew->mWidth) { in CreateTextureARGB8_3DGS_MDL3()
185 pcNew->mWidth = pcHeader->skinwidth; in CreateTexture_3DGS_MDL4()
223 if(pcNew->mWidth != 0 && pcNew->mHeight > UINT_MAX/pcNew->mWidth) { in ParseTextureColorData()
247 i = pcNew->mWidth * pcNew->mHeight; in ParseTextureColorData()
381 pcNew->mWidth = *((uint32_t *)szData); in CreateTexture_3DGS_MDL5()
382 AI_SWAP4(pcNew->mWidth); in CreateTexture_3DGS_MDL5()
399 *piSkip = pcNew->mWidth; in CreateTexture_3DGS_MDL5()
469 pcNew->mWidth = iWidth; in ParseSkinLump_3DGS_MDL7()
521 pcNew->mWidth = iWidth; in ParseSkinLump_3DGS_MDL7()
[all …]

12345678910>>...85