Lines Matching refs:srcPlanes
1045 unsigned char **srcPlanes, int width, int *strides, int height, int subsamp,
1063 if(!srcPlanes || !srcPlanes[0] || width<=0 || height<=0 || subsamp<0
1067 if(subsamp!=TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2]))
1109 ptr=srcPlanes[i];
1179 unsigned char *srcPlanes[3];
1188 srcPlanes[0]=srcBuf;
1193 srcPlanes[1]=srcPlanes[2]=NULL;
1200 srcPlanes[1]=srcPlanes[0]+strides[0]*ph0;
1201 srcPlanes[2]=srcPlanes[1]+strides[1]*ph1;
1204 return tjCompressFromYUVPlanes(handle, srcPlanes, width, strides, height,
1503 unsigned char **srcPlanes, int *strides, int subsamp, unsigned char *dstBuf,
1529 if(!srcPlanes || !srcPlanes[0] || subsamp<0 || subsamp>=NUMSUBOPT
1533 if(subsamp!=TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2]))
1623 ptr=srcPlanes[i];
1668 unsigned char *srcPlanes[3];
1677 srcPlanes[0]=srcBuf;
1682 srcPlanes[1]=srcPlanes[2]=NULL;
1689 srcPlanes[1]=srcPlanes[0]+strides[0]*ph0;
1690 srcPlanes[2]=srcPlanes[1]+strides[1]*ph1;
1693 return tjDecodeYUVPlanes(handle, srcPlanes, strides, subsamp, dstBuf, width,