![]() |
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.

| int buf_getv | ( | int | n | ) |
Definition at line 137 of file huffman.c.
References current_read_byte, lmask, pgetc(), and read_position.

| 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.

| void DecodeHuffMCU | ( | int * | out_buf, |
| int | num_cmp | ||
| ) |
Definition at line 281 of file huffman.c.
References bit_set_mask, buf_getv(), DCTSIZE2, DecodeHuffman(), extend_mask, k, p_jinfo_ac_dhuff_tbl_maxcode, p_jinfo_ac_dhuff_tbl_mincode, p_jinfo_ac_dhuff_tbl_ml, p_jinfo_ac_dhuff_tbl_valptr, p_jinfo_ac_xhuff_tbl_huffval, p_jinfo_comps_info_dc_tbl_no, p_jinfo_dc_dhuff_tbl_maxcode, p_jinfo_dc_dhuff_tbl_mincode, p_jinfo_dc_dhuff_tbl_ml, p_jinfo_dc_dhuff_tbl_valptr, and p_jinfo_dc_xhuff_tbl_huffval.

| 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 | ||
| ) |
|
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] |
|
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] |
|
static |
Definition at line 86 of file huffman.c.
Referenced by buf_getb(), and buf_getv().
1.8.13