/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 256 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth() local 258 scaledWidth = sf[i].getScaled(jpegWidth); in getScaledWidth() 260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth() 263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth() 265 return scaledWidth; in getScaledWidth() 297 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local 299 scaledWidth = sf[i].getScaled(jpegWidth); in getScaledHeight() 301 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight() 304 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight() 445 int scaledWidth = getScaledWidth(desiredWidth, desiredHeight); in decompress() local [all …]
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 437 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/skqp/src/codec/ |
D | SkWebpCodec.cpp | 437 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/pdfium/fxbarcode/ |
D | BC_TwoDimWriter.cpp | 70 pdfium::base::CheckedNumeric<int32_t> scaledWidth = tempWidth; in RenderResult() local 72 scaledWidth *= moduleHSize; in RenderResult() 75 int32_t outputWidth = scaledWidth.ValueOrDie(); in RenderResult()
|
/external/libjpeg-turbo/java/ |
D | TJUnitTest.java | 704 int scaledWidth = sf.getScaled(w); in decompTest() local 724 temp1 = scaledWidth; in decompTest() 728 if (temp1 != scaledWidth || temp2 != scaledHeight) in decompTest() 736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() 738 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), scaledWidth, in decompTest() 755 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest() 757 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest() 769 (!bi && checkBuf(dstBuf, scaledWidth, in decompTest() 770 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 423 int scaledWidth = TJSCALED(w, sf); in _decompTest() local 432 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest() 438 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() 452 TRY_TJ(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest() 454 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 460 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 469 TRY_TJ(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 473 if (checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
D | turbojpeg-jni.c | 757 int nc = 0, i, width, height, scaledWidth, scaledHeight, nsf = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 781 scaledWidth = TJSCALED(jpegWidth, 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() 794 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/ |
D | GlifPatternDrawable.java | 154 int scaledWidth = (int) (VIEWBOX_WIDTH * 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/ |
D | VideoCapturerAndroidTestFixtures.java | 589 final int scaledWidth = startWidth / 2; in scaleCameraOutput() local 593 capturer.onOutputFormatRequest(scaledWidth, scaledHeight, frameRate); in scaleCameraOutput() 602 gotExpectedResolution = (renderer.frameWidth() == scaledWidth in scaleCameraOutput()
|
/external/webp/ |
D | README | 731 config.options.scaled_width = scaledWidth();
|