search for: huffmant

Displaying 4 results from an estimated 4 matches for "huffmant".

Did you mean: huffman
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...lude "huffman.h" #include "jpeg_debug.h" +#define DEBUG printf + /* misc helper function definitions */ static char *sprintbits (char *str, unsigned int bits, int n); -#undef JPEG_LOG -#define JPEG_LOG(...) +#define TRUE 1 +#define FALSE 0 void huffman_table_dump (HuffmanTable * table) @@ -24,16 +30,16 @@ huffman_table_dump (HuffmanTable * table unsigned int n_bits; unsigned int code; char str[33]; - unsigned int i; + int i; HuffmanEntry *entry; - JPEG_LOG ("dumping huffman table %p", table); + OIL_DEBUG ("dumping huffman table %p&quo...
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...OIL_DEBUG(...) do { } while (0) - -#include "huffman.h" -#include "jpeg_debug.h" - -#define DEBUG printf - -/* misc helper function definitions */ - -static char *sprintbits (char *str, unsigned int bits, int n); - - -#define TRUE 1 -#define FALSE 0 - -void -huffman_table_dump (HuffmanTable * table) -{ - unsigned int n_bits; - unsigned int code; - char str[33]; - int i; - HuffmanEntry *entry; - - OIL_DEBUG ("dumping huffman table %p", table); - for (i = 0; i < table->len; i++) { - entry = table->entries + i; - n_bits = entry->n_bits; - code =...
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 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...? '1' : '0'; + bit >>= 1; + } + str[i] = 0; + + return str; +} + +static void generate_code_table (int *huffsize) { int code; @@ -220,8 +233,9 @@ generate_code_table (int *huffsize) } } +#endif -int +static int huffman_table_init_jpeg (JpegDecoder *decoder, HuffmanTable *table, JpegBits * bits) { int n_symbols; @@ -272,7 +286,7 @@ huffman_table_init_jpeg (JpegDecoder *de return n; } -int +static int jpeg_decoder_find_component_by_id (JpegDecoder * dec, int id) { int i; @@ -537,7 +551,7 @@ jpeg_decoder_free (JpegDecoder * dec) free (dec); }...