Lines Matching refs:dstPlanes
758 int pixelFormat, unsigned char **dstPlanes, in tjEncodeYUVPlanes() argument
781 pixelFormat < 0 || pixelFormat >= TJ_NUMPF || !dstPlanes || in tjEncodeYUVPlanes()
782 !dstPlanes[0] || subsamp < 0 || subsamp >= NUMSUBOPT) in tjEncodeYUVPlanes()
784 if (subsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjEncodeYUVPlanes()
874 ptr = dstPlanes[i]; in tjEncodeYUVPlanes()
919 unsigned char *dstPlanes[3]; in tjEncodeYUV3() local
932 dstPlanes[0] = dstBuf; in tjEncodeYUV3()
936 dstPlanes[1] = dstPlanes[2] = NULL; in tjEncodeYUV3()
942 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0; in tjEncodeYUV3()
943 dstPlanes[2] = dstPlanes[1] + strides[1] * ph1; in tjEncodeYUV3()
947 dstPlanes, strides, subsamp, flags); in tjEncodeYUV3()
1618 unsigned char **dstPlanes, int width, in tjDecompressToYUVPlanes() argument
1640 if (jpegBuf == NULL || jpegSize <= 0 || !dstPlanes || !dstPlanes[0] || in tjDecompressToYUVPlanes()
1672 if (jpegSubsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjDecompressToYUVPlanes()
1710 ptr = dstPlanes[i]; in tjDecompressToYUVPlanes()
1799 unsigned char *dstPlanes[3]; in tjDecompressToYUV2() local
1836 dstPlanes[0] = dstBuf; in tjDecompressToYUV2()
1840 dstPlanes[1] = dstPlanes[2] = NULL; in tjDecompressToYUV2()
1846 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0; in tjDecompressToYUV2()
1847 dstPlanes[2] = dstPlanes[1] + strides[1] * ph1; in tjDecompressToYUV2()
1851 return tjDecompressToYUVPlanes(handle, jpegBuf, jpegSize, dstPlanes, width, in tjDecompressToYUV2()