Searched refs:srcPlanes (Results 1 – 5 of 5) sorted by relevance
/external/libjpeg-turbo/ |
D | turbojpeg.c | 929 const unsigned char **srcPlanes, in tjCompressFromYUVPlanes() argument 952 if (!srcPlanes || !srcPlanes[0] || width <= 0 || height <= 0 || in tjCompressFromYUVPlanes() 956 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjCompressFromYUVPlanes() 997 ptr = (JSAMPLE *)srcPlanes[i]; in tjCompressFromYUVPlanes() 1069 const unsigned char *srcPlanes[3]; in tjCompressFromYUV() local 1082 srcPlanes[0] = srcBuf; in tjCompressFromYUV() 1086 srcPlanes[1] = srcPlanes[2] = NULL; in tjCompressFromYUV() 1092 srcPlanes[1] = srcPlanes[0] + strides[0] * ph0; in tjCompressFromYUV() 1093 srcPlanes[2] = srcPlanes[1] + strides[1] * ph1; in tjCompressFromYUV() 1096 return tjCompressFromYUVPlanes(handle, srcPlanes, width, strides, height, in tjCompressFromYUV() [all …]
|
D | turbojpeg-jni.c | 321 const unsigned char *srcPlanes[3]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local 364 bailif0(srcPlanes[i] = in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 366 srcPlanes[i] = &srcPlanes[i][srcOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 370 if (tjCompressFromYUVPlanes(handle, srcPlanes, width, srcStrides, height, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 378 if (srcPlanes[i] && jSrcPlanes[i]) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 380 (unsigned char *)srcPlanes[i], 0); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 875 const unsigned char *srcPlanes[3]; in TJDecompressor_decodeYUV() local 919 bailif0(srcPlanes[i] = in TJDecompressor_decodeYUV() 921 srcPlanes[i] = &srcPlanes[i][srcOffsets[i]]; in TJDecompressor_decodeYUV() 925 if (tjDecodeYUVPlanes(handle, srcPlanes, srcStrides, subsamp, in TJDecompressor_decodeYUV() [all …]
|
D | turbojpeg.h | 883 const unsigned char **srcPlanes, 1440 const unsigned char **srcPlanes,
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 910 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument 914 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
|
D | TJCompressor.java | 618 private native int compressFromYUV(byte[][] srcPlanes, int[] srcOffsets, in compressFromYUV() argument
|