1 /* DO NOT EDIT THIS FILE - it is machine generated */ 2 #include <jni.h> 3 /* Header for class org_libjpegturbo_turbojpeg_TJ */ 4 5 #ifndef _Included_org_libjpegturbo_turbojpeg_TJ 6 #define _Included_org_libjpegturbo_turbojpeg_TJ 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 #undef org_libjpegturbo_turbojpeg_TJ_NUMSAMP 11 #define org_libjpegturbo_turbojpeg_TJ_NUMSAMP 6L 12 #undef org_libjpegturbo_turbojpeg_TJ_SAMP_444 13 #define org_libjpegturbo_turbojpeg_TJ_SAMP_444 0L 14 #undef org_libjpegturbo_turbojpeg_TJ_SAMP_422 15 #define org_libjpegturbo_turbojpeg_TJ_SAMP_422 1L 16 #undef org_libjpegturbo_turbojpeg_TJ_SAMP_420 17 #define org_libjpegturbo_turbojpeg_TJ_SAMP_420 2L 18 #undef org_libjpegturbo_turbojpeg_TJ_SAMP_GRAY 19 #define org_libjpegturbo_turbojpeg_TJ_SAMP_GRAY 3L 20 #undef org_libjpegturbo_turbojpeg_TJ_SAMP_440 21 #define org_libjpegturbo_turbojpeg_TJ_SAMP_440 4L 22 #undef org_libjpegturbo_turbojpeg_TJ_SAMP_411 23 #define org_libjpegturbo_turbojpeg_TJ_SAMP_411 5L 24 #undef org_libjpegturbo_turbojpeg_TJ_NUMPF 25 #define org_libjpegturbo_turbojpeg_TJ_NUMPF 12L 26 #undef org_libjpegturbo_turbojpeg_TJ_PF_RGB 27 #define org_libjpegturbo_turbojpeg_TJ_PF_RGB 0L 28 #undef org_libjpegturbo_turbojpeg_TJ_PF_BGR 29 #define org_libjpegturbo_turbojpeg_TJ_PF_BGR 1L 30 #undef org_libjpegturbo_turbojpeg_TJ_PF_RGBX 31 #define org_libjpegturbo_turbojpeg_TJ_PF_RGBX 2L 32 #undef org_libjpegturbo_turbojpeg_TJ_PF_BGRX 33 #define org_libjpegturbo_turbojpeg_TJ_PF_BGRX 3L 34 #undef org_libjpegturbo_turbojpeg_TJ_PF_XBGR 35 #define org_libjpegturbo_turbojpeg_TJ_PF_XBGR 4L 36 #undef org_libjpegturbo_turbojpeg_TJ_PF_XRGB 37 #define org_libjpegturbo_turbojpeg_TJ_PF_XRGB 5L 38 #undef org_libjpegturbo_turbojpeg_TJ_PF_GRAY 39 #define org_libjpegturbo_turbojpeg_TJ_PF_GRAY 6L 40 #undef org_libjpegturbo_turbojpeg_TJ_PF_RGBA 41 #define org_libjpegturbo_turbojpeg_TJ_PF_RGBA 7L 42 #undef org_libjpegturbo_turbojpeg_TJ_PF_BGRA 43 #define org_libjpegturbo_turbojpeg_TJ_PF_BGRA 8L 44 #undef org_libjpegturbo_turbojpeg_TJ_PF_ABGR 45 #define org_libjpegturbo_turbojpeg_TJ_PF_ABGR 9L 46 #undef org_libjpegturbo_turbojpeg_TJ_PF_ARGB 47 #define org_libjpegturbo_turbojpeg_TJ_PF_ARGB 10L 48 #undef org_libjpegturbo_turbojpeg_TJ_PF_CMYK 49 #define org_libjpegturbo_turbojpeg_TJ_PF_CMYK 11L 50 #undef org_libjpegturbo_turbojpeg_TJ_NUMCS 51 #define org_libjpegturbo_turbojpeg_TJ_NUMCS 5L 52 #undef org_libjpegturbo_turbojpeg_TJ_CS_RGB 53 #define org_libjpegturbo_turbojpeg_TJ_CS_RGB 0L 54 #undef org_libjpegturbo_turbojpeg_TJ_CS_YCbCr 55 #define org_libjpegturbo_turbojpeg_TJ_CS_YCbCr 1L 56 #undef org_libjpegturbo_turbojpeg_TJ_CS_GRAY 57 #define org_libjpegturbo_turbojpeg_TJ_CS_GRAY 2L 58 #undef org_libjpegturbo_turbojpeg_TJ_CS_CMYK 59 #define org_libjpegturbo_turbojpeg_TJ_CS_CMYK 3L 60 #undef org_libjpegturbo_turbojpeg_TJ_CS_YCCK 61 #define org_libjpegturbo_turbojpeg_TJ_CS_YCCK 4L 62 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_BOTTOMUP 63 #define org_libjpegturbo_turbojpeg_TJ_FLAG_BOTTOMUP 2L 64 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FORCEMMX 65 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FORCEMMX 8L 66 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FORCESSE 67 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FORCESSE 16L 68 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FORCESSE2 69 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FORCESSE2 32L 70 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FORCESSE3 71 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FORCESSE3 128L 72 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FASTUPSAMPLE 73 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FASTUPSAMPLE 256L 74 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FASTDCT 75 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FASTDCT 2048L 76 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_ACCURATEDCT 77 #define org_libjpegturbo_turbojpeg_TJ_FLAG_ACCURATEDCT 4096L 78 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_STOPONWARNING 79 #define org_libjpegturbo_turbojpeg_TJ_FLAG_STOPONWARNING 8192L 80 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_PROGRESSIVE 81 #define org_libjpegturbo_turbojpeg_TJ_FLAG_PROGRESSIVE 16384L 82 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_LIMITSCANS 83 #define org_libjpegturbo_turbojpeg_TJ_FLAG_LIMITSCANS 32768L 84 #undef org_libjpegturbo_turbojpeg_TJ_NUMERR 85 #define org_libjpegturbo_turbojpeg_TJ_NUMERR 2L 86 #undef org_libjpegturbo_turbojpeg_TJ_ERR_WARNING 87 #define org_libjpegturbo_turbojpeg_TJ_ERR_WARNING 0L 88 #undef org_libjpegturbo_turbojpeg_TJ_ERR_FATAL 89 #define org_libjpegturbo_turbojpeg_TJ_ERR_FATAL 1L 90 /* 91 * Class: org_libjpegturbo_turbojpeg_TJ 92 * Method: bufSize 93 * Signature: (III)I 94 */ 95 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_bufSize 96 (JNIEnv *, jclass, jint, jint, jint); 97 98 /* 99 * Class: org_libjpegturbo_turbojpeg_TJ 100 * Method: bufSizeYUV 101 * Signature: (IIII)I 102 */ 103 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__IIII 104 (JNIEnv *, jclass, jint, jint, jint, jint); 105 106 /* 107 * Class: org_libjpegturbo_turbojpeg_TJ 108 * Method: bufSizeYUV 109 * Signature: (III)I 110 */ 111 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__III 112 (JNIEnv *, jclass, jint, jint, jint); 113 114 /* 115 * Class: org_libjpegturbo_turbojpeg_TJ 116 * Method: planeSizeYUV 117 * Signature: (IIIII)I 118 */ 119 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII 120 (JNIEnv *, jclass, jint, jint, jint, jint, jint); 121 122 /* 123 * Class: org_libjpegturbo_turbojpeg_TJ 124 * Method: planeWidth 125 * Signature: (III)I 126 */ 127 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_planeWidth__III 128 (JNIEnv *, jclass, jint, jint, jint); 129 130 /* 131 * Class: org_libjpegturbo_turbojpeg_TJ 132 * Method: planeHeight 133 * Signature: (III)I 134 */ 135 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_planeHeight__III 136 (JNIEnv *, jclass, jint, jint, jint); 137 138 /* 139 * Class: org_libjpegturbo_turbojpeg_TJ 140 * Method: getScalingFactors 141 * Signature: ()[Lorg/libjpegturbo/turbojpeg/TJScalingFactor; 142 */ 143 JNIEXPORT jobjectArray JNICALL Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors 144 (JNIEnv *, jclass); 145 146 #ifdef __cplusplus 147 } 148 #endif 149 #endif 150