/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 252 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth() local 254 scaledWidth = sf[i].getScaled(jpegWidth); in getScaledWidth() 256 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth() 259 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth() 261 return scaledWidth; in getScaledWidth() 294 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local 296 scaledWidth = sf[i].getScaled(jpegWidth); in getScaledHeight() 298 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight() 301 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight() 437 int scaledWidth = getScaledWidth(desiredWidth, desiredHeight); in decompress() local [all …]
|
/external/pdfium/xfa/src/fxbarcode/ |
D | BC_TwoDimWriter.cpp | 104 pdfium::base::CheckedNumeric<int32_t> scaledWidth = tempWidth; in RenderResult() local 106 scaledWidth *= moduleHSize; in RenderResult() 109 int32_t outputWidth = scaledWidth.ValueOrDie(); in RenderResult()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 460 int scaledWidth=TJSCALED(w, sf); in _decompTest() local 469 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf]; in _decompTest() 476 unsigned long yuvSize=tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() 489 _tj(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest() 491 if(checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 497 _tj(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 508 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 512 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
D | turbojpeg-jni.c | 726 int nc=0, i, width, height, scaledWidth, scaledHeight, nsf=0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 751 scaledWidth=TJSCALED(jpegWidth, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 753 if(scaledWidth<=width && scaledHeight<=height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 761 int planeSize=tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 763 int pw=tjPlaneWidth(i, scaledWidth, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
|
/external/libvncserver/test/ |
D | tjunittest.c | 278 int scaledWidth=TJSCALED(w, sf); in _decompTest() local 293 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf]; in _decompTest() 299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 303 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
/external/libjpeg-turbo/java/ |
D | TJUnitTest.java | 712 int scaledWidth = sf.getScaled(w); in decompTest() local 732 temp1 = scaledWidth; in decompTest() 736 if (temp1 != scaledWidth || temp2 != scaledHeight) in decompTest() 744 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() 746 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), scaledWidth, in decompTest() 763 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest() 765 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest() 777 (!bi && checkBuf(dstBuf, scaledWidth, in decompTest() 778 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
|
/external/skia/src/images/ |
D | SkImageDecoder_ktx.cpp | 108 const int w = sampler.scaledWidth(); in onDecode() 112 const int w = sampler.scaledWidth(); in onDecode()
|
D | SkScaledBitmapSampler.h | 21 int scaledWidth() const { return fScaledWidth; } in scaledWidth() function
|
D | SkImageDecoder_pkm.cpp | 54 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
|
D | SkImageDecoder_libbmp.cpp | 139 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
|
D | SkImageDecoder_astc.cpp | 132 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), alphaType)); in onDecode()
|
D | SkImageDecoder_libjpeg.cpp | 429 bool success = bm->setInfo(SkImageInfo::Make(smpl.scaledWidth(), smpl.scaledHeight(), in onDecode() 443 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
|
D | SkImageDecoder_libgif.cpp | 326 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(),
|
D | SkImageDecoder_libwebp.cpp | 300 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(), in onDecode()
|
D | SkImageDecoder_libpng.cpp | 312 decodedBitmap->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
|
/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 | 591 config.options.scaled_width = scaledWidth();
|