Lines Matching refs:_throw
129 #define _throw(m) {snprintf(errStr, JMSG_LENGTH_MAX, "%s", m); \ macro
323 _throw("Unsupported pixel format"); in setDecompDefaults()
627 _throw("tjBufSize(): Invalid argument"); in tjBufSize()
637 _throw("tjBufSize(): Image is too large"); in tjBufSize()
647 _throw("TJBUFSIZE(): Invalid argument"); in TJBUFSIZE()
654 _throw("tjBufSize(): Image is too large"); in TJBUFSIZE()
668 _throw("tjBufSizeYUV2(): Invalid argument"); in tjBufSizeYUV2()
680 _throw("tjBufSize(): Image is too large"); in tjBufSizeYUV2()
704 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth()
707 _throw("tjPlaneWidth(): Invalid argument"); in tjPlaneWidth()
725 _throw("tjPlaneHeight(): Invalid argument"); in tjPlaneHeight()
728 _throw("tjPlaneHeight(): Invalid argument"); in tjPlaneHeight()
748 _throw("tjPlaneSizeYUV(): Invalid argument"); in tjPlaneSizeYUV()
759 _throw("tjPlaneSizeYUV(): Image is too large"); in tjPlaneSizeYUV()
777 _throw("tjCompress2(): Instance has not been initialized for compression"); in tjCompress2()
782 _throw("tjCompress2(): Invalid argument"); in tjCompress2()
797 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
820 _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
891 _throw("tjEncodeYUVPlanes(): Instance has not been initialized for compression"); in tjEncodeYUVPlanes()
896 _throw("tjEncodeYUVPlanes(): Invalid argument"); in tjEncodeYUVPlanes()
898 _throw("tjEncodeYUVPlanes(): Invalid argument"); in tjEncodeYUVPlanes()
908 _throw("tjEncodeYUVPlanes(): Cannot generate YUV images from CMYK pixels"); in tjEncodeYUVPlanes()
916 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
936 _throw("tjEncodeYUVPlanes(): libjpeg API is in the wrong state"); in tjEncodeYUVPlanes()
947 _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
963 if(!_tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
965 if(!tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
976 if(!_tmpbuf2[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
978 if(!tmpbuf2[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
989 if(!outbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
1038 _throw("tjEncodeYUV3(): Invalid argument"); in tjEncodeYUV3()
1100 _throw("tjCompressFromYUVPlanes(): Instance has not been initialized for compression"); in tjCompressFromYUVPlanes()
1105 _throw("tjCompressFromYUVPlanes(): Invalid argument"); in tjCompressFromYUVPlanes()
1107 _throw("tjCompressFromYUVPlanes(): Invalid argument"); in tjCompressFromYUVPlanes()
1147 _throw("tjCompressFromYUVPlanes(): Memory allocation failure"); in tjCompressFromYUVPlanes()
1158 _throw("tjCompressFromYUVPlanes(): Memory allocation failure"); in tjCompressFromYUVPlanes()
1163 _throw("tjCompressFromYUVPlanes(): Memory allocation failure"); in tjCompressFromYUVPlanes()
1223 _throw("tjCompressFromYUV(): Invalid argument"); in tjCompressFromYUV()
1301 _throw("tjDecompressHeader3(): Instance has not been initialized for decompression"); in tjDecompressHeader3()
1305 _throw("tjDecompressHeader3(): Invalid argument"); in tjDecompressHeader3()
1332 _throw("tjDecompressHeader3(): Could not determine subsampling type for JPEG image"); in tjDecompressHeader3()
1334 _throw("tjDecompressHeader3(): Could not determine colorspace of JPEG image"); in tjDecompressHeader3()
1336 _throw("tjDecompressHeader3(): Invalid data returned in header"); in tjDecompressHeader3()
1388 _throw("tjDecompress2(): Instance has not been initialized for decompression"); in tjDecompress2()
1392 _throw("tjDecompress2(): Invalid argument"); in tjDecompress2()
1425 _throw("tjDecompress2(): Could not scale down to desired image dimensions"); in tjDecompress2()
1441 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1449 _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1568 _throw("tjDecodeYUVPlanes(): Instance has not been initialized for decompression"); in tjDecodeYUVPlanes()
1573 _throw("tjDecodeYUVPlanes(): Invalid argument"); in tjDecodeYUVPlanes()
1575 _throw("tjDecodeYUVPlanes(): Invalid argument"); in tjDecodeYUVPlanes()
1585 _throw("tjDecodeYUVPlanes(): Cannot decode YUV images into CMYK pixels."); in tjDecodeYUVPlanes()
1629 if(!rgbBuf) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1636 _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1650 if(!_tmpbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1652 if(!tmpbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1663 if(!inbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1714 _throw("tjDecodeYUV(): Invalid argument"); in tjDecodeYUV()
1760 _throw("tjDecompressToYUVPlanes(): Instance has not been initialized for decompression"); in tjDecompressToYUVPlanes()
1764 _throw("tjDecompressToYUVPlanes(): Invalid argument"); in tjDecompressToYUVPlanes()
1785 _throw("tjDecompressToYUVPlanes(): Could not determine subsampling type for JPEG image"); in tjDecompressToYUVPlanes()
1788 _throw("tjDecompressToYUVPlanes(): Invalid argument"); in tjDecompressToYUVPlanes()
1801 _throw("tjDecompressToYUVPlanes(): Could not scale down to desired image dimensions"); in tjDecompressToYUVPlanes()
1803 _throw("tjDecompressToYUVPlanes(): JPEG image must have 3 or fewer components"); in tjDecompressToYUVPlanes()
1827 _throw("tjDecompressToYUVPlanes(): Memory allocation failure"); in tjDecompressToYUVPlanes()
1838 _throw("tjDecompressToYUVPlanes(): Memory allocation failure"); in tjDecompressToYUVPlanes()
1843 _throw("tjDecompressToYUVPlanes(): Memory allocation failure"); in tjDecompressToYUVPlanes()
1927 _throw("tjDecompressToYUV2(): Invalid argument"); in tjDecompressToYUV2()
1939 _throw("tjDecompressToYUV2(): Could not determine subsampling type for JPEG image"); in tjDecompressToYUV2()
1953 _throw("tjDecompressToYUV2(): Could not scale down to desired image dimensions"); in tjDecompressToYUV2()
2019 _throw("tjTransform(): Instance has not been initialized for transformation"); in tjTransform()
2023 _throw("tjTransform(): Invalid argument"); in tjTransform()
2040 _throw("tjTransform(): Memory allocation failure"); in tjTransform()
2074 _throw("tjTransform(): Could not determine subsampling type for JPEG image"); in tjTransform()
2079 _throw("tjTransform(): Transform is not perfect"); in tjTransform()
2144 _throw("tjTransform(): Error in custom filter"); in tjTransform()