/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/ |
D | ImagePanel.java | 87 gg.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 90 …TexturePaint paint = new TexturePaint(background, new Rectangle(0, 0, background.getWidth(), backg… in paintComponent() 92 gg.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 97 float panelRatio = (float)getWidth() / (float)getHeight(); in paintComponent() 98 float imgRatio = (float)image.getWidth() / (float)image.getHeight(); in paintComponent() 101 float tw = (float)getWidth(); in paintComponent() 102 float th = (float)getWidth() / imgRatio; in paintComponent() 107 gg.drawImage(image, (int)((float)getWidth()/2 - tw/2), 0, (int) tw, (int) th, null); in paintComponent() 111 float panelRatio = (float)getWidth() / (float)getHeight(); in paintComponent() 115 int tw = getWidth(); in paintComponent() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapFactoryTest.java | 41 assertEquals(64, bitmap.getWidth()); in decodeResource_shouldSetDescriptionAndCreatedFrom() 72 assertEquals(100, bitmap.getWidth()); in decodeFile_shouldSetDescriptionAndCreatedFrom() 84 assertEquals(100, bitmap.getWidth()); in decodeStream_shouldSetDescriptionAndCreatedFrom() 86 …bitmap.getPixels(new int[bitmap.getHeight() * bitmap.getWidth()], 0, 0, 0, 0, bitmap.getWidth(), b… in decodeStream_shouldSetDescriptionAndCreatedFrom() 96 assertEquals(100, bitmap.getWidth()); in decodeBytes_shouldSetDescriptionAndCreatedFrom() 106 assertEquals(100, bitmap.getWidth()); in decodeStream_shouldSetDescriptionWithNullOptions() 116 assertEquals(123, bitmap.getWidth()); in decodeResource_shouldGetWidthAndHeightFromHints() 147 assertEquals(123, bitmap.getWidth()); in decodeFile_shouldGetWidthAndHeightFromHints() 168 assertEquals(123, bitmap.getWidth()); in decodeUri_shouldGetWidthAndHeightFromHints() 184 assertEquals(123, bitmap.getWidth()); in decodeFileDescriptor_shouldGetWidthAndHeightFromHints() [all …]
|
/external/deqp/framework/opengl/ |
D | gluPixelTransfer.cpp | 54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth()); in readPixels() 56 int width = dst.getWidth(); in readPixels() 73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage2D() 75 int width = src.getWidth(); in texImage2D() 91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage3D() 94 int width = src.getWidth(); in texImage3D() 112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage2D() 114 int width = src.getWidth(); in texSubImage2D() 130 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage3D() 133 int width = src.getWidth(); in texSubImage3D()
|
D | gluTexture.cpp | 97 …gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat… in upload() 133 …, m_refTexture (getUncompressedFormat(levels[0].getFormat()), levels[0].getWidth(), levels[0].get… in Texture2D() 180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 181 …gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* borde… in upload() 202 TCU_CHECK(level.getWidth() == refLevelAccess.getWidth() && in loadCompressed() 208 level.getWidth(), level.getHeight(), 0 /* border */, level.getDataSize(), level.getData()); in loadCompressed() 233 …w Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeigh… in create() 306 …gl.texStorage2D(GL_TEXTURE_2D, m_refTexture.getNumLevels(), m_format, m_refTexture.getWidth(), m_r… in upload() 313 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 314 …gl.texSubImage2D(GL_TEXTURE_2D, levelNdx, 0, 0, access.getWidth(), access.getHeight(), transferFo… in upload() [all …]
|
D | gluTextureTestUtil.cpp | 400 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in sampleTextureNonProjected() 401 int srcSize = src.getWidth(); in sampleTextureNonProjected() 410 for (int x = 0; x < dst.getWidth(); x++) in sampleTextureNonProjected() 413 float xf = ((float)x + 0.5f) / (float)dst.getWidth(); in sampleTextureNonProjected() 435 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in sampleTextureNonProjected() 436 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in sampleTextureNonProjected() 446 for (int x = 0; x < dst.getWidth(); x++) in sampleTextureNonProjected() 449 float xf = ((float)x + 0.5f) / (float)dst.getWidth(); in sampleTextureNonProjected() 471 float dstW = (float)dst.getWidth(); in sampleTextureProjected() 474 tcu::Vec4 uq = sq * (float)src.getWidth(); in sampleTextureProjected() [all …]
|
/external/llvm-project/mlir/lib/IR/ |
D | Types.cpp | 35 return intTy.getWidth() == width; in isInteger() 47 return intTy.isSignless() && intTy.getWidth() == width; in isSignlessInteger() 59 return intTy.isSigned() && intTy.getWidth() == width; in isSignedInteger() 71 return intTy.isUnsigned() && intTy.getWidth() == width; in isUnsignedInteger() 96 return intType.getWidth(); in getIntOrFloatBitWidth() 97 return cast<FloatType>().getWidth(); in getIntOrFloatBitWidth()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | TransformationUtils.java | 41 } else if (toCrop.getWidth() == width && toCrop.getHeight() == height) { in centerCrop() 48 if (toCrop.getWidth() * height > width * toCrop.getHeight()) { in centerCrop() 50 dx = (width - toCrop.getWidth() * scale) * 0.5f; in centerCrop() 52 scale = (float) width / (float) toCrop.getWidth(); in centerCrop() 87 if (toFit.getWidth() == width && toFit.getHeight() == height) { in fitCenter() 93 final float widthPercentage = width / (float) toFit.getWidth(); in fitCenter() 100 final int targetWidth = (int) (minPercentage * toFit.getWidth()); in fitCenter() 103 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) { in fitCenter() 120 Log.v(TAG, "toFit: " + toFit.getWidth() + "x" + toFit.getHeight()); in fitCenter() 121 Log.v(TAG, "toReuse: " + toReuse.getWidth() + "x" + toReuse.getHeight()); in fitCenter() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmap.java | 224 …t[shadowBitmap.getHeight() * shadowBitmap.getWidth()], 0, shadowBitmap.getWidth(), 0, 0, shadowBit… in createBitmap() 238 if (dstWidth == src.getWidth() && dstHeight == src.getHeight() && !filter) { in createScaledBitmap() 256 …xels(new int[shadowBitmap.getHeight() * shadowBitmap.getWidth()], 0, 0, 0, 0, shadowBitmap.getWidt… in createScaledBitmap() 262 if (x == 0 && y == 0 && width == src.getWidth() && height == src.getHeight()) { in createBitmap() 293 …if (x == 0 && y == 0 && width == src.getWidth() && height == src.getHeight() && (matrix == null ||… in createBitmap() 297 if (x + width > src.getWidth()) { in createBitmap() 365 return colors[y * getWidth() + x]; in getPixel() 380 colors = new int[getWidth() * getHeight()]; in setPixel() 382 colors[y * getWidth() + x] = color; in setPixel() 395 width != getWidth() || in getPixels() [all …]
|
/external/deqp/framework/common/ |
D | tcuFuzzyImageCompare.cpp | 126 int w = src.getWidth(); in bilinearSample() 164 DE_ASSERT(dst.getWidth() == src.getWidth() && dst.getHeight() == src.getHeight()); in separableConvolve() 166 TextureLevel tmp (dst.getFormat(), dst.getHeight(), dst.getWidth()); in separableConvolve() 176 for (int i = 0; i < src.getWidth(); i++) in separableConvolve() 183 deUint32 p = readUnorm8<SrcChannels>(src, de::clamp(i+kx-shiftX, 0, src.getWidth()-1), j); in separableConvolve() 195 for (int i = 0; i < src.getWidth(); i++) in separableConvolve() 202 deUint32 p = readUnorm8<DstChannels>(tmpAccess, de::clamp(j+ky-shiftY, 0, tmp.getWidth()-1), i); in separableConvolve() 239 if (!deInBounds32(dx, 0, surface.getWidth()) || !deInBounds32(dy, 0, surface.getHeight())) in distSquaredToNeighbor() 275 DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getHeight() == cmp.getHeight()); in fuzzyCompare() 276 DE_ASSERT(errorMask.getWidth() == ref.getWidth() && errorMask.getHeight() == ref.getHeight()); in fuzzyCompare() [all …]
|
D | tcuBilinearImageCompare.cpp | 93 DE_ASSERT(x1 < (deUint32)access.getWidth()); in bilinearSampleRGBA8() 122 const deUint32 x2 = (deUint32)de::min(x+1, reference.getWidth()-1); in comparePixelRGBA8() 179 if (!de::inBounds(u, 0, (reference.getWidth()-1)<<NUM_SUBPIXEL_BITS) || in comparePixelRGBA8() 203 for (int x = 0; x < reference.getWidth(); x++) in bilinearCompareRGBA8() 221 DE_ASSERT(reference.getWidth() == result.getWidth() && in bilinearCompare() 225 DE_ASSERT(reference.getWidth() == errorMask.getWidth() && in bilinearCompare()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Renderbuffer.cpp | 115 GLsizei RenderbufferTexture2D::getWidth() const in getWidth() function in es2::RenderbufferTexture2D 117 return mTexture2D->getWidth(GL_TEXTURE_2D, mLevel); in getWidth() 178 GLsizei RenderbufferTexture2DRect::getWidth() const in getWidth() function in es2::RenderbufferTexture2DRect 180 return mTexture2DRect->getWidth(GL_TEXTURE_RECTANGLE_ARB, 0); in getWidth() 241 GLsizei RenderbufferTexture3D::getWidth() const in getWidth() function in es2::RenderbufferTexture3D 243 return mTexture3D->getWidth(mTexture3D->getTarget(), mLevel); in getWidth() 309 GLsizei RenderbufferTextureCubeMap::getWidth() const in getWidth() function in es2::RenderbufferTextureCubeMap 311 return mTextureCubeMap->getWidth(mTarget, mLevel); in getWidth() 377 GLsizei Renderbuffer::getWidth() const in getWidth() function in es2::Renderbuffer 379 return mInstance->getWidth(); in getWidth() [all …]
|
D | Texture.cpp | 349 …image->loadImageData(0, 0, 0, image->getWidth(), image->getHeight(), depth, format, type, unpackPa… in setImage() 358 …image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), depth, imageSize, pixels… in setCompressedImage() 498 GLsizei Texture2D::getWidth(GLenum target, GLint level) const in getWidth() function in es2::Texture2D 501 return image[level] ? image[level]->getWidth() : 0; in getWidth() 646 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copyImage() 661 …if(xoffset + width > image[level]->getWidth() || yoffset + height > image[level]->getHeight() || z… in copySubImage() 677 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copySubImage() 709 GLsizei width = image[mBaseLevel]->getWidth(); in isBaseLevelDefined() 752 GLsizei width = image[mBaseLevel]->getWidth(); in isMipmapComplete() 772 if(image[level]->getWidth() != std::max(1, width >> i)) in isMipmapComplete() [all …]
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | StylizeActivity.java | 232 canvas.drawRect(0, 0, canvas.getWidth(), y, boxPaint); in onDraw() 236 canvas.drawLine(0, y, canvas.getWidth(), y, linePaint); in onDraw() 240 canvas.drawRect(0, 0, getWidth(), getHeight(), linePaint); in onDraw() 367 previewWidth = size.getWidth(); in onPreviewSizeChosen() 535 bitmap.getPixels(intValues, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in stylizeImage() 539 final int centerX = (frameNum + bitmap.getWidth() / 2) % bitmap.getWidth(); in stylizeImage() 543 final int x = i % bitmap.getWidth(); in stylizeImage() 561 LOGGER.i("Width: %s , Height: %s", bitmap.getWidth(), bitmap.getHeight()); in stylizeImage() 563 INPUT_NODE, floatValues, 1, bitmap.getWidth(), bitmap.getHeight(), 3); in stylizeImage() 577 bitmap.setPixels(intValues, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in stylizeImage() [all …]
|
D | CameraConnectionFragment.java | 282 if (option.getHeight() >= minSize && option.getWidth() >= minSize) { in chooseOptimalSize() 301 LOGGER.i("Chosen size: " + chosenSize.getWidth() + "x" + chosenSize.getHeight()); in chooseOptimalSize() 343 openCamera(textureView.getWidth(), textureView.getHeight()); in onResume() 385 inputSize.getWidth(), in setUpCameraOutputs() 391 textureView.setAspectRatio(previewSize.getWidth(), previewSize.getHeight()); in setUpCameraOutputs() 393 textureView.setAspectRatio(previewSize.getHeight(), previewSize.getWidth()); in setUpCameraOutputs() 502 texture.setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in createCameraPreviewSession() 511 LOGGER.i("Opening camera preview: " + previewSize.getWidth() + "x" + previewSize.getHeight()); in createCameraPreviewSession() 516 previewSize.getWidth(), previewSize.getHeight(), ImageFormat.YUV_420_888, 2); in createCameraPreviewSession() 580 final RectF bufferRect = new RectF(0, 0, previewSize.getHeight(), previewSize.getWidth()); in configureTransform() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrMultisamplePixelBufferAccess.cpp | 55 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess() 95 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess() 117 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleColorBuffer() 130 for (int x = 0; x < dst.getWidth(); x++) in resolveMultisampleColorBuffer() 133 for (int s = 0; s < src.raw().getWidth(); s++) in resolveMultisampleColorBuffer() 143 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleDepthBuffer() 159 for (int x = 0; x < dst.getWidth(); x++) in resolveMultisampleDepthBuffer() 172 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleStencilBuffer() 187 for (int x = 0; x < dst.getWidth(); x++) in resolveMultisampleStencilBuffer()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ApproximateWidth.java | 9 public static Integer getWidth(int cp) { in getWidth() method in ApproximateWidth 17 public static int getWidth(CharSequence s) { in getWidth() method in ApproximateWidth 22 result += getWidth(cp); in getWidth() 50 System.out.println(arg + ":\t" + getWidth(arg)); in main()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | HudSystem.java | 281 if (mFuelBackgroundDrawable.getWidth() == 0) { in update() 321 if (bitmap.getWidth() == 0) { in update() 339 if (bitmap.getWidth() == 0) { in update() 353 if (mMovementSliderBaseDrawable.getWidth() == 0) { in update() 359 if (mMovementSliderButtonDrawable.getWidth() == 0) { in update() 365 if (mMovementSliderButtonDepressedDrawable.getWidth() == 0) { in update() 384 if (mCoinDrawable.getWidth() == 0) { in update() 397 final float offset = mCoinDrawable.getWidth() * 0.75f; in update() 404 if (mRubyDrawable.getWidth() == 0) { in update() 416 final float offset = mRubyDrawable.getWidth() * 0.75f; in update() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 145 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 147 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() 232 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate() 237 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 245 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate() 247 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 248 float xh = ((float)(x - half) + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate() 294 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 296 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() 378 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate() [all …]
|
D | es2fShaderBuiltinVarTests.cpp | 282 const int width = m_context.getRenderTarget().getWidth(); in iterate() 335 for (int x = 0; x < refImg.getWidth(); x++) in iterate() 337 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate() 376 const int width = m_context.getRenderTarget().getWidth(); in iterate() 427 for (int x = 0; x < refImg.getWidth(); x++) in iterate() 429 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate() 463 const int width = de::min(256, m_context.getRenderTarget().getWidth()); in iterate() 514 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() 551 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) in iterate() 585 const int width = de::min(64, m_context.getRenderTarget().getWidth()); in iterate() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragDepthTests.cpp | 129 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 131 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() 239 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate() 244 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 252 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate() 254 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 255 float xh = ((float)(x - half) + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate() 300 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 302 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() 404 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate() [all …]
|
D | es3fDitheringTests.cpp | 251 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient() 253 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient() 293 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckGradient() 295 … : x) + 0.5f) / (float)(isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth()); in drawAndCheckGradient() 297 …const bool increaseTol = ((renderedImg.getWidth() < 300) || (renderedImg.getHeigh… in drawAndCheckGradient() 325 …ncreasingDirectionSize = isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth(); in drawAndCheckGradient() 326 …const int constantDirectionSize = isVerticallyIncreasing ? renderedImg.getWidth() : renderedImg.ge… in drawAndCheckGradient() 369 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad() 371 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad() 407 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckUnicoloredQuad() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Framebuffer.cpp | 250 if(colorbuffer->getWidth() == 0 || colorbuffer->getHeight() == 0) in completeness() 282 width = colorbuffer->getWidth(); in completeness() 299 if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0) in completeness() 326 width = depthbuffer->getWidth(); in completeness() 330 else if(width != depthbuffer->getWidth() || height != depthbuffer->getHeight()) in completeness() 349 if(stencilbuffer->getWidth() == 0 || stencilbuffer->getHeight() == 0) in completeness() 378 width = stencilbuffer->getWidth(); in completeness() 382 else if(width != stencilbuffer->getWidth() || height != stencilbuffer->getHeight()) in completeness()
|
D | Renderbuffer.cpp | 115 GLsizei RenderbufferTexture2D::getWidth() const in getWidth() function in es1::RenderbufferTexture2D 117 return mTexture2D->getWidth(GL_TEXTURE_2D, 0); in getWidth() 183 GLsizei Renderbuffer::getWidth() const in getWidth() function in es1::Renderbuffer 185 return mInstance->getWidth(); in getWidth() 263 GLsizei RenderbufferStorage::getWidth() const in getWidth() function in es1::RenderbufferStorage 289 mWidth = renderTarget->getWidth(); in Colorbuffer() 367 mWidth = depthStencil->getWidth(); in DepthStencilbuffer()
|
/external/connectedappssdk/processor/src/main/resources/parcelablewrappers/ |
D | ParcelableBitmap.java | 64 int width = bitmap.getWidth(); in writeToParcel() 97 int[] pixels = new int[bitmap.getHeight() * bitmap.getWidth()]; in bitmapToPixelArray() 98 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in bitmapToPixelArray()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcFragDepthTests.cpp | 146 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 148 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate() 237 …nt half = de::clamp((int)((float)referenceFrame.getWidth() * 0.5f + 0.5f), 0, referenceFrame.get… in iterate() 242 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 250 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate() 252 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 253 float xh = ((float)x - (float)half + 0.5f) / (float)(referenceFrame.getWidth() - half); in iterate() 299 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 301 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate() 389 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate() [all …]
|