OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jccolor.c | 2 * jccolor.c |
4 * | 3 * |
5 * Copyright (C) 1991-1996, Thomas G. Lane. | 4 * Copyright (C) 1991-1996, Thomas G. Lane. |
6 * This file is part of the Independent JPEG Group's software. | 5 * This file is part of the Independent JPEG Group's software. |
7 * For conditions of distribution and use, see the accompanying README file. | 6 * For conditions of distribution and use, see the accompanying README file. |
8 * | 7 * |
9 * This file contains input colorspace conversion routines. | 8 * This file contains input colorspace conversion routines. |
10 */ | 9 */ |
11 | 10 |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 break; | 450 break; |
452 | 451 |
453 default: /* allow null conversion of JCS_UNKNOWN */ | 452 default: /* allow null conversion of JCS_UNKNOWN */ |
454 if (cinfo->jpeg_color_space != cinfo->in_color_space || | 453 if (cinfo->jpeg_color_space != cinfo->in_color_space || |
455 cinfo->num_components != cinfo->input_components) | 454 cinfo->num_components != cinfo->input_components) |
456 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL); | 455 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL); |
457 cconvert->pub.color_convert = null_convert; | 456 cconvert->pub.color_convert = null_convert; |
458 break; | 457 break; |
459 } | 458 } |
460 } | 459 } |
461 | |
462 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |