Lines Matching refs:htbl
168 #define HUFF_DECODE(result,state,htbl,failaction,slowlabel) \
178 if ((nb = htbl->look_nbits[look]) != 0) { \
180 result = htbl->look_sym[look]; \
184 if ((result=jpeg_huff_decode(&state,get_buffer,bits_left,htbl,nb)) < 0) \
280 JHUFF_TBL *htbl;
289 * paralleling the order of the symbols themselves in htbl->huffval[].
295 htbl =
297 if (htbl == NULL)
306 dtbl->pub = htbl; /* fill in back link */
312 i = (int) htbl->bits[l];
345 if (htbl->bits[l]) {
350 p += htbl->bits[l];
369 for (i = 1; i <= (int) htbl->bits[l]; i++, p++) {
375 dtbl->look_sym[lookbits] = htbl->huffval[p];
389 int sym = htbl->huffval[i];
548 d_derived_tbl * htbl, int min_bits)
562 while (code > htbl->maxcode[l]) {
580 return htbl->pub->huffval[ (int) (code + htbl->valoffset[l]) ];
1031 d_derived_tbl * htbl;
1038 htbl = entropy->dc_cur_tbls[blkn];
1039 HUFF_DECODE(s, br_state, htbl, return FALSE, label1);
1041 htbl = entropy->ac_cur_tbls[blkn];
1060 HUFF_DECODE(s, br_state, htbl, return FALSE, label2);
1091 HUFF_DECODE(s, br_state, htbl, return FALSE, label3);