OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jidctfst.c | 2 * jidctfst.c |
4 * | 3 * |
5 * Copyright (C) 1994-1998, Thomas G. Lane. | 4 * Copyright (C) 1994-1998, 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 a fast, not so accurate integer implementation of the | 8 * This file contains a fast, not so accurate integer implementation of the |
10 * inverse DCT (Discrete Cosine Transform). In the IJG code, this routine | 9 * inverse DCT (Discrete Cosine Transform). In the IJG code, this routine |
11 * must also perform dequantization of the input coefficients. | 10 * must also perform dequantization of the input coefficients. |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) | 359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) |
361 & RANGE_MASK]; | 360 & RANGE_MASK]; |
362 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3) | 361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3) |
363 & RANGE_MASK]; | 362 & RANGE_MASK]; |
364 | 363 |
365 wsptr += DCTSIZE; /* advance pointer to next row */ | 364 wsptr += DCTSIZE; /* advance pointer to next row */ |
366 } | 365 } |
367 } | 366 } |
368 | 367 |
369 #endif /* DCT_IFAST_SUPPORTED */ | 368 #endif /* DCT_IFAST_SUPPORTED */ |
370 | |
371 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |