Home
last modified time | relevance | path

Searched refs:scaledHeight (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DEglRenderer.java719 final int scaledHeight = (int) (listenerAndParams.scale * frame.getRotatedHeight()); in notifyCallbacks() local
721 if (scaledWidth == 0 || scaledHeight == 0) { in notifyCallbacks()
726 bitmapTextureFramebuffer.setSize(scaledWidth, scaledHeight); in notifyCallbacks()
735 0 /* viewportY */, scaledWidth, scaledHeight); in notifyCallbacks()
737 final ByteBuffer bitmapBuffer = ByteBuffer.allocateDirect(scaledWidth * scaledHeight * 4); in notifyCallbacks()
738 GLES20.glViewport(0, 0, scaledWidth, scaledHeight); in notifyCallbacks()
740 0, 0, scaledWidth, scaledHeight, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, bitmapBuffer); in notifyCallbacks()
745 final Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ARGB_8888); in notifyCallbacks()
DTextureBufferImpl.java181 int unscaledHeight, int scaledWidth, int scaledHeight) { in applyTransformMatrix() argument
185 return new TextureBufferImpl(unscaledWidth, unscaledHeight, scaledWidth, scaledHeight, type, id, in applyTransformMatrix()
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp40 FX_SAFE_INT32 scaledHeight = tempHeight; in RenderResult() local
42 scaledHeight *= moduleHSize; in RenderResult()
44 m_outputHeight = scaledHeight.ValueOrDie(); in RenderResult()
/external/skia/src/codec/
DSkWebpCodec.cpp434 int scaledHeight = subsetHeight; in onGetPixels() local
448 scaledHeight = scaleY * scaledHeight; in onGetPixels()
449 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
454 scaledHeight = dstInfo.height(); in onGetPixels()
458 config.options.scaled_height = scaledHeight; in onGetPixels()
508 rowsDecoded = scaledHeight; in onGetPixels()
/external/webrtc/sdk/objc/base/
DRTCVideoFrame.h64 scaledHeight:(int)scaledHeight
DRTCVideoFrame.mm55 scaledHeight:(int)scaledHeight
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmapFactory.java282 int scaledHeight = round(p.y * scale); in create() local
285 shadowBitmap.setHeight(scaledHeight); in create()
288 new BufferedImage(scaledWidth, scaledHeight, BufferedImage.TYPE_INT_ARGB); in create()
296 new int[scaledWidth * scaledHeight], 0, 0, 0, 0, scaledWidth, scaledHeight); in create()
/external/libjpeg-turbo/
Dtjunittest.c440 int scaledHeight = TJSCALED(h, sf); in _decompTest() local
448 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
454 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest()
469 pad, scaledHeight, flags)); in _decompTest()
470 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest()
478 scaledHeight, pf, flags)); in _decompTest()
487 scaledHeight, pf, flags)); in _decompTest()
490 if (checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
Dturbojpeg-jni.c786 int nc = 0, i, width, height, scaledWidth, scaledHeight, nsf = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
811 scaledHeight = TJSCALED(jpegHeight, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
812 if (scaledWidth <= width && scaledHeight <= height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
829 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/external/setupdesign/main/src/com/google/android/setupdesign/
DGlifPatternDrawable.java155 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale); in createBitmapCache() local
158 Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ALPHA_8); in createBitmapCache()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DLottieCompositionMoshiParser.java106 int scaledHeight = (int) (height * scale); in parse() local
107 Rect bounds = new Rect(0, 0, scaledWidth, scaledHeight); in parse()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DCameraVideoCapturerTestFixtures.java673 final int scaledHeight = startHeight / 2; in scaleCameraOutput() local
676 videoTrackWithRenderer.source.adaptOutputFormat(scaledWidth, scaledHeight, frameRate); in scaleCameraOutput()
686 && videoTrackWithRenderer.rendererCallbacks.frameHeight() == scaledHeight); in scaleCameraOutput()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeBitmapTest.java1416 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity); in testGetScaledHeight1() local
1418 assertEquals(scaledHeight, ret.getScaledHeight(dummyDensity)); in testGetScaledHeight1()
1425 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); in testGetScaledHeight2() local
1426 assertEquals(scaledHeight, ret.getScaledHeight(metrics)); in testGetScaledHeight2()
1436 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledHeight3() local
1437 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); in testGetScaledHeight3()
/external/webp/doc/
Dapi.md192 config.options.scaled_height = scaledHeight();