Lines Matching refs:dstPlanes
715 int pixelFormat, unsigned char **dstPlanes, in tjEncodeYUVPlanes() argument
738 pixelFormat < 0 || pixelFormat >= TJ_NUMPF || !dstPlanes || in tjEncodeYUVPlanes()
739 !dstPlanes[0] || subsamp < 0 || subsamp >= NUMSUBOPT) in tjEncodeYUVPlanes()
741 if (subsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjEncodeYUVPlanes()
831 ptr = dstPlanes[i]; in tjEncodeYUVPlanes()
876 unsigned char *dstPlanes[3]; in tjEncodeYUV3() local
889 dstPlanes[0] = dstBuf; in tjEncodeYUV3()
893 dstPlanes[1] = dstPlanes[2] = NULL; in tjEncodeYUV3()
899 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0; in tjEncodeYUV3()
900 dstPlanes[2] = dstPlanes[1] + strides[1] * ph1; in tjEncodeYUV3()
904 dstPlanes, strides, subsamp, flags); in tjEncodeYUV3()
1561 unsigned char **dstPlanes, int width, in tjDecompressToYUVPlanes() argument
1582 if (jpegBuf == NULL || jpegSize <= 0 || !dstPlanes || !dstPlanes[0] || in tjDecompressToYUVPlanes()
1606 if (jpegSubsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjDecompressToYUVPlanes()
1646 ptr = dstPlanes[i]; in tjDecompressToYUVPlanes()
1735 unsigned char *dstPlanes[3]; in tjDecompressToYUV2() local
1772 dstPlanes[0] = dstBuf; in tjDecompressToYUV2()
1776 dstPlanes[1] = dstPlanes[2] = NULL; in tjDecompressToYUV2()
1782 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0; in tjDecompressToYUV2()
1783 dstPlanes[2] = dstPlanes[1] + strides[1] * ph1; in tjDecompressToYUV2()
1787 return tjDecompressToYUVPlanes(handle, jpegBuf, jpegSize, dstPlanes, width, in tjDecompressToYUV2()