Lines Matching refs:_throw
42 #define _throw(msg) { \ macro
52 _throw(temps); \
104 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_bufSize()
115 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__IIII()
136 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII()
147 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_planeWidth__III()
158 if(retval==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_planeHeight__III()
173 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
197 _throw("Invalid argument in compress()"); in TJCompressor_compress()
199 _throw("Mismatch between Java and C API"); in TJCompressor_compress()
204 _throw("Source buffer is not large enough"); in TJCompressor_compress()
207 _throw("Destination buffer is not large enough"); in TJCompressor_compress()
217 _throw(tjGetErrorStr()); in TJCompressor_compress()
252 _throw("Invalid argument in compress()"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII()
254 _throw("Pixel format must be 32-bit when compressing from an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII()
270 _throw("Invalid argument in compress()"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII()
272 _throw("Pixel format must be 32-bit when compressing from an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII()
297 _throw("Invalid argument in compressFromYUV()"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
299 _throw("Mismatch between Java and C API"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
302 _throw("Planes array is too small for the subsampling type"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
304 _throw("Offsets array is too small for the subsampling type"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
306 _throw("Strides array is too small for the subsampling type"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
310 _throw("Destination buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
320 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
323 _throw("Invalid argument in compressFromYUV()"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
325 _throw("Negative plane stride would cause memory to be accessed below plane boundary"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
329 _throw("Source plane is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
341 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
374 _throw("Invalid argument in encodeYUV()"); in TJCompressor_encodeYUV()
377 _throw("Mismatch between Java and C API"); in TJCompressor_encodeYUV()
380 _throw("Planes array is too small for the subsampling type"); in TJCompressor_encodeYUV()
382 _throw("Offsets array is too small for the subsampling type"); in TJCompressor_encodeYUV()
384 _throw("Strides array is too small for the subsampling type"); in TJCompressor_encodeYUV()
389 _throw("Source buffer is not large enough"); in TJCompressor_encodeYUV()
399 _throw(tjGetErrorStr()); in TJCompressor_encodeYUV()
402 _throw("Invalid argument in encodeYUV()"); in TJCompressor_encodeYUV()
404 _throw("Negative plane stride would cause memory to be accessed below plane boundary"); in TJCompressor_encodeYUV()
408 _throw("Destination plane is not large enough"); in TJCompressor_encodeYUV()
418 _throw(tjGetErrorStr()); in TJCompressor_encodeYUV()
452 _throw("Invalid argument in encodeYUV()"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III()
454 _throw("Pixel format must be 32-bit when encoding from an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III()
476 _throw("Invalid argument in encodeYUV()"); in TJCompressor_encodeYUV_12()
478 _throw("Mismatch between Java and C API"); in TJCompressor_encodeYUV_12()
482 _throw("Source buffer is not large enough"); in TJCompressor_encodeYUV_12()
485 _throw("Destination buffer is not large enough"); in TJCompressor_encodeYUV_12()
492 _throw(tjGetErrorStr()); in TJCompressor_encodeYUV_12()
515 _throw("Invalid argument in encodeYUV()"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIII_3BII()
517 _throw("Pixel format must be 32-bit when encoding from an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIII_3BII()
534 if(tjDestroy(handle)==-1) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJCompressor_destroy()
549 if((handle=tjInitDecompress())==NULL) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
569 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
599 _throw("Source buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
605 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
637 _throw("Invalid argument in decompress()"); in TJDecompressor_decompress()
639 _throw("Mismatch between Java and C API"); in TJDecompressor_decompress()
642 _throw("Source buffer is not large enough"); in TJDecompressor_decompress()
646 _throw("Destination buffer is not large enough"); in TJDecompressor_decompress()
654 _throw(tjGetErrorStr()); in TJDecompressor_decompress()
686 _throw("Invalid argument in decompress()"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII()
688 _throw("Pixel format must be 32-bit when decompressing to an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII()
703 _throw("Invalid argument in decompress()"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII()
705 _throw("Pixel format must be 32-bit when decompressing to an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII()
733 _throw("Source buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
748 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
766 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
769 _throw("Invalid argument in decompressToYUV()"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
771 _throw("Negative plane stride would cause memory to be accessed below plane boundary"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
775 _throw("Destination plane is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
785 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
814 _throw("Source buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
823 _throw("Destination buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
830 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
854 _throw("Invalid argument in decodeYUV()"); in TJDecompressor_decodeYUV()
857 _throw("Mismatch between Java and C API"); in TJDecompressor_decodeYUV()
860 _throw("Planes array is too small for the subsampling type"); in TJDecompressor_decodeYUV()
862 _throw("Offsets array is too small for the subsampling type"); in TJDecompressor_decodeYUV()
864 _throw("Strides array is too small for the subsampling type"); in TJDecompressor_decodeYUV()
869 _throw("Destination buffer is not large enough"); in TJDecompressor_decodeYUV()
879 _throw(tjGetErrorStr()); in TJDecompressor_decodeYUV()
882 _throw("Invalid argument in decodeYUV()"); in TJDecompressor_decodeYUV()
884 _throw("Negative plane stride would cause memory to be accessed below plane boundary"); in TJDecompressor_decodeYUV()
888 _throw("Source plane is not large enough"); in TJDecompressor_decodeYUV()
899 _throw(tjGetErrorStr()); in TJDecompressor_decodeYUV()
933 _throw("Invalid argument in decodeYUV()"); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3IIIIIIII()
935 _throw("Pixel format must be 32-bit when decoding to an integer buffer."); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3IIIIIIII()
953 if((handle=tjInitTransform())==NULL) _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJTransformer_init()
1043 _throw("Source buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1053 _throw("Mismatch between size of transforms array and destination buffers array"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1056 _throw("Memory allocation failure"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1058 _throw("Memory allocation failure"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1060 _throw("Memory allocation failure"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1062 _throw("Memory allocation failure"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1065 _throw("Memory allocation failure"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1113 _throw("Destination buffer is not large enough"); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1121 _throw(tjGetErrorStr()); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()