Lines Matching refs:tbl
110 int ci, tbl;
154 tbl = compptr->dc_tbl_no;
156 entropy->ac_tbl_no = tbl = compptr->ac_tbl_no;
161 if (tbl < 0 || tbl >= NUM_HUFF_TBLS)
162 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tbl);
165 if (entropy->count_ptrs[tbl] == NULL)
166 entropy->count_ptrs[tbl] = (long *)
169 MEMZERO(entropy->count_ptrs[tbl], 257 * SIZEOF(long));
173 jpeg_make_c_derived_tbl(cinfo, is_DC_band, tbl,
174 & entropy->derived_tbls[tbl]);
286 c_derived_tbl * tbl = entropy->derived_tbls[tbl_no];
287 emit_bits(entropy, tbl->ehufco[symbol], tbl->ehufsi[symbol]);
771 int ci, tbl;
791 tbl = compptr->dc_tbl_no;
793 tbl = compptr->ac_tbl_no;
795 if (! did[tbl]) {
797 htblptr = & cinfo->dc_huff_tbl_ptrs[tbl];
799 htblptr = & cinfo->ac_huff_tbl_ptrs[tbl];
802 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]);
803 did[tbl] = TRUE;