Home
last modified time | relevance | path

Searched refs:scaledWidth (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/codec/
DSkWebpCodec.cpp417 int scaledWidth = subsetWidth; in onGetPixels() local
430 scaledWidth = scaleX * scaledWidth; in onGetPixels()
433 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
437 scaledWidth = dstInfo.width(); in onGetPixels()
441 config.options.scaled_width = scaledWidth; in onGetPixels()
519 tmp.allocPixels(dstInfo.makeWH(scaledWidth, 1)); in onGetPixels()
526 this->applyColorXform(xformDst, xformSrc, scaledWidth); in onGetPixels()
529 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels()
541 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels()
/external/skqp/src/codec/
DSkWebpCodec.cpp437 int scaledWidth = subsetWidth; in onGetPixels() local
450 scaledWidth = scaleX * scaledWidth; in onGetPixels()
453 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
457 scaledWidth = dstInfo.width(); in onGetPixels()
461 config.options.scaled_width = scaledWidth; in onGetPixels()
540 tmp.allocPixels(dstInfo.makeWH(scaledWidth, 1)); in onGetPixels()
547 this->applyColorXform(xformDst, xformSrc, scaledWidth); in onGetPixels()
550 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels()
562 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels()
/external/webrtc/sdk/android/api/org/webrtc/
DEglRenderer.java718 final int scaledWidth = (int) (listenerAndParams.scale * frame.getRotatedWidth()); 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.java180 int unscaledHeight, int scaledWidth, int scaledHeight) { in applyTransformMatrix() argument
184 return new TextureBufferImpl(unscaledWidth, unscaledHeight, scaledWidth, scaledHeight, type, id, in applyTransformMatrix()
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp38 FX_SAFE_INT32 scaledWidth = tempWidth; in RenderResult() local
40 scaledWidth *= moduleHSize; in RenderResult()
42 m_outputWidth = scaledWidth.ValueOrDie(); in RenderResult()
/external/webrtc/sdk/objc/base/
DRTCVideoFrame.h63 scaledWidth:(int)scaledWidth
DRTCVideoFrame.mm54 scaledWidth:(int)scaledWidth
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DLottieCompositionParser.java91 int scaledWidth = (int) (width * scale); in parse() local
93 Rect bounds = new Rect(0, 0, scaledWidth, scaledHeight); in parse()
DLottieCompositionMoshiParser.java106 int scaledWidth = (int) (width * scale); in parse() local
108 Rect bounds = new Rect(0, 0, scaledWidth, scaledHeight); in parse()
/external/libjpeg-turbo/
Dtjunittest.c439 int scaledWidth = TJSCALED(w, sf); in _decompTest() local
448 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
454 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest()
468 TRY_TJ(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest()
470 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest()
477 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest()
486 TRY_TJ(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, 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
810 scaledWidth = TJSCALED(jpegWidth, 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()
831 int pw = tjPlaneWidth(i, scaledWidth, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/external/setupdesign/main/src/com/google/android/setupdesign/
DGlifPatternDrawable.java154 int scaledWidth = (int) (VIEWBOX_WIDTH * scale); in createBitmapCache() local
158 Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ALPHA_8); in createBitmapCache()
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java314 int scaledWidth = Math.round(width * pixelWidthHeightRatio); in onVideoSizeChanged() local
315 getCallback().onVideoSizeChanged(LeanbackPlayerAdapter.this, scaledWidth, height); in onVideoSizeChanged()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DCameraVideoCapturerTestFixtures.java672 final int scaledWidth = startWidth / 2; in scaleCameraOutput() local
676 videoTrackWithRenderer.source.adaptOutputFormat(scaledWidth, scaledHeight, frameRate); in scaleCameraOutput()
685 gotExpectedResolution = (videoTrackWithRenderer.rendererCallbacks.frameWidth() == scaledWidth in scaleCameraOutput()
/external/webp/
DREADME737 config.options.scaled_width = scaledWidth();