/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 86 public TJDecompressor(YUVImage yuvImage) throws TJException { in TJDecompressor() argument 88 setSourceImage(yuvImage); in TJDecompressor() 107 yuvImage = null; in setSourceImage() 131 yuvImage = srcImage; in setSourceImage() 145 if (yuvImage != null) in getWidth() 146 return yuvImage.getWidth(); in getWidth() 160 if (yuvImage != null) in getHeight() 161 return yuvImage.getHeight(); in getHeight() 176 if (yuvImage != null) in getSubsamp() 177 return yuvImage.getSubsamp(); in getSubsamp() [all …]
|
D | YUVImage.java | 173 public YUVImage(byte[] yuvImage, int width, int pad, int height, in YUVImage() argument 175 setBuf(yuvImage, width, pad, height, subsamp); in YUVImage() 285 public void setBuf(byte[] yuvImage, int width, int pad, int height, in setBuf() argument 287 if (yuvImage == null || width < 1 || pad < 1 || ((pad & (pad - 1)) != 0) || in setBuf() 290 if (yuvImage.length < TJ.bufSizeYUV(width, pad, height, subsamp)) in setBuf() 298 planes[0] = yuvImage; in setBuf() 302 planes[1] = planes[2] = yuvImage; in setBuf()
|
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 86 public TJDecompressor(YUVImage yuvImage) throws TJException { in TJDecompressor() argument 88 setSourceImage(yuvImage); in TJDecompressor() 107 yuvImage = null; in setSourceImage() 131 yuvImage = srcImage; in setSourceImage() 145 if (yuvImage != null) in getWidth() 146 return yuvImage.getWidth(); in getWidth() 160 if (yuvImage != null) in getHeight() 161 return yuvImage.getHeight(); in getHeight() 176 if (yuvImage != null) in getSubsamp() 177 return yuvImage.getSubsamp(); in getSubsamp() [all …]
|
D | YUVImage.java | 173 public YUVImage(byte[] yuvImage, int width, int pad, int height, in YUVImage() argument 175 setBuf(yuvImage, width, pad, height, subsamp); in YUVImage() 285 public void setBuf(byte[] yuvImage, int width, int pad, int height, in setBuf() argument 287 if (yuvImage == null || width < 1 || pad < 1 || ((pad & (pad - 1)) != 0) || in setBuf() 290 if (yuvImage.length < TJ.bufSizeYUV(width, pad, height, subsamp)) in setBuf() 298 planes[0] = yuvImage; in setBuf() 302 planes[1] = planes[2] = yuvImage; in setBuf()
|
/third_party/libjpeg-turbo/java/ |
D | TJBench.java | 173 YUVImage yuvImage = null; in decomp() local 194 yuvImage = new YUVImage(width, yuvPad, height, subsamp); in decomp() 195 Arrays.fill(yuvImage.getBuf(), (byte)127); in decomp() 214 yuvImage.setBuf(yuvImage.getBuf(), width, yuvPad, height, subsamp); in decomp() 216 tjd.decompressToYUV(yuvImage, flags); in decomp() 219 tjd.setSourceImage(yuvImage); in decomp() 337 YUVImage yuvImage = null; in fullTest() local 374 yuvImage = new YUVImage(tilew, yuvPad, tileh, subsamp); in fullTest() 375 Arrays.fill(yuvImage.getBuf(), (byte)127); in fullTest() 395 yuvImage.setBuf(yuvImage.getBuf(), width, yuvPad, height, in fullTest() [all …]
|
D | TJUnitTest.java | 671 YUVImage yuvImage = tjc.encodeYUV(pad, flags); in compTest() local 672 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), w, h, subsamp, in compTest() 682 tjc.setSourceImage(yuvImage); in compTest() 736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() local 738 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), scaledWidth, in decompTest() 747 tjd.setSourceImage(yuvImage); in decompTest()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJBench.java | 171 YUVImage yuvImage = null; in decomp() local 189 yuvImage = new YUVImage(width, yuvPad, height, subsamp); in decomp() 190 Arrays.fill(yuvImage.getBuf(), (byte)127); in decomp() 207 yuvImage.setBuf(yuvImage.getBuf(), width, yuvPad, height, subsamp); in decomp() 209 tjd.decompressToYUV(yuvImage, flags); in decomp() 212 tjd.setSourceImage(yuvImage); in decomp() 330 YUVImage yuvImage = null; in fullTest() local 365 yuvImage = new YUVImage(tilew, yuvPad, tileh, subsamp); in fullTest() 366 Arrays.fill(yuvImage.getBuf(), (byte)127); in fullTest() 386 yuvImage.setBuf(yuvImage.getBuf(), width, yuvPad, height, in fullTest() [all …]
|
D | TJUnitTest.java | 671 YUVImage yuvImage = tjc.encodeYUV(pad, flags); in compTest() local 672 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), w, h, subsamp, in compTest() 682 tjc.setSourceImage(yuvImage); in compTest() 736 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() local 738 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), scaledWidth, in decompTest() 747 tjd.setSourceImage(yuvImage); in decompTest()
|
/third_party/flutter/skia/src/gpu/ |
D | GrYUVProvider.cpp | 149 sk_sp<SkImage> yuvImage = SkImage::MakeFromRaster(pixmap, YUVGen_DataReleaseProc, in refAsTextureProxy() local 154 proxyProvider->createTextureProxy(yuvImage, 1, SkBudgeted::kYes, fit); in refAsTextureProxy()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ImageTest.cpp | 2079 EGLImageKHR yuvImage; in TEST_P() local 2082 {{dataY, 1}, {dataCb, 1}, {dataCr, 1}}, &yuvSource, &yuvImage); in TEST_P() 2093 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, yuvImage); in TEST_P() 2103 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, yuvImage); in TEST_P() 2108 eglDestroyImageKHR(window->getDisplay(), yuvImage); in TEST_P() 2149 EGLImageKHR yuvImage; in TEST_P() local 2152 {{dataY, 1}, {dataCb, 1}, {dataCr, 1}}, &yuvSource, &yuvImage); in TEST_P() 2162 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, yuvImage); in TEST_P() 2192 eglDestroyImageKHR(window->getDisplay(), yuvImage); in TEST_P() 3010 EGLImageKHR yuvImage; in TEST_P() local [all …]
|
/third_party/skia/gm/ |
D | asyncrescaleandread.cpp | 301 auto yuvImage = do_read_and_scale_yuv( variable 306 canvas->drawImage(yuvImage.get(), 0, 0);
|