Lines Matching defs:tbl
367 int blkn, ci, tbl;
386 tbl = cinfo->cur_comp_info[ci]->dc_tbl_no;
396 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
423 st = entropy->dc_stats[tbl] + 20; /* Table F.4: X1 = 20 */
432 if (m < (int) ((1L << cinfo->arith_dc_L[tbl]) >> 1))
434 else if (m > (int) ((1L << cinfo->arith_dc_U[tbl]) >> 1))
458 int tbl, k, ke;
474 tbl = cinfo->cur_comp_info[0]->ac_tbl_no;
493 st = entropy->ac_stats[tbl] + 3 * (k - 1);
522 st = entropy->ac_stats[tbl] +
523 (k <= cinfo->arith_ac_K[tbl] ? 189 : 217);
539 st = entropy->ac_stats[tbl] + 3 * (k - 1);
592 int tbl, k, ke, kex;
608 tbl = cinfo->cur_comp_info[0]->ac_tbl_no;
636 st = entropy->ac_stats[tbl] + 3 * (k - 1);
667 st = entropy->ac_stats[tbl] + 3 * (k - 1);
686 int blkn, ci, tbl, k, ke;
708 tbl = compptr->dc_tbl_no;
711 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
738 st = entropy->dc_stats[tbl] + 20; /* Table F.4: X1 = 20 */
747 if (m < (int) ((1L << cinfo->arith_dc_L[tbl]) >> 1))
749 else if (m > (int) ((1L << cinfo->arith_dc_U[tbl]) >> 1))
759 tbl = compptr->ac_tbl_no;
767 st = entropy->ac_stats[tbl] + 3 * (k - 1);
791 st = entropy->ac_stats[tbl] +
792 (k <= cinfo->arith_ac_K[tbl] ? 189 : 217);
808 st = entropy->ac_stats[tbl] + 3 * (k - 1);
825 int ci, tbl;
858 tbl = compptr->dc_tbl_no;
859 if (tbl < 0 || tbl >= NUM_ARITH_TBLS)
860 ERREXIT1(cinfo, JERR_NO_ARITH_TABLE, tbl);
861 if (entropy->dc_stats[tbl] == NULL)
862 entropy->dc_stats[tbl] = (unsigned char *) (*cinfo->mem->alloc_small)
864 MEMZERO(entropy->dc_stats[tbl], DC_STAT_BINS);
871 tbl = compptr->ac_tbl_no;
872 if (tbl < 0 || tbl >= NUM_ARITH_TBLS)
873 ERREXIT1(cinfo, JERR_NO_ARITH_TABLE, tbl);
874 if (entropy->ac_stats[tbl] == NULL)
875 entropy->ac_stats[tbl] = (unsigned char *) (*cinfo->mem->alloc_small)
877 MEMZERO(entropy->ac_stats[tbl], AC_STAT_BINS);
881 cinfo->arith_ac_K[tbl] = cinfo->Ss + ((8 + cinfo->Se - cinfo->Ss) >> 4);