OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdapistd.c | 2 * jdapistd.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 application interface code for the decompression half | 8 * This file contains application interface code for the decompression half |
10 * of the JPEG library. These are the "standard" API routines that are | 9 * of the JPEG library. These are the "standard" API routines that are |
11 * used in the normal full-decompression case. They are not used by a | 10 * used in the normal full-decompression case. They are not used by a |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 while (cinfo->input_scan_number <= cinfo->output_scan_number && | 267 while (cinfo->input_scan_number <= cinfo->output_scan_number && |
269 ! cinfo->inputctl->eoi_reached) { | 268 ! cinfo->inputctl->eoi_reached) { |
270 if ((*cinfo->inputctl->consume_input) (cinfo) == JPEG_SUSPENDED) | 269 if ((*cinfo->inputctl->consume_input) (cinfo) == JPEG_SUSPENDED) |
271 return FALSE; /* Suspend, come back later */ | 270 return FALSE; /* Suspend, come back later */ |
272 } | 271 } |
273 cinfo->global_state = DSTATE_BUFIMAGE; | 272 cinfo->global_state = DSTATE_BUFIMAGE; |
274 return TRUE; | 273 return TRUE; |
275 } | 274 } |
276 | 275 |
277 #endif /* D_MULTISCAN_FILES_SUPPORTED */ | 276 #endif /* D_MULTISCAN_FILES_SUPPORTED */ |
278 | |
279 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |