/third_party/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 …]
|
/third_party/flutter/skia/third_party/externals/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 …]
|
/third_party/skia/src/codec/ |
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()
|
/third_party/flutter/skia/src/codec/ |
D | SkWebpCodec.cpp | 422 int scaledWidth = subsetWidth; in onGetPixels() local 435 scaledWidth = scaleX * scaledWidth; in onGetPixels() 438 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels() 442 scaledWidth = dstInfo.width(); in onGetPixels() 446 config.options.scaled_width = scaledWidth; in onGetPixels() 525 tmp.allocPixels(dstInfo.makeWH(scaledWidth, 1)); in onGetPixels() 532 this->applyColorXform(xformDst, xformSrc, scaledWidth); in onGetPixels() 535 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels() 547 dstInfo.alphaType(), frame.has_alpha, scaledWidth); in onGetPixels()
|
/third_party/flutter/glfw/src/ |
D | wl_window.c | 102 int scaledWidth, scaledHeight; in checkScaleChange() local 123 scaledWidth = window->wl.width * scale; in checkScaleChange() 126 wl_egl_window_resize(window->wl.native, scaledWidth, scaledHeight, 0, 0); in checkScaleChange() 127 _glfwInputFramebufferSize(window, scaledWidth, scaledHeight); in checkScaleChange() 499 int scaledWidth = width * window->wl.scale; in _glfwPlatformSetWindowSize() local 503 wl_egl_window_resize(window->wl.native, scaledWidth, scaledHeight, 0, 0); in _glfwPlatformSetWindowSize() 505 _glfwInputFramebufferSize(window, scaledWidth, scaledHeight); in _glfwPlatformSetWindowSize()
|
/third_party/flutter/skia/third_party/externals/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 _tj(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, pad, in _decompTest() 454 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 460 _tj(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 469 _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()
|
/third_party/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()
|
/third_party/flutter/skia/third_party/externals/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()
|
/third_party/libjpeg-turbo/ |
D | tjunittest.c | 425 int scaledWidth = TJSCALED(w, sf); in _decompTest() local 434 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest() 440 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() 454 TRY_TJ(tjDecompressToYUV2(handle, jpegBuf, jpegSize, yuvBuf, scaledWidth, in _decompTest() 456 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest() 462 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 471 TRY_TJ(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 475 if (checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest()
|
D | turbojpeg-jni.c | 792 int nc = 0, i, width, height, scaledWidth, scaledHeight, nsf = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 816 scaledWidth = TJSCALED(jpegWidth, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 818 if (scaledWidth <= width && scaledHeight <= height) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 835 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 837 int pw = tjPlaneWidth(i, scaledWidth, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
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()
|
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()
|
/third_party/openGLES/extensions/IMG/ |
D | IMG_framebuffer_downsample.txt | 396 GLint scaledWidth = width / xDownscale; 403 glTexStorage2D(GL_TEXTURE_2D, 0, GL_RGBA4, scaledWidth, scaledHeight);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/IMG/ |
D | IMG_framebuffer_downsample.txt | 396 GLint scaledWidth = width / xDownscale; 403 glTexStorage2D(GL_TEXTURE_2D, 0, GL_RGBA4, scaledWidth, scaledHeight);
|
/third_party/flutter/skia/third_party/externals/libwebp/ |
D | README | 731 config.options.scaled_width = scaledWidth();
|
/third_party/skia/third_party/externals/libwebp/ |
D | README | 737 config.options.scaled_width = scaledWidth();
|