Searched refs:scaledWidth (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/src/codec/ |
H A D | SkWebpCodec.cpp | 417 int scaledWidth = subsetWidth; in onGetPixels() local 430 scaledWidth = scaleX * scaledWidth; in onGetPixels() 433 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels() 437 scaledWidth = dstInfo.width(); in onGetPixels() 441 config.options.scaled_width = scaledWidth; in onGetPixels() 519 tmp.allocPixels(dstInfo.makeWH(scaledWidth, 1)); in onGetPixels() 526 this->applyColorXform(xformDst, xformSrc, scaledWidth); in onGetPixels() 529 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels() 541 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | tjunittest.c | 439 int scaledWidth = TJSCALED(w, sf); in _decompTest() local 448 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest() 454 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() 468 TRY_TJ(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest() 470 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 477 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 486 TRY_TJ(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 490 if (checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
H A D | turbojpeg-jni.c | 786 int nc = 0, i, width, height, scaledWidth, scaledHeight, nsf = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 810 scaledWidth = TJSCALED(jpegWidth, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 812 if (scaledWidth <= width && scaledHeight <= height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 829 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 831 int pw = tjPlaneWidth(i, scaledWidth, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
|
Completed in 5 milliseconds