Lines Matching refs:_throw

128 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m);  \  macro
322 _throw("Unsupported pixel format"); in setDecompDefaults()
601 _throw("tjBufSize(): Invalid argument"); in tjBufSize()
619 _throw("TJBUFSIZE(): Invalid argument"); in TJBUFSIZE()
637 _throw("tjBufSizeYUV2(): Invalid argument"); in tjBufSizeYUV2()
671 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth()
674 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth()
692 _throw("tjPlaneHeight(): Invalid argument"); in tjPlaneHeight()
695 _throw("tjPlaneHeight(): Invalid argument"); in tjPlaneHeight()
715 _throw("tjPlaneSizeYUV(): Invalid argument"); in tjPlaneSizeYUV()
742 _throw("tjCompress2(): Instance has not been initialized for compression"); in tjCompress2()
747 _throw("tjCompress2(): Invalid argument"); in tjCompress2()
762 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
785 _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
854 _throw("tjEncodeYUVPlanes(): Instance has not been initialized for compression"); in tjEncodeYUVPlanes()
859 _throw("tjEncodeYUVPlanes(): Invalid argument"); in tjEncodeYUVPlanes()
861 _throw("tjEncodeYUVPlanes(): Invalid argument"); in tjEncodeYUVPlanes()
871 _throw("tjEncodeYUVPlanes(): Cannot generate YUV images from CMYK pixels"); in tjEncodeYUVPlanes()
879 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
899 _throw("tjEncodeYUVPlanes(): libjpeg API is in the wrong state"); in tjEncodeYUVPlanes()
910 _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
925 if(!_tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
927 if(!tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
938 if(!_tmpbuf2[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
940 if(!tmpbuf2[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
951 if(!outbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
1000 _throw("tjEncodeYUV3(): Invalid argument"); in tjEncodeYUV3()
1061 _throw("tjCompressFromYUVPlanes(): Instance has not been initialized for compression"); in tjCompressFromYUVPlanes()
1066 _throw("tjCompressFromYUVPlanes(): Invalid argument"); in tjCompressFromYUVPlanes()
1068 _throw("tjCompressFromYUVPlanes(): Invalid argument"); in tjCompressFromYUVPlanes()
1108 _throw("tjCompressFromYUVPlanes(): Memory allocation failure"); in tjCompressFromYUVPlanes()
1119 _throw("tjCompressFromYUVPlanes(): Memory allocation failure"); in tjCompressFromYUVPlanes()
1124 _throw("tjCompressFromYUVPlanes(): Memory allocation failure"); in tjCompressFromYUVPlanes()
1184 _throw("tjCompressFromYUV(): Invalid argument"); in tjCompressFromYUV()
1261 _throw("tjDecompressHeader3(): Instance has not been initialized for decompression"); in tjDecompressHeader3()
1265 _throw("tjDecompressHeader3(): Invalid argument"); in tjDecompressHeader3()
1292 _throw("tjDecompressHeader3(): Could not determine subsampling type for JPEG image"); in tjDecompressHeader3()
1294 _throw("tjDecompressHeader3(): Could not determine colorspace of JPEG image"); in tjDecompressHeader3()
1296 _throw("tjDecompressHeader3(): Invalid data returned in header"); in tjDecompressHeader3()
1348 _throw("tjDecompress2(): Instance has not been initialized for decompression"); in tjDecompress2()
1352 _throw("tjDecompress2(): Invalid argument"); in tjDecompress2()
1385 _throw("tjDecompress2(): Could not scale down to desired image dimensions"); in tjDecompress2()
1401 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1409 _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1527 _throw("tjDecodeYUVPlanes(): Instance has not been initialized for decompression"); in tjDecodeYUVPlanes()
1532 _throw("tjDecodeYUVPlanes(): Invalid argument"); in tjDecodeYUVPlanes()
1534 _throw("tjDecodeYUVPlanes(): Invalid argument"); in tjDecodeYUVPlanes()
1544 _throw("tjDecodeYUVPlanes(): Cannot decode YUV images into CMYK pixels."); in tjDecodeYUVPlanes()
1588 if(!rgbBuf) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1595 _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1609 if(!_tmpbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1611 if(!tmpbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1622 if(!inbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1673 _throw("tjDecodeYUV(): Invalid argument"); in tjDecodeYUV()
1719 _throw("tjDecompressToYUVPlanes(): Instance has not been initialized for decompression"); in tjDecompressToYUVPlanes()
1723 _throw("tjDecompressToYUVPlanes(): Invalid argument"); in tjDecompressToYUVPlanes()
1744 _throw("tjDecompressToYUVPlanes(): Could not determine subsampling type for JPEG image"); in tjDecompressToYUVPlanes()
1747 _throw("tjDecompressToYUVPlanes(): Invalid argument"); in tjDecompressToYUVPlanes()
1760 _throw("tjDecompressToYUVPlanes(): Could not scale down to desired image dimensions"); in tjDecompressToYUVPlanes()
1762 _throw("tjDecompressToYUVPlanes(): JPEG image must have 3 or fewer components"); in tjDecompressToYUVPlanes()
1786 _throw("tjDecompressToYUVPlanes(): Memory allocation failure"); in tjDecompressToYUVPlanes()
1797 _throw("tjDecompressToYUVPlanes(): Memory allocation failure"); in tjDecompressToYUVPlanes()
1802 _throw("tjDecompressToYUVPlanes(): Memory allocation failure"); in tjDecompressToYUVPlanes()
1886 _throw("tjDecompressToYUV2(): Invalid argument"); in tjDecompressToYUV2()
1892 _throw("tjDecompressToYUV2(): Could not determine subsampling type for JPEG image"); in tjDecompressToYUV2()
1906 _throw("tjDecompressToYUV2(): Could not scale down to desired image dimensions"); in tjDecompressToYUV2()
1972 _throw("tjTransform(): Instance has not been initialized for transformation"); in tjTransform()
1976 _throw("tjTransform(): Invalid argument"); in tjTransform()
1993 _throw("tjTransform(): Memory allocation failure"); in tjTransform()
2027 _throw("tjTransform(): Could not determine subsampling type for JPEG image"); in tjTransform()
2032 _throw("tjTransform(): Transform is not perfect"); in tjTransform()
2097 _throw("tjTransform(): Error in custom filter"); in tjTransform()