Lines Matching refs:srcPlanes
1074 const unsigned char **srcPlanes, int width, const int *strides, int height,
1093 if(!srcPlanes || !srcPlanes[0] || width<=0 || height<=0 || subsamp<0
1097 if(subsamp!=TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2]))
1139 ptr=(JSAMPLE *)srcPlanes[i];
1209 const unsigned char *srcPlanes[3];
1218 srcPlanes[0]=srcBuf;
1223 srcPlanes[1]=srcPlanes[2]=NULL;
1230 srcPlanes[1]=srcPlanes[0]+strides[0]*ph0;
1231 srcPlanes[2]=srcPlanes[1]+strides[1]*ph1;
1234 return tjCompressFromYUVPlanes(handle, srcPlanes, width, strides, height,
1534 const unsigned char **srcPlanes, const int *strides, int subsamp,
1561 if(!srcPlanes || !srcPlanes[0] || subsamp<0 || subsamp>=NUMSUBOPT
1565 if(subsamp!=TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2]))
1655 ptr=(JSAMPLE *)srcPlanes[i];
1700 const unsigned char *srcPlanes[3];
1709 srcPlanes[0]=srcBuf;
1714 srcPlanes[1]=srcPlanes[2]=NULL;
1721 srcPlanes[1]=srcPlanes[0]+strides[0]*ph0;
1722 srcPlanes[2]=srcPlanes[1]+strides[1]*ph1;
1725 return tjDecodeYUVPlanes(handle, srcPlanes, strides, subsamp, dstBuf, width,