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_FASTUPSAMPLE 65 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FASTUPSAMPLE 256L 66 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_FASTDCT 67 #define org_libjpegturbo_turbojpeg_TJ_FLAG_FASTDCT 2048L 68 #undef org_libjpegturbo_turbojpeg_TJ_FLAG_ACCURATEDCT 69 #define org_libjpegturbo_turbojpeg_TJ_FLAG_ACCURATEDCT 4096L 70 /* 71 * Class: org_libjpegturbo_turbojpeg_TJ 72 * Method: bufSize 73 * Signature: (III)I 74 */ 75 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_bufSize 76 (JNIEnv *, jclass, jint, jint, jint); 77 78 /* 79 * Class: org_libjpegturbo_turbojpeg_TJ 80 * Method: bufSizeYUV 81 * Signature: (IIII)I 82 */ 83 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__IIII 84 (JNIEnv *, jclass, jint, jint, jint, jint); 85 86 /* 87 * Class: org_libjpegturbo_turbojpeg_TJ 88 * Method: bufSizeYUV 89 * Signature: (III)I 90 */ 91 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__III 92 (JNIEnv *, jclass, jint, jint, jint); 93 94 /* 95 * Class: org_libjpegturbo_turbojpeg_TJ 96 * Method: planeSizeYUV 97 * Signature: (IIIII)I 98 */ 99 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII 100 (JNIEnv *, jclass, jint, jint, jint, jint, jint); 101 102 /* 103 * Class: org_libjpegturbo_turbojpeg_TJ 104 * Method: planeWidth 105 * Signature: (III)I 106 */ 107 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_planeWidth__III 108 (JNIEnv *, jclass, jint, jint, jint); 109 110 /* 111 * Class: org_libjpegturbo_turbojpeg_TJ 112 * Method: planeHeight 113 * Signature: (III)I 114 */ 115 JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJ_planeHeight__III 116 (JNIEnv *, jclass, jint, jint, jint); 117 118 /* 119 * Class: org_libjpegturbo_turbojpeg_TJ 120 * Method: getScalingFactors 121 * Signature: ()[Lorg/libjpegturbo/turbojpeg/TJScalingFactor; 122 */ 123 JNIEXPORT jobjectArray JNICALL Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors 124 (JNIEnv *, jclass); 125 126 #ifdef __cplusplus 127 } 128 #endif 129 #endif 130