Home
last modified time | relevance | path

Searched refs:yuvImage (Results 1 – 9 of 9) sorted by relevance

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java85 public TJDecompressor(YUVImage yuvImage) throws TJException { in TJDecompressor() argument
87 setSourceImage(yuvImage); in TJDecompressor()
106 yuvImage = null; in setSourceImage()
129 yuvImage = srcImage; in setSourceImage()
143 if (yuvImage != null) in getWidth()
144 return yuvImage.getWidth(); in getWidth()
158 if (yuvImage != null) in getHeight()
159 return yuvImage.getHeight(); in getHeight()
174 if (yuvImage != null) in getSubsamp()
175 return yuvImage.getSubsamp(); in getSubsamp()
[all …]
DTJCompressor.java454 YUVImage yuvImage = new YUVImage(dstBuf, srcWidth, 4, srcHeight, subsamp); in encodeYUV() local
455 encodeYUV(yuvImage, flags); in encodeYUV()
480 YUVImage yuvImage = new YUVImage(srcWidth, pad, srcHeight, subsamp); in encodeYUV() local
481 encodeYUV(yuvImage, flags); in encodeYUV()
482 return yuvImage; in encodeYUV()
509 YUVImage yuvImage = new YUVImage(srcWidth, strides, srcHeight, subsamp); in encodeYUV() local
510 encodeYUV(yuvImage, flags); in encodeYUV()
511 return yuvImage; in encodeYUV()
521 YUVImage yuvImage = new YUVImage(srcWidth, 4, srcHeight, subsamp); in encodeYUV() local
522 encodeYUV(yuvImage, flags); in encodeYUV()
[all …]
DYUVImage.java173 public YUVImage(byte[] yuvImage, int width, int pad, int height, in YUVImage() argument
175 setBuf(yuvImage, width, pad, height, subsamp); in YUVImage()
280 public void setBuf(byte[] yuvImage, int width, int pad, int height, in setBuf() argument
282 if (yuvImage == null || width < 1 || pad < 1 || ((pad & (pad - 1)) != 0) || in setBuf()
285 if (yuvImage.length < TJ.bufSizeYUV(width, pad, height, subsamp)) in setBuf()
293 planes[0] = yuvImage; in setBuf()
297 planes[1] = planes[2] = yuvImage; in setBuf()
/external/libjpeg-turbo/java/
DTJBench.java143 YUVImage yuvImage = null; in decomp() local
160 yuvImage = new YUVImage(width, yuvpad, height, subsamp); in decomp()
161 Arrays.fill(yuvImage.getBuf(), (byte)127); in decomp()
176 yuvImage.setBuf(yuvImage.getBuf(), width, yuvpad, height, subsamp); in decomp()
177 tjd.decompressToYUV(yuvImage, flags); in decomp()
179 tjd.setSourceImage(yuvImage); in decomp()
285 YUVImage yuvImage = null; in fullTest() local
319 yuvImage = new YUVImage(tilew, yuvpad, tileh, subsamp); in fullTest()
320 Arrays.fill(yuvImage.getBuf(), (byte)127); in fullTest()
337 yuvImage.setBuf(yuvImage.getBuf(), width, yuvpad, height, in fullTest()
[all …]
DTJUnitTest.java678 YUVImage yuvImage = tjc.encodeYUV(pad, flags); in compTest() local
679 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), w, h, subsamp, in compTest()
689 tjc.setSourceImage(yuvImage); in compTest()
744 YUVImage yuvImage = tjd.decompressToYUV(scaledWidth, pad, scaledHeight, in decompTest() local
746 if (checkBufYUV(yuvImage.getBuf(), yuvImage.getSize(), scaledWidth, in decompTest()
755 tjd.setSourceImage(yuvImage); in decompTest()
/external/sl4a/Common/src/com/googlecode/android_scripting/webcam/
DWebCamFacade.java172 YuvImage yuvImage = in compressYuvToJpeg() local
174 yuvImage.compressToJpeg(new Rect(0, 0, mPreviewWidth, mPreviewHeight), mJpegQuality, in compressYuvToJpeg()
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...