Lines Matching refs:dstPlanes
831 int width, int pitch, int height, int pixelFormat, unsigned char **dstPlanes, in tjEncodeYUVPlanes() argument
857 || pixelFormat>=TJ_NUMPF || !dstPlanes || !dstPlanes[0] || subsamp<0 in tjEncodeYUVPlanes()
860 if(subsamp!=TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjEncodeYUVPlanes()
952 ptr=dstPlanes[i]; in tjEncodeYUVPlanes()
995 unsigned char *dstPlanes[3]; in tjEncodeYUV3() local
1004 dstPlanes[0]=dstBuf; in tjEncodeYUV3()
1009 dstPlanes[1]=dstPlanes[2]=NULL; in tjEncodeYUV3()
1016 dstPlanes[1]=dstPlanes[0]+strides[0]*ph0; in tjEncodeYUV3()
1017 dstPlanes[2]=dstPlanes[1]+strides[1]*ph1; in tjEncodeYUV3()
1021 dstPlanes, strides, subsamp, flags); in tjEncodeYUV3()
1701 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char **dstPlanes, in tjDecompressToYUVPlanes() argument
1721 if(jpegBuf==NULL || jpegSize<=0 || !dstPlanes || !dstPlanes[0] || width<0 in tjDecompressToYUVPlanes()
1746 if(jpegSubsamp!=TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjDecompressToYUVPlanes()
1787 ptr=dstPlanes[i]; in tjDecompressToYUVPlanes()
1878 unsigned char *dstPlanes[3]; in tjDecompressToYUV2() local
1910 dstPlanes[0]=dstBuf; in tjDecompressToYUV2()
1915 dstPlanes[1]=dstPlanes[2]=NULL; in tjDecompressToYUV2()
1922 dstPlanes[1]=dstPlanes[0]+strides[0]*ph0; in tjDecompressToYUV2()
1923 dstPlanes[2]=dstPlanes[1]+strides[1]*ph1; in tjDecompressToYUV2()
1927 return tjDecompressToYUVPlanes(handle, jpegBuf, jpegSize, dstPlanes, width, in tjDecompressToYUV2()