Home
last modified time | relevance | path

Searched refs:srcPlanes (Results 1 – 5 of 5) sorted by relevance

/external/libjpeg-turbo/
Dturbojpeg.c929 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 …]
Dturbojpeg-jni.c321 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 …]
Dturbojpeg.h883 const unsigned char **srcPlanes,
1440 const unsigned char **srcPlanes,
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java910 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
914 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
DTJCompressor.java618 private native int compressFromYUV(byte[][] srcPlanes, int[] srcOffsets, in compressFromYUV() argument