Home
last modified time | relevance | path

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

/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java256 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/
DTJDecompressor.java256 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/
DSkWebpCodec.cpp417 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/
DSkWebpCodec.cpp422 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/
Dwl_window.c102 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/
Dtjunittest.c423 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()
Dturbojpeg-jni.c757 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/
DTJUnitTest.java704 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/
DTJUnitTest.java704 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/
Dtjunittest.c425 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()
Dturbojpeg-jni.c792 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/
Dtjunittest.c439 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()
Dturbojpeg-jni.c786 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/
DIMG_framebuffer_downsample.txt396 GLint scaledWidth = width / xDownscale;
403 glTexStorage2D(GL_TEXTURE_2D, 0, GL_RGBA4, scaledWidth, scaledHeight);
/third_party/skia/third_party/externals/opengl-registry/extensions/IMG/
DIMG_framebuffer_downsample.txt396 GLint scaledWidth = width / xDownscale;
403 glTexStorage2D(GL_TEXTURE_2D, 0, GL_RGBA4, scaledWidth, scaledHeight);
/third_party/flutter/skia/third_party/externals/libwebp/
DREADME731 config.options.scaled_width = scaledWidth();
/third_party/skia/third_party/externals/libwebp/
DREADME737 config.options.scaled_width = scaledWidth();