/external/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()
|
/external/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()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 147 sk_sp<SkImage> yuvImage = SkImage::MakeFromRaster(pixmap, YUVGen_DataReleaseProc, in refAsTextureProxy() local 151 yuvTextureProxies[i] = proxyProvider->createTextureProxy(yuvImage, kNone_GrSurfaceFlags, in refAsTextureProxy()
|
/external/skqp/src/gpu/ |
D | GrYUVProvider.cpp | 147 sk_sp<SkImage> yuvImage = SkImage::MakeFromRaster(pixmap, YUVGen_DataReleaseProc, in refAsTextureProxy() local 151 yuvTextureProxies[i] = proxyProvider->createTextureProxy(yuvImage, kNone_GrSurfaceFlags, in refAsTextureProxy()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/webcam/ |
D | WebCamFacade.java | 174 YuvImage yuvImage = in compressYuvToJpeg() local 176 yuvImage.compressToJpeg(new Rect(0, 0, mPreviewWidth, mPreviewHeight), mJpegQuality, in compressYuvToJpeg()
|