Home
last modified time | relevance | path

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

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java256 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth() local
259 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledWidth()
260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
297 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local
300 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledHeight()
301 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight()
304 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight()
306 return scaledHeight; in getScaledHeight()
446 int scaledHeight = getScaledHeight(desiredWidth, desiredHeight); in decompress() local
[all …]
/external/skia/src/codec/
DSkGifCodec.cpp324 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() local
346 auto fillInfo = dstInfo.makeWH(fSwizzler->fillWidth(), scaledHeight); in decodeFrame()
359 fRowsDecoded = scaledHeight; in decodeFrame()
373 if (fatalError || !frameDecoded || fRowsDecoded != scaledHeight) { in decodeFrame()
444 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() local
445 if (dstRow >= scaledHeight) { in haveDecodedRow()
455 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow()
456 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
DSkWebpCodec.cpp438 int scaledHeight = subsetHeight; in onGetPixels() local
452 scaledHeight = scaleY * scaledHeight; in onGetPixels()
453 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
458 scaledHeight = dstInfo.height(); in onGetPixels()
462 config.options.scaled_height = scaledHeight; in onGetPixels()
513 rowsDecoded = scaledHeight; in onGetPixels()
/external/skqp/src/codec/
DSkGifCodec.cpp324 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() local
346 auto fillInfo = dstInfo.makeWH(fSwizzler->fillWidth(), scaledHeight); in decodeFrame()
359 fRowsDecoded = scaledHeight; in decodeFrame()
373 if (fatalError || !frameDecoded || fRowsDecoded != scaledHeight) { in decodeFrame()
444 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() local
445 if (dstRow >= scaledHeight) { in haveDecodedRow()
455 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow()
456 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
DSkWebpCodec.cpp438 int scaledHeight = subsetHeight; in onGetPixels() local
452 scaledHeight = scaleY * scaledHeight; in onGetPixels()
453 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
458 scaledHeight = dstInfo.height(); in onGetPixels()
462 config.options.scaled_height = scaledHeight; in onGetPixels()
513 rowsDecoded = scaledHeight; in onGetPixels()
DSkWuffsCodec.cpp438 int scaledHeight = dstInfo().height(); in onIncrementalDecode() local
448 scaledHeight = get_scaled_dimension(dstInfo().height(), fSpySampler.sampleY()); in onIncrementalDecode()
461 auto fillInfo = dstInfo().makeWH(fSwizzler->fillWidth(), scaledHeight); in onIncrementalDecode()
484 *rowsDecoded = scaledHeight; in onIncrementalDecode()
531 if (dstY >= scaledHeight) { in onIncrementalDecode()
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp71 pdfium::base::CheckedNumeric<int32_t> scaledHeight = tempHeight; in RenderResult() local
73 scaledHeight *= moduleHSize; in RenderResult()
76 int32_t outputHeight = scaledHeight.ValueOrDie(); in RenderResult()
/external/libjpeg-turbo/
Dtjunittest.c424 int scaledHeight = TJSCALED(h, sf); in _decompTest() local
432 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
438 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest()
453 scaledHeight, flags)); in _decompTest()
454 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest()
461 scaledHeight, pf, flags)); in _decompTest()
470 scaledHeight, pf, flags)); in _decompTest()
473 if (checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
Dturbojpeg-jni.c757 int nc = 0, i, width, height, scaledWidth, scaledHeight, nsf = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
782 scaledHeight = TJSCALED(jpegHeight, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
783 if (scaledWidth <= width && scaledHeight <= height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
792 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
/external/libjpeg-turbo/java/
DTJUnitTest.java705 int scaledHeight = sf.getScaled(h); in decompTest() local
725 temp2 = scaledHeight; in decompTest()
728 if (temp1 != scaledWidth || temp2 != scaledHeight) in decompTest()
736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest()
739 scaledHeight, subsamp, sf) == 1) in decompTest()
755 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest()
757 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest()
770 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
/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/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java590 final int scaledHeight = startHeight / 2; in scaleCameraOutput() local
593 capturer.onOutputFormatRequest(scaledWidth, scaledHeight, frameRate); in scaleCameraOutput()
603 && renderer.frameHeight() == scaledHeight); in scaleCameraOutput()
/external/webp/
DREADME732 config.options.scaled_height = scaledHeight();