OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jcphuff.c | 2 * jcphuff.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 encoding routines for progressive JPEG. | 8 * This file contains Huffman entropy encoding routines for progressive JPEG. |
10 * | 9 * |
11 * We do not support output suspension in this module, since the library | 10 * We do not support output suspension in this module, since the library |
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 | 824 |
826 /* Mark tables unallocated */ | 825 /* Mark tables unallocated */ |
827 for (i = 0; i < NUM_HUFF_TBLS; i++) { | 826 for (i = 0; i < NUM_HUFF_TBLS; i++) { |
828 entropy->derived_tbls[i] = NULL; | 827 entropy->derived_tbls[i] = NULL; |
829 entropy->count_ptrs[i] = NULL; | 828 entropy->count_ptrs[i] = NULL; |
830 } | 829 } |
831 entropy->bit_buffer = NULL; /* needed only in AC refinement scan */ | 830 entropy->bit_buffer = NULL; /* needed only in AC refinement scan */ |
832 } | 831 } |
833 | 832 |
834 #endif /* C_PROGRESSIVE_SUPPORTED */ | 833 #endif /* C_PROGRESSIVE_SUPPORTED */ |
835 | |
836 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |