Home
last modified time | relevance | path

Searched refs:scaledHeight (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
255 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledWidth()
256 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
259 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
294 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local
297 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledHeight()
298 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight()
301 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight()
303 return scaledHeight; in getScaledHeight()
438 int scaledHeight = getScaledHeight(desiredWidth, desiredHeight); in decompress() local
[all …]
/external/skia/src/images/
DSkImageDecoder_ktx.cpp109 const int h = sampler.scaledHeight(); in onDecode()
113 const int h = sampler.scaledHeight(); in onDecode()
148 const int dstHeight = sampler.scaledHeight(); in onDecode()
177 const int dstHeight = sampler.scaledHeight(); in onDecode()
196 const int dstHeight = sampler.scaledHeight(); in onDecode()
226 const int dstHeight = sampler.scaledHeight(); in onDecode()
DSkImageDecoder_pkm.cpp54 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
87 const int dstHeight = sampler.scaledHeight(); in onDecode()
DSkImageDecoder_libbmp.cpp139 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
157 const int dstHeight = sampler.scaledHeight(); in onDecode()
DSkImageDecoder_astc.cpp132 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), alphaType)); in onDecode()
162 const int dstHeight = sampler.scaledHeight(); in onDecode()
DSkScaledBitmapSampler.h22 int scaledHeight() const { return fScaledHeight; } in scaledHeight() function
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.cpp301 sampler.scaledHeight())) { in onDecode()
DSkImageDecoder_libpng.cpp312 decodedBitmap->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), in onDecode()
/external/pdfium/xfa/src/fxbarcode/
DBC_TwoDimWriter.cpp105 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/
Dtjunittest.c461 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()
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
752 scaledHeight=TJSCALED(jpegHeight, 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()
/external/libvncserver/test/
Dtjunittest.c279 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/
DTJUnitTest.java713 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/
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/
DREADME592 config.options.scaled_height = scaledHeight();