Home
last modified time | relevance | path

Searched refs:tblno (Results 1 – 8 of 8) sorted by relevance

/external/libjpeg-turbo/
Drdswitch.c93 int tblno, i, termchar; in read_quant_tables() local
101 tblno = 0; in read_quant_tables()
104 if (tblno >= NUM_QUANT_TBLS) { in read_quant_tables()
119 jpeg_add_quant_table(cinfo, tblno, table, cinfo->q_scale_factor[tblno], in read_quant_tables()
122 jpeg_add_quant_table(cinfo, tblno, table, q_scale_factor[tblno], in read_quant_tables()
125 tblno++; in read_quant_tables()
325 int tblno; in set_quality_ratings() local
328 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in set_quality_ratings()
337 cinfo->q_scale_factor[tblno] = jpeg_quality_scaling(val); in set_quality_ratings()
339 q_scale_factor[tblno] = jpeg_quality_scaling(val); in set_quality_ratings()
[all …]
Djctrans.c73 int tblno, ci, coefi; in jpeg_copy_critical_parameters() local
98 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in jpeg_copy_critical_parameters()
99 if (srcinfo->quant_tbl_ptrs[tblno] != NULL) { in jpeg_copy_critical_parameters()
100 qtblptr = &dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
103 MEMCOPY((*qtblptr)->quantval, srcinfo->quant_tbl_ptrs[tblno]->quantval, in jpeg_copy_critical_parameters()
125 tblno = outcomp->quant_tbl_no; in jpeg_copy_critical_parameters()
126 if (tblno < 0 || tblno >= NUM_QUANT_TBLS || in jpeg_copy_critical_parameters()
127 srcinfo->quant_tbl_ptrs[tblno] == NULL) in jpeg_copy_critical_parameters()
128 ERREXIT1(dstinfo, JERR_NO_QUANT_TABLE, tblno); in jpeg_copy_critical_parameters()
129 slot_quant = srcinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
[all …]
Djdhuff.c141 jpeg_make_d_derived_tbl(j_decompress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_d_derived_tbl() argument
157 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_d_derived_tbl()
158 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
160 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_d_derived_tbl()
162 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
Djchuff.c248 jpeg_make_c_derived_tbl(j_compress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_c_derived_tbl() argument
263 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_c_derived_tbl()
264 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
266 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_c_derived_tbl()
268 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
Djchuff.h38 int tblno, c_derived_tbl **pdtbl);
Djdhuff.h52 int tblno, d_derived_tbl **pdtbl);
Dtransupp.c1828 int tblno, i, j, ci, itemp; in transpose_critical_parameters() local
1853 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in transpose_critical_parameters()
1854 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1656 unsuppress_quant_table (JPEGState* sp, int tblno) in unsuppress_quant_table() argument
1660 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in unsuppress_quant_table()
1665 suppress_quant_table (JPEGState* sp, int tblno) in suppress_quant_table() argument
1669 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in suppress_quant_table()
1674 unsuppress_huff_table (JPEGState* sp, int tblno) in unsuppress_huff_table() argument
1678 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1680 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1685 suppress_huff_table (JPEGState* sp, int tblno) in suppress_huff_table() argument
1689 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in suppress_huff_table()
1691 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in suppress_huff_table()