Home
last modified time | relevance | path

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

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java252 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/
DBC_TwoDimWriter.cpp104 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/
Dtjunittest.c460 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()
Dturbojpeg-jni.c726 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/
Dtjunittest.c278 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/
DTJUnitTest.java712 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/
DSkImageDecoder_ktx.cpp108 const int w = sampler.scaledWidth(); in onDecode()
112 const int w = sampler.scaledWidth(); in onDecode()
DSkScaledBitmapSampler.h21 int scaledWidth() const { return fScaledWidth; } in scaledWidth() function
DSkImageDecoder_pkm.cpp54 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
DSkImageDecoder_libbmp.cpp139 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
DSkImageDecoder_astc.cpp132 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), alphaType)); in onDecode()
DSkImageDecoder_libjpeg.cpp429 bool success = bm->setInfo(SkImageInfo::Make(smpl.scaledWidth(), smpl.scaledHeight(), in onDecode()
443 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
DSkImageDecoder_libgif.cpp326 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(),
DSkImageDecoder_libwebp.cpp300 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(), in onDecode()
DSkImageDecoder_libpng.cpp312 decodedBitmap->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java589 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/
DREADME591 config.options.scaled_width = scaledWidth();