| OLD | NEW |
| 1 /* | 1 /* |
| 2 * jpeglib.h | 2 * jpeglib.h |
| 3 * | 3 * |
| 4 * Copyright (C) 1991-1998, Thomas G. Lane. | 4 * Copyright (C) 1991-1998, Thomas G. Lane. |
| 5 * Copyright (C) 2009, D. R. Commander. | 5 * Copyright (C) 2009, D. R. Commander. |
| 6 * This file is part of the Independent JPEG Group's software. | 6 * This file is part of the Independent JPEG Group's software. |
| 7 * For conditions of distribution and use, see the accompanying README file. | 7 * For conditions of distribution and use, see the accompanying README file. |
| 8 * | 8 * |
| 9 * This file defines the application interface for the JPEG library. | 9 * This file defines the application interface for the JPEG library. |
| 10 * Most applications using the library need only include this file, | 10 * Most applications using the library need only include this file, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 JCS_RGB, /* red/green/blue as specified by the RGB_RED, R
GB_GREEN, | 220 JCS_RGB, /* red/green/blue as specified by the RGB_RED, R
GB_GREEN, |
| 221 RGB_BLUE, and RGB_PIXELSIZE macros */ | 221 RGB_BLUE, and RGB_PIXELSIZE macros */ |
| 222 JCS_YCbCr, /* Y/Cb/Cr (also known as YUV) */ | 222 JCS_YCbCr, /* Y/Cb/Cr (also known as YUV) */ |
| 223 JCS_CMYK, /* C/M/Y/K */ | 223 JCS_CMYK, /* C/M/Y/K */ |
| 224 JCS_YCCK, /* Y/Cb/Cr/K */ | 224 JCS_YCCK, /* Y/Cb/Cr/K */ |
| 225 JCS_EXT_RGB, /* red/green/blue */ | 225 JCS_EXT_RGB, /* red/green/blue */ |
| 226 JCS_EXT_RGBX, /* red/green/blue/x */ | 226 JCS_EXT_RGBX, /* red/green/blue/x */ |
| 227 JCS_EXT_BGR, /* blue/green/red */ | 227 JCS_EXT_BGR, /* blue/green/red */ |
| 228 JCS_EXT_BGRX, /* blue/green/red/x */ | 228 JCS_EXT_BGRX, /* blue/green/red/x */ |
| 229 JCS_EXT_XBGR, /* x/blue/green/red */ | 229 JCS_EXT_XBGR, /* x/blue/green/red */ |
| 230 » JCS_EXT_XRGB» » /* x/red/green/blue */ | 230 » JCS_EXT_XRGB,» » /* x/red/green/blue */ |
| 231 » JCS_EXT_BGRA,» » /* blue/green/red/alpha */ |
| 231 } J_COLOR_SPACE; | 232 } J_COLOR_SPACE; |
| 232 | 233 |
| 233 /* DCT/IDCT algorithm options. */ | 234 /* DCT/IDCT algorithm options. */ |
| 234 | 235 |
| 235 typedef enum { | 236 typedef enum { |
| 236 JDCT_ISLOW, /* slow but accurate integer algorithm */ | 237 JDCT_ISLOW, /* slow but accurate integer algorithm */ |
| 237 JDCT_IFAST, /* faster, less accurate integer method */ | 238 JDCT_IFAST, /* faster, less accurate integer method */ |
| 238 JDCT_FLOAT /* floating-point: accurate, fast on fast HW */ | 239 JDCT_FLOAT /* floating-point: accurate, fast on fast HW */ |
| 239 } J_DCT_METHOD; | 240 } J_DCT_METHOD; |
| 240 | 241 |
| (...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 #ifdef JPEG_INTERNALS | 1110 #ifdef JPEG_INTERNALS |
| 1110 #include "jpegint.h" /* fetch private declarations */ | 1111 #include "jpegint.h" /* fetch private declarations */ |
| 1111 #include "jerror.h" /* fetch error codes too */ | 1112 #include "jerror.h" /* fetch error codes too */ |
| 1112 #endif | 1113 #endif |
| 1113 | 1114 |
| 1114 #ifdef __cplusplus | 1115 #ifdef __cplusplus |
| 1115 } | 1116 } |
| 1116 #endif | 1117 #endif |
| 1117 | 1118 |
| 1118 #endif /* JPEGLIB_H */ | 1119 #endif /* JPEGLIB_H */ |
| OLD | NEW |