Home
last modified time | relevance | path

Searched refs:scaledHeight (Results 1 – 19 of 19) sorted by relevance

/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java256 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth() local
259 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledWidth()
260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
297 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local
300 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledHeight()
301 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight()
304 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight()
306 return scaledHeight; in getScaledHeight()
446 int scaledHeight = getScaledHeight(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
259 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledWidth()
260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth()
263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth()
297 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight() local
300 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledHeight()
301 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledHeight()
304 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledHeight()
306 return scaledHeight; in getScaledHeight()
446 int scaledHeight = getScaledHeight(desiredWidth, desiredHeight); in decompress() local
[all …]
/third_party/skia/third_party/externals/libgifcodec/
DSkLibGifCodec.cpp329 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() local
351 auto fillInfo = dstInfo.makeWH(fSwizzler->fillWidth(), scaledHeight); in decodeFrame()
364 fRowsDecoded = scaledHeight; in decodeFrame()
378 if (fatalError || !frameDecoded || fRowsDecoded != scaledHeight) { in decodeFrame()
449 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() local
450 if (dstRow >= scaledHeight) { in haveDecodedRow()
460 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow()
461 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
/third_party/flutter/skia/src/codec/
DSkGifCodec.cpp324 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() local
346 auto fillInfo = dstInfo.makeWH(fSwizzler->fillWidth(), scaledHeight); in decodeFrame()
359 fRowsDecoded = scaledHeight; in decodeFrame()
373 if (fatalError || !frameDecoded || fRowsDecoded != scaledHeight) { in decodeFrame()
444 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() local
445 if (dstRow >= scaledHeight) { in haveDecodedRow()
455 if (dstRow + repeatCount > scaledHeight) { in haveDecodedRow()
456 repeatCount = scaledHeight - dstRow; in haveDecodedRow()
DSkWebpCodec.cpp423 int scaledHeight = subsetHeight; in onGetPixels() local
437 scaledHeight = scaleY * scaledHeight; in onGetPixels()
438 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
443 scaledHeight = dstInfo.height(); in onGetPixels()
447 config.options.scaled_height = scaledHeight; in onGetPixels()
498 rowsDecoded = scaledHeight; in onGetPixels()
/third_party/skia/src/codec/
DSkWebpCodec.cpp418 int scaledHeight = subsetHeight; in onGetPixels() local
432 scaledHeight = scaleY * scaledHeight; in onGetPixels()
433 if (0 == scaledWidth || 0 == scaledHeight) { in onGetPixels()
438 scaledHeight = dstInfo.height(); in onGetPixels()
442 config.options.scaled_height = scaledHeight; in onGetPixels()
492 rowsDecoded = scaledHeight; in onGetPixels()
/third_party/flutter/glfw/src/
Dwl_window.c102 int scaledWidth, scaledHeight; in checkScaleChange() local
124 scaledHeight = window->wl.height * scale; in checkScaleChange()
126 wl_egl_window_resize(window->wl.native, scaledWidth, scaledHeight, 0, 0); in checkScaleChange()
127 _glfwInputFramebufferSize(window, scaledWidth, scaledHeight); in checkScaleChange()
500 int scaledHeight = height * 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.c424 int scaledHeight = TJSCALED(h, sf); in _decompTest() local
432 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
438 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest()
453 scaledHeight, flags)); in _decompTest()
454 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest()
461 scaledHeight, pf, flags)); in _decompTest()
470 scaledHeight, pf, flags)); 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
782 scaledHeight = TJSCALED(jpegHeight, 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()
/third_party/libjpeg-turbo/
Dtjunittest.c426 int scaledHeight = TJSCALED(h, sf); in _decompTest() local
434 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
440 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest()
455 pad, scaledHeight, flags)); in _decompTest()
456 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest()
463 scaledHeight, pf, flags)); in _decompTest()
472 scaledHeight, pf, flags)); 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
817 scaledHeight = TJSCALED(jpegHeight, 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()
/third_party/libjpeg-turbo/java/
DTJUnitTest.java705 int scaledHeight = sf.getScaled(h); in decompTest() local
725 temp2 = scaledHeight; in decompTest()
728 if (temp1 != scaledWidth || temp2 != scaledHeight) in decompTest()
736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest()
739 scaledHeight, subsamp, sf) == 1) in decompTest()
755 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest()
757 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest()
770 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dtjunittest.c440 int scaledHeight = TJSCALED(h, sf); in _decompTest() local
448 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
454 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest()
469 pad, scaledHeight, flags)); in _decompTest()
470 if (checkBufYUV(yuvBuf, scaledWidth, scaledHeight, subsamp, sf)) in _decompTest()
478 scaledHeight, pf, flags)); in _decompTest()
487 scaledHeight, pf, flags)); 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
811 scaledHeight = TJSCALED(jpegHeight, 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()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/
DTJUnitTest.java705 int scaledHeight = sf.getScaled(h); in decompTest() local
725 temp2 = scaledHeight; in decompTest()
728 if (temp1 != scaledWidth || temp2 != scaledHeight) in decompTest()
736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest()
739 scaledHeight, subsamp, sf) == 1) in decompTest()
755 img = tjd.decompress(scaledWidth, scaledHeight, imgType, flags); in decompTest()
757 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest()
770 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
/third_party/openGLES/extensions/IMG/
DIMG_framebuffer_downsample.txt397 GLint scaledHeight = height / yDownscale;
403 glTexStorage2D(GL_TEXTURE_2D, 0, GL_RGBA4, scaledWidth, scaledHeight);
/third_party/skia/third_party/externals/opengl-registry/extensions/IMG/
DIMG_framebuffer_downsample.txt397 GLint scaledHeight = height / yDownscale;
403 glTexStorage2D(GL_TEXTURE_2D, 0, GL_RGBA4, scaledWidth, scaledHeight);
/third_party/flutter/skia/third_party/externals/libwebp/
DREADME732 config.options.scaled_height = scaledHeight();
/third_party/skia/third_party/externals/libwebp/
DREADME738 config.options.scaled_height = scaledHeight();