OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdtrans.c | 2 * jdtrans.c |
4 * | 3 * |
5 * Copyright (C) 1995-1997, Thomas G. Lane. | 4 * Copyright (C) 1995-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 library routines for transcoding decompression, | 8 * This file contains library routines for transcoding decompression, |
10 * that is, reading raw DCT coefficient arrays from an input JPEG file. | 9 * that is, reading raw DCT coefficient arrays from an input JPEG file. |
11 * The routines in jdapimin.c will also be needed by a transcoder. | 10 * The routines in jdapimin.c will also be needed by a transcoder. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 nscans = cinfo->num_components; | 134 nscans = cinfo->num_components; |
136 } else { | 135 } else { |
137 nscans = 1; | 136 nscans = 1; |
138 } | 137 } |
139 cinfo->progress->pass_counter = 0L; | 138 cinfo->progress->pass_counter = 0L; |
140 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; | 139 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; |
141 cinfo->progress->completed_passes = 0; | 140 cinfo->progress->completed_passes = 0; |
142 cinfo->progress->total_passes = 1; | 141 cinfo->progress->total_passes = 1; |
143 } | 142 } |
144 } | 143 } |
145 | |
146 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |