OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jcsample.c | 2 * jcsample.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 downsampling routines. | 8 * This file contains downsampling routines. |
10 * | 9 * |
11 * Downsampling input data is counted in "row groups". A row group | 10 * Downsampling input data is counted in "row groups". A row group |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 downsample->methods[ci] = int_downsample; | 510 downsample->methods[ci] = int_downsample; |
512 } else | 511 } else |
513 ERREXIT(cinfo, JERR_FRACT_SAMPLE_NOTIMPL); | 512 ERREXIT(cinfo, JERR_FRACT_SAMPLE_NOTIMPL); |
514 } | 513 } |
515 | 514 |
516 #ifdef INPUT_SMOOTHING_SUPPORTED | 515 #ifdef INPUT_SMOOTHING_SUPPORTED |
517 if (cinfo->smoothing_factor && !smoothok) | 516 if (cinfo->smoothing_factor && !smoothok) |
518 TRACEMS(cinfo, 0, JTRC_SMOOTH_NOTIMPL); | 517 TRACEMS(cinfo, 0, JTRC_SMOOTH_NOTIMPL); |
519 #endif | 518 #endif |
520 } | 519 } |
521 | |
522 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |