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