Lines Matching refs:_throw
116 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \
259 _throw("Unsupported pixel format");
520 _throw("tjBufSize(): Invalid argument");
538 _throw("TJBUFSIZE(): Invalid argument");
556 _throw("tjBufSizeYUV(): Invalid argument");
585 _throw("tjCompress2(): Instance has not been initialized for compression");
590 _throw("tjCompress2(): Invalid argument");
605 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure");
628 _throw("tjCompress2(): Memory allocation failure");
697 _throw("tjEncodeYUV2(): Instance has not been initialized for compression");
702 _throw("tjEncodeYUV2(): Invalid argument");
717 if(!rgbBuf) _throw("tjEncodeYUV2(): Memory allocation failure");
738 _throw("tjEncodeYUV3(): libjpeg API is in the wrong state");
749 _throw("tjEncodeYUV2(): Memory allocation failure");
764 if(!_tmpbuf[i]) _throw("tjEncodeYUV2(): Memory allocation failure");
766 if(!tmpbuf[i]) _throw("tjEncodeYUV2(): Memory allocation failure");
777 if(!_tmpbuf2[i]) _throw("tjEncodeYUV2(): Memory allocation failure");
779 if(!tmpbuf2[i]) _throw("tjEncodeYUV2(): Memory allocation failure");
790 if(!outbuf[i]) _throw("tjEncodeYUV2(): Memory allocation failure");
798 _throw("tjEncodeYUV2(): Generated image is not the correct size");
886 _throw("tjDecompressHeader2(): Instance has not been initialized for decompression");
890 _throw("tjDecompressHeader2(): Invalid argument");
908 _throw("tjDecompressHeader2(): Could not determine subsampling type for JPEG image");
910 _throw("tjDecompressHeader2(): Invalid data returned in header");
952 _throw("tjDecompress2(): Instance has not been initialized for decompression");
956 _throw("tjDecompress2(): Invalid argument");
989 _throw("tjDecompress2(): Could not scale down to desired image dimensions");
1005 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure");
1013 _throw("tjDecompress2(): Memory allocation failure");
1069 _throw("tjDecompressToYUV(): Instance has not been initialized for decompression");
1072 _throw("tjDecompressToYUV(): Invalid argument");
1102 _throw("tjDecompressToYUV(): Memory allocation failure");
1112 _throw("tjDecompressToYUV(): Memory allocation failure");
1117 _throw("tjDecompressToYUV(): Memory allocation failure");
1199 _throw("tjTransform(): Instance has not been initialized for transformation");
1203 _throw("tjTransform(): Invalid argument");
1220 _throw("tjTransform(): Memory allocation failure");
1254 _throw("tjTransform(): Could not determine subsampling type for JPEG image");
1259 _throw("tjTransform(): Transform is not perfect");
1324 _throw("tjTransform(): Error in custom filter");