Lines Matching refs:srcPlanes
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()
1375 const unsigned char **srcPlanes, in tjDecodeYUVPlanes() argument
1399 if (!srcPlanes || !srcPlanes[0] || subsamp < 0 || subsamp >= NUMSUBOPT || in tjDecodeYUVPlanes()
1403 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjDecodeYUVPlanes()
1480 ptr = (JSAMPLE *)srcPlanes[i]; in tjDecodeYUVPlanes()
1524 const unsigned char *srcPlanes[3]; in tjDecodeYUV() local
1537 srcPlanes[0] = srcBuf; in tjDecodeYUV()
1541 srcPlanes[1] = srcPlanes[2] = NULL; in tjDecodeYUV()
1547 srcPlanes[1] = srcPlanes[0] + strides[0] * ph0; in tjDecodeYUV()
1548 srcPlanes[2] = srcPlanes[1] + strides[1] * ph1; in tjDecodeYUV()
1551 return tjDecodeYUVPlanes(handle, srcPlanes, strides, subsamp, dstBuf, width, in tjDecodeYUV()