PandA-2024.02
|
Go to the source code of this file.
Functions | |
static int | pgetc () |
int | buf_getb () |
int | buf_getv (int n) |
int | huff_make_dhuff_tb (int *p_xhtbl_bits, int p_dhtbl_ml, int *p_dhtbl_maxcode, int *p_dhtbl_mincode, int *p_dhtbl_valptr) |
int | DecodeHuffman (int *Xhuff_huffval, int Dhuff_ml, int *Dhuff_maxcode, int *Dhuff_mincode, int *Dhuff_valptr) |
void | DecodeHuffMCU (int *out_buf, int num_cmp) |
Variables | |
static const int | extend_mask [20] |
const int | bit_set_mask [32] |
const int | lmask [32] |
static unsigned int | current_read_byte |
static int | read_position = -1 |
int buf_getb | ( | ) |
Definition at line 116 of file huffman.c.
References bit_set_mask, current_read_byte, pgetc(), and read_position.
Referenced by DecodeHuffman().
int buf_getv | ( | int | n | ) |
Definition at line 137 of file huffman.c.
References current_read_byte, lmask, pgetc(), and read_position.
Referenced by DecodeHuffMCU().
int DecodeHuffman | ( | int * | Xhuff_huffval, |
int | Dhuff_ml, | ||
int * | Dhuff_maxcode, | ||
int * | Dhuff_mincode, | ||
int * | Dhuff_valptr | ||
) |
Definition at line 251 of file huffman.c.
References buf_getb(), EXIT, and main_result.
Referenced by DecodeHuffMCU().
void DecodeHuffMCU | ( | int * | out_buf, |
int | num_cmp | ||
) |
Definition at line 281 of file huffman.c.
Referenced by decode_block().
int huff_make_dhuff_tb | ( | int * | p_xhtbl_bits, |
int | p_dhtbl_ml, | ||
int * | p_dhtbl_maxcode, | ||
int * | p_dhtbl_mincode, | ||
int * | p_dhtbl_valptr | ||
) |
Definition at line 179 of file huffman.c.
Referenced by jpeg_init_decompress().
|
static |
Definition at line 93 of file huffman.c.
References CurHuffReadBuf, and MARKER_MARKER.
Referenced by buf_getb(), and buf_getv().
const int bit_set_mask[32] |
Definition at line 63 of file huffman.c.
Referenced by buf_getb(), and DecodeHuffMCU().
|
static |
Definition at line 85 of file huffman.c.
Referenced by buf_getb(), and buf_getv().
|
static |
Definition at line 54 of file huffman.c.
Referenced by DecodeHuffMCU().
const int lmask[32] |
Definition at line 74 of file huffman.c.
Referenced by buf_getv().
|
static |
Definition at line 86 of file huffman.c.
Referenced by buf_getb(), and buf_getv().