OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdphuff.c | 2 * jdphuff.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 Huffman entropy decoding routines for progressive JPEG. | 8 * This file contains Huffman entropy decoding routines for progressive JPEG. |
10 * | 9 * |
11 * Much of the complexity here has to do with supporting input suspension. | 10 * Much of the complexity here has to do with supporting input suspension. |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 cinfo->coef_bits = (int (*)[DCTSIZE2]) | 659 cinfo->coef_bits = (int (*)[DCTSIZE2]) |
661 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, | 660 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, |
662 cinfo->num_components*DCTSIZE2*SIZEOF(int)); | 661 cinfo->num_components*DCTSIZE2*SIZEOF(int)); |
663 coef_bit_ptr = & cinfo->coef_bits[0][0]; | 662 coef_bit_ptr = & cinfo->coef_bits[0][0]; |
664 for (ci = 0; ci < cinfo->num_components; ci++) | 663 for (ci = 0; ci < cinfo->num_components; ci++) |
665 for (i = 0; i < DCTSIZE2; i++) | 664 for (i = 0; i < DCTSIZE2; i++) |
666 *coef_bit_ptr++ = -1; | 665 *coef_bit_ptr++ = -1; |
667 } | 666 } |
668 | 667 |
669 #endif /* D_PROGRESSIVE_SUPPORTED */ | 668 #endif /* D_PROGRESSIVE_SUPPORTED */ |
670 | |
671 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |