Lines Matching refs:tjEncodeYUVPlanes
830 DLLEXPORT int DLLCALL tjEncodeYUVPlanes(tjhandle handle, unsigned char *srcBuf,
854 _throw("tjEncodeYUVPlanes(): Instance has not been initialized for compression");
859 _throw("tjEncodeYUVPlanes(): Invalid argument");
861 _throw("tjEncodeYUVPlanes(): Invalid argument");
871 _throw("tjEncodeYUVPlanes(): Cannot generate YUV images from CMYK pixels");
879 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
899 _throw("tjEncodeYUVPlanes(): libjpeg API is in the wrong state");
910 _throw("tjEncodeYUVPlanes(): Memory allocation failure");
925 if(!_tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
927 if(!tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
938 if(!_tmpbuf2[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
940 if(!tmpbuf2[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
951 if(!outbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure");
1020 return tjEncodeYUVPlanes(handle, srcBuf, width, pitch, height, pixelFormat,