OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdcolor.c | 2 * jdcolor.c |
4 * | 3 * |
5 * Copyright (C) 1991-1997, Thomas G. Lane. | 4 * Copyright (C) 1991-1997, 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 output colorspace conversion routines. | 8 * This file contains output colorspace conversion routines. |
10 */ | 9 */ |
11 | 10 |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 } else /* unsupported non-null conversion */ | 387 } else /* unsupported non-null conversion */ |
389 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL); | 388 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL); |
390 break; | 389 break; |
391 } | 390 } |
392 | 391 |
393 if (cinfo->quantize_colors) | 392 if (cinfo->quantize_colors) |
394 cinfo->output_components = 1; /* single colormapped output component */ | 393 cinfo->output_components = 1; /* single colormapped output component */ |
395 else | 394 else |
396 cinfo->output_components = cinfo->out_color_components; | 395 cinfo->output_components = cinfo->out_color_components; |
397 } | 396 } |
398 | |
399 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |