Lines Matching refs:bailif0
42 #define bailif0(f) { \ macro
51 bailif0(_exccls); \
62 bailif0(_errstr = (*env)->NewStringUTF(env, tjGetErrorStr2(handle))); \
63 bailif0(_exccls = (*env)->FindClass(env, \
65 bailif0(_excid = (*env)->GetMethodID(env, _exccls, "<init>", \
67 bailif0(_excobj = (*env)->NewObject(env, _exccls, _excid, _errstr, \
82 bailif0(_cls); \
83 bailif0(_fid = (*env)->GetFieldID(env, _cls, "handle", "J")); \
108 bailif0(cls = (*env)->FindClass(env, "java/lang/System")); in ProcessSystemProperties()
109 bailif0(mid = (*env)->GetStaticMethodID(env, cls, "getProperty", in ProcessSystemProperties()
204 bailif0(cls = (*env)->GetObjectClass(env, obj)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
205 bailif0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
240 bailif0(srcBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJCompressor_compress()
241 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJCompressor_compress()
346 bailif0(srcOffsets = (*env)->GetPrimitiveArrayCritical(env, jSrcOffsets, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
347 bailif0(srcStrides = (*env)->GetPrimitiveArrayCritical(env, jSrcStrides, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
360 bailif0(jSrcPlanes[i] = (*env)->GetObjectArrayElement(env, srcobjs, i)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
364 bailif0(srcPlanes[i] = in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
368 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
423 bailif0(dstOffsets = (*env)->GetPrimitiveArrayCritical(env, jDstOffsets, 0)); in TJCompressor_encodeYUV()
424 bailif0(dstStrides = (*env)->GetPrimitiveArrayCritical(env, jDstStrides, 0)); in TJCompressor_encodeYUV()
437 bailif0(jDstPlanes[i] = (*env)->GetObjectArrayElement(env, dstobjs, i)); in TJCompressor_encodeYUV()
441 bailif0(dstPlanes[i] = in TJCompressor_encodeYUV()
445 bailif0(srcBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJCompressor_encodeYUV()
517 bailif0(srcBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJCompressor_encodeYUV_12()
518 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJCompressor_encodeYUV_12()
582 bailif0(cls = (*env)->GetObjectClass(env, obj)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
583 bailif0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
604 bailif0(sfcls = (*env)->FindClass(env, in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
606 bailif0(sfjava = (jobjectArray)(*env)->NewObjectArray(env, n, sfcls, 0)); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
609 bailif0(sfobj = (*env)->AllocObject(env, sfcls)); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
610 bailif0(fid = (*env)->GetFieldID(env, sfcls, "num", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
612 bailif0(fid = (*env)->GetFieldID(env, sfcls, "denom", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
634 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
643 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegSubsamp", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
649 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegWidth", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
651 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegHeight", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressHeader()
681 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJDecompressor_decompress()
682 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJDecompressor_decompress()
764 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegSubsamp", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
766 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegWidth", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
768 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegHeight", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
789 bailif0(dstOffsets = (*env)->GetPrimitiveArrayCritical(env, jDstOffsets, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
790 bailif0(dstStrides = (*env)->GetPrimitiveArrayCritical(env, jDstStrides, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
804 bailif0(jDstPlanes[i] = (*env)->GetObjectArrayElement(env, dstobjs, i)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
808 bailif0(dstPlanes[i] = in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
812 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
845 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegSubsamp", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
847 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegWidth", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
849 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegHeight", "I")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
855 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
856 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
901 bailif0(srcOffsets = (*env)->GetPrimitiveArrayCritical(env, jSrcOffsets, 0)); in TJDecompressor_decodeYUV()
902 bailif0(srcStrides = (*env)->GetPrimitiveArrayCritical(env, jSrcStrides, 0)); in TJDecompressor_decodeYUV()
915 bailif0(jSrcPlanes[i] = (*env)->GetObjectArrayElement(env, srcobjs, i)); in TJDecompressor_decodeYUV()
919 bailif0(srcPlanes[i] = in TJDecompressor_decodeYUV()
923 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJDecompressor_decodeYUV()
984 bailif0(cls = (*env)->GetObjectClass(env, obj)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_init()
985 bailif0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_init()
1010 bailif0(bufobj = (*env)->NewDirectByteBuffer(env, coeffs, in JNICustomFilter()
1012 bailif0(cls = (*env)->FindClass(env, "java/nio/ByteOrder")); in JNICustomFilter()
1013 bailif0(mid = (*env)->GetStaticMethodID(env, cls, "nativeOrder", in JNICustomFilter()
1015 bailif0(borobj = (*env)->CallStaticObjectMethod(env, cls, mid)); in JNICustomFilter()
1016 bailif0(cls = (*env)->GetObjectClass(env, bufobj)); in JNICustomFilter()
1017 bailif0(mid = (*env)->GetMethodID(env, cls, "order", in JNICustomFilter()
1020 bailif0(mid = (*env)->GetMethodID(env, cls, "asShortBuffer", in JNICustomFilter()
1022 bailif0(bufobj = (*env)->CallObjectMethod(env, bufobj, mid)); in JNICustomFilter()
1024 bailif0(cls = (*env)->FindClass(env, "java/awt/Rectangle")); in JNICustomFilter()
1025 bailif0(arrayRegionObj = (*env)->AllocObject(env, cls)); in JNICustomFilter()
1026 bailif0(fid = (*env)->GetFieldID(env, cls, "x", "I")); in JNICustomFilter()
1028 bailif0(fid = (*env)->GetFieldID(env, cls, "y", "I")); in JNICustomFilter()
1030 bailif0(fid = (*env)->GetFieldID(env, cls, "width", "I")); in JNICustomFilter()
1032 bailif0(fid = (*env)->GetFieldID(env, cls, "height", "I")); in JNICustomFilter()
1035 bailif0(planeRegionObj = (*env)->AllocObject(env, cls)); in JNICustomFilter()
1036 bailif0(fid = (*env)->GetFieldID(env, cls, "x", "I")); in JNICustomFilter()
1038 bailif0(fid = (*env)->GetFieldID(env, cls, "y", "I")); in JNICustomFilter()
1040 bailif0(fid = (*env)->GetFieldID(env, cls, "width", "I")); in JNICustomFilter()
1042 bailif0(fid = (*env)->GetFieldID(env, cls, "height", "I")); in JNICustomFilter()
1045 bailif0(cls = (*env)->GetObjectClass(env, cfobj)); in JNICustomFilter()
1046 bailif0(mid = (*env)->GetMethodID(env, cls, "customFilter", in JNICustomFilter()
1077 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegWidth", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1079 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegHeight", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1081 bailif0(_fid = (*env)->GetFieldID(env, _cls, "jpegSubsamp", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1109 bailif0(tobj = (*env)->GetObjectArrayElement(env, tobjs, i)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1110 bailif0(_cls = (*env)->GetObjectClass(env, tobj)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1111 bailif0(_fid = (*env)->GetFieldID(env, _cls, "op", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1113 bailif0(_fid = (*env)->GetFieldID(env, _cls, "options", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1115 bailif0(_fid = (*env)->GetFieldID(env, _cls, "x", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1117 bailif0(_fid = (*env)->GetFieldID(env, _cls, "y", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1119 bailif0(_fid = (*env)->GetFieldID(env, _cls, "width", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1121 bailif0(_fid = (*env)->GetFieldID(env, _cls, "height", "I")); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1124 bailif0(_fid = (*env)->GetFieldID(env, _cls, "cf", in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1141 bailif0(jdstBufs[i] = (*env)->GetObjectArrayElement(env, dstobjs, i)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1146 bailif0(jpegBuf = (*env)->GetPrimitiveArrayCritical(env, jsrcBuf, 0)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1148 bailif0(dstBufs[i] = in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1163 bailif0(dstSizesi = (*env)->GetIntArrayElements(env, jdstSizes, 0)); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()