OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jchuff.c | 2 * jchuff.c |
4 * | 3 * |
5 * Copyright (C) 1991-1997, Thomas G. Lane. | 4 * Copyright (C) 1991-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 encoding routines. | 8 * This file contains Huffman entropy encoding routines. |
10 * | 9 * |
11 * Much of the complexity here has to do with supporting output suspension. | 10 * Much of the complexity here has to do with supporting output suspension. |
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 entropy->pub.start_pass = start_pass_huff; | 903 entropy->pub.start_pass = start_pass_huff; |
905 | 904 |
906 /* Mark tables unallocated */ | 905 /* Mark tables unallocated */ |
907 for (i = 0; i < NUM_HUFF_TBLS; i++) { | 906 for (i = 0; i < NUM_HUFF_TBLS; i++) { |
908 entropy->dc_derived_tbls[i] = entropy->ac_derived_tbls[i] = NULL; | 907 entropy->dc_derived_tbls[i] = entropy->ac_derived_tbls[i] = NULL; |
909 #ifdef ENTROPY_OPT_SUPPORTED | 908 #ifdef ENTROPY_OPT_SUPPORTED |
910 entropy->dc_count_ptrs[i] = entropy->ac_count_ptrs[i] = NULL; | 909 entropy->dc_count_ptrs[i] = entropy->ac_count_ptrs[i] = NULL; |
911 #endif | 910 #endif |
912 } | 911 } |
913 } | 912 } |
914 | |
915 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |