Lines Matching refs:srcPlanes
972 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()
1429 const unsigned char **srcPlanes, in tjDecodeYUVPlanes() argument
1453 if (!srcPlanes || !srcPlanes[0] || subsamp < 0 || subsamp >= NUMSUBOPT || in tjDecodeYUVPlanes()
1457 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjDecodeYUVPlanes()
1537 ptr = (JSAMPLE *)srcPlanes[i]; in tjDecodeYUVPlanes()
1581 const unsigned char *srcPlanes[3]; in tjDecodeYUV() local
1594 srcPlanes[0] = srcBuf; in tjDecodeYUV()
1598 srcPlanes[1] = srcPlanes[2] = NULL; in tjDecodeYUV()
1604 srcPlanes[1] = srcPlanes[0] + strides[0] * ph0; in tjDecodeYUV()
1605 srcPlanes[2] = srcPlanes[1] + strides[1] * ph1; in tjDecodeYUV()
1608 return tjDecodeYUVPlanes(handle, srcPlanes, strides, subsamp, dstBuf, width, in tjDecodeYUV()