search for: hufftab

Displaying 3 results from an estimated 3 matches for "hufftab".

Did you mean: huffman
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...return -1; } symbol <<= 1; @@ -362,65 +252,7 @@ huffman_table_new_jpeg (bits_t * bits) huffman_table_dump (table); - return table; -} - -int -jpeg_decoder_define_huffman_table (JpegDecoder * dec, bits_t * bits) -{ - int length; - int tc; - int th; - HuffmanTable *hufftab; - - OIL_DEBUG ("define huffman table"); - - length = get_be_u16 (bits); - bits->end = bits->ptr + length - 2; - - while (bits->ptr < bits->end) { - tc = getbits (bits, 4); - th = getbits (bits, 4); - - OIL_DEBUG ("huff table index %d:", th); - OIL...
2007 Apr 18
2
libswfdec/jpeg
libswfdec/jpeg/jpeg_rgb_decoder.c | 1 - 1 files changed, 1 deletion(-) New commits: diff-tree 15ed4a69b4ffc265fe103ba79a0b60af7e42a9fa (from 2073f39bc0b0aa90f1f67def9bb3f0c6b68018ae) Author: Benjamin Otte <otte@gnome.org> Date: Wed Apr 18 10:47:06 2007 +0200 remove leftover debugging statement diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...) (1 << (i + 1))) { - JPEG_WARNING ("bad huffsize[] array"); + if (symbol >= (1U << (i + 1))) { + OIL_DEBUG ("bad huffsize[] array"); return NULL; } @@ -396,7 +373,7 @@ jpeg_decoder_define_huffman_table (JpegD int th; HuffmanTable *hufftab; - JPEG_DEBUG ("define huffman table"); + OIL_DEBUG ("define huffman table"); length = get_be_u16 (bits); bits->end = bits->ptr + length - 2; @@ -405,8 +382,8 @@ jpeg_decoder_define_huffman_table (JpegD tc = getbits (bits, 4); th = getbits (bits, 4);...