OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdapimin.c | 2 * jdapimin.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 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 "minimum" API routines that may be | 9 * of the JPEG library. These are the "minimum" API routines that may be |
11 * needed in either the normal full-decompression case or the | 10 * needed in either the normal full-decompression case or the |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 while (! cinfo->inputctl->eoi_reached) { | 386 while (! cinfo->inputctl->eoi_reached) { |
388 if ((*cinfo->inputctl->consume_input) (cinfo) == JPEG_SUSPENDED) | 387 if ((*cinfo->inputctl->consume_input) (cinfo) == JPEG_SUSPENDED) |
389 return FALSE; /* Suspend, come back later */ | 388 return FALSE; /* Suspend, come back later */ |
390 } | 389 } |
391 /* Do final cleanup */ | 390 /* Do final cleanup */ |
392 (*cinfo->src->term_source) (cinfo); | 391 (*cinfo->src->term_source) (cinfo); |
393 /* We can use jpeg_abort to release memory and reset global_state */ | 392 /* We can use jpeg_abort to release memory and reset global_state */ |
394 jpeg_abort((j_common_ptr) cinfo); | 393 jpeg_abort((j_common_ptr) cinfo); |
395 return TRUE; | 394 return TRUE; |
396 } | 395 } |
397 | |
398 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |