OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdpostct.c | 2 * jdpostct.c |
4 * | 3 * |
5 * Copyright (C) 1994-1996, Thomas G. Lane. | 4 * Copyright (C) 1994-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 the decompression postprocessing controller. | 8 * This file contains the decompression postprocessing controller. |
10 * This controller manages the upsampling, color conversion, and color | 9 * This controller manages the upsampling, color conversion, and color |
11 * quantization/reduction steps; specifically, it controls the buffering | 10 * quantization/reduction steps; specifically, it controls the buffering |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 #endif /* QUANT_2PASS_SUPPORTED */ | 281 #endif /* QUANT_2PASS_SUPPORTED */ |
283 } else { | 282 } else { |
284 /* One-pass color quantization: just make a strip buffer. */ | 283 /* One-pass color quantization: just make a strip buffer. */ |
285 post->buffer = (*cinfo->mem->alloc_sarray) | 284 post->buffer = (*cinfo->mem->alloc_sarray) |
286 ((j_common_ptr) cinfo, JPOOL_IMAGE, | 285 ((j_common_ptr) cinfo, JPOOL_IMAGE, |
287 cinfo->output_width * cinfo->out_color_components, | 286 cinfo->output_width * cinfo->out_color_components, |
288 post->strip_height); | 287 post->strip_height); |
289 } | 288 } |
290 } | 289 } |
291 } | 290 } |
292 | |
293 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |