OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdcoefct.c | 2 * jdcoefct.c |
4 * | 3 * |
5 * Copyright (C) 1994-1997, Thomas G. Lane. | 4 * Copyright (C) 1994-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 the coefficient buffer controller for decompression. | 8 * This file contains the coefficient buffer controller for decompression. |
10 * This controller is the top level of the JPEG decompressor proper. | 9 * This controller is the top level of the JPEG decompressor proper. |
11 * The coefficient buffer lies between entropy decoding and inverse-DCT steps. | 10 * The coefficient buffer lies between entropy decoding and inverse-DCT steps. |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE, | 727 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE, |
729 D_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); | 728 D_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); |
730 for (i = 0; i < D_MAX_BLOCKS_IN_MCU; i++) { | 729 for (i = 0; i < D_MAX_BLOCKS_IN_MCU; i++) { |
731 coef->MCU_buffer[i] = buffer + i; | 730 coef->MCU_buffer[i] = buffer + i; |
732 } | 731 } |
733 coef->pub.consume_data = dummy_consume_data; | 732 coef->pub.consume_data = dummy_consume_data; |
734 coef->pub.decompress_data = decompress_onepass; | 733 coef->pub.decompress_data = decompress_onepass; |
735 coef->pub.coef_arrays = NULL; /* flag for no virtual arrays */ | 734 coef->pub.coef_arrays = NULL; /* flag for no virtual arrays */ |
736 } | 735 } |
737 } | 736 } |
738 | |
739 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |