/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 254 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth() local 257 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledWidth() 258 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth() 261 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth() 295 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local 298 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledHeight() 299 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight() 302 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight() 304 return scaledHeight; in getScaledHeight() 439 int scaledHeight = getScaledHeight(desiredWidth, desiredHeight); in decompress() local [all …]
|
/external/skia/src/core/ |
D | SkBitmapCache.cpp | 59 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkBitmap& bm, int scaledWidth, int scaledHeight) { in Make() argument 61 SkASSERT(scaledWidth > 0 && scaledHeight > 0); in Make() 62 SkASSERT(scaledWidth != bm.width() || scaledHeight != bm.height()); in Make() 64 return { bm.getGenerationID(), scaledWidth, scaledHeight, get_bounds_from_bitmap(bm) }; in Make() 74 SkBitmapCacheDesc SkBitmapCacheDesc::Make(const SkImage* image, int scaledWidth, int scaledHeight) { in Make() argument 76 SkASSERT(scaledWidth > 0 && scaledHeight > 0); in Make() 81 return { image->uniqueID(), scaledWidth, scaledHeight, get_bounds_from_image(image) }; in Make()
|
D | SkBitmapCache.h | 36 static SkBitmapCacheDesc Make(const SkBitmap&, int scaledWidth, int scaledHeight); 38 static SkBitmapCacheDesc Make(const SkImage*, int scaledWidth, int scaledHeight);
|
/external/skia/src/codec/ |
D | SkGifCodec.cpp | 364 const int scaledHeight = get_scaled_dimension(dstInfo.height(), in decodeFrame() local 366 auto fillInfo = dstInfo.makeWH(0, scaledHeight); in decodeFrame() 458 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() local 459 if (dstRow >= scaledHeight) { in haveDecodedRow() 469 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow() 470 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
|
D | SkWebpCodec.cpp | 483 int scaledHeight = subsetHeight; in onGetPixels() local 497 scaledHeight = scaleY * scaledHeight; in onGetPixels() 498 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels() 503 scaledHeight = dstInfo.height(); in onGetPixels() 507 config.options.scaled_height = scaledHeight; in onGetPixels() 565 rowsDecoded = scaledHeight; in onGetPixels()
|
/external/pdfium/xfa/fxbarcode/ |
D | BC_TwoDimWriter.cpp | 105 pdfium::base::CheckedNumeric<int32_t> scaledHeight = tempHeight; in RenderResult() local 107 scaledHeight *= moduleHSize; in RenderResult() 110 int32_t outputHeight = scaledHeight.ValueOrDie(); in RenderResult()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 461 int scaledHeight=TJSCALED(h, sf); in _decompTest() local 469 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf]; in _decompTest() 476 unsigned long yuvSize=tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() 490 pad, scaledHeight, flags)); in _decompTest() 491 if(checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 498 scaledHeight, pf, flags)); in _decompTest() 509 scaledHeight, pf, flags)); in _decompTest() 512 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
D | turbojpeg-jni.c | 731 int nc=0, i, width, height, scaledWidth, scaledHeight, nsf=0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 757 scaledHeight=TJSCALED(jpegHeight, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 758 if(scaledWidth<=width && scaledHeight<=height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 768 int planeSize=tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
|
/external/libvncserver/test/ |
D | tjunittest.c | 279 int scaledHeight=TJSCALED(h, sf); in _decompTest() local 293 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf]; in _decompTest() 300 scaledHeight, pf, flags)); in _decompTest() 303 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
/external/libjpeg-turbo/java/ |
D | TJUnitTest.java | 713 int scaledHeight = sf.getScaled(h); in decompTest() local 733 temp2 = scaledHeight; in decompTest() 736 if (temp1 != scaledWidth || temp2 != scaledHeight) in decompTest() 744 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() 747 scaledHeight, subsamp, sf) == 1) in decompTest() 763 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest() 765 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest() 778 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | VideoCapturerAndroidTestFixtures.java | 590 final int scaledHeight = startHeight / 2; in scaleCameraOutput() local 593 capturer.onOutputFormatRequest(scaledWidth, scaledHeight, frameRate); in scaleCameraOutput() 603 && renderer.frameHeight() == scaledHeight); in scaleCameraOutput()
|
/external/webp/ |
D | README | 693 config.options.scaled_height = scaledHeight();
|