Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dturbojpeg.c972 const unsigned char **srcPlanes, in tjCompressFromYUVPlanes() argument
995 if (!srcPlanes || !srcPlanes[0] || width <= 0 || height <= 0 || in tjCompressFromYUVPlanes()
999 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjCompressFromYUVPlanes()
1039 ptr = (JSAMPLE *)srcPlanes[i]; in tjCompressFromYUVPlanes()
1114 const unsigned char *srcPlanes[3]; in tjCompressFromYUV() local
1127 srcPlanes[0] = srcBuf; in tjCompressFromYUV()
1131 srcPlanes[1] = srcPlanes[2] = NULL; in tjCompressFromYUV()
1137 srcPlanes[1] = srcPlanes[0] + strides[0] * ph0; in tjCompressFromYUV()
1138 srcPlanes[2] = srcPlanes[1] + strides[1] * ph1; in tjCompressFromYUV()
1141 return tjCompressFromYUVPlanes(handle, srcPlanes, width, strides, height, in tjCompressFromYUV()
[all …]
Dturbojpeg.h894 const unsigned char **srcPlanes,
1451 const unsigned char **srcPlanes,
Dturbojpeg-jni.c330 const unsigned char *srcPlanes[3] = { NULL, NULL, NULL }; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
385 srcPlanes[i] = &srcPlanesTmp[i][srcOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
390 if (tjCompressFromYUVPlanes(handle, srcPlanes, width, srcStrides, height, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
911 const unsigned char *srcPlanes[3] = { NULL, NULL, NULL }; in TJDecompressor_decodeYUV() local
967 srcPlanes[i] = &srcPlanesTmp[i][srcOffsets[i]]; in TJDecompressor_decodeYUV()
972 if (tjDecodeYUVPlanes(handle, srcPlanes, srcStrides, subsamp, in TJDecompressor_decodeYUV()