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.c72 int tblno, ci, coefi; in jpeg_copy_critical_parameters() local
97 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in jpeg_copy_critical_parameters()
98 if (srcinfo->quant_tbl_ptrs[tblno] != NULL) { in jpeg_copy_critical_parameters()
99 qtblptr = &dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
102 MEMCOPY((*qtblptr)->quantval, srcinfo->quant_tbl_ptrs[tblno]->quantval, in jpeg_copy_critical_parameters()
124 tblno = outcomp->quant_tbl_no; in jpeg_copy_critical_parameters()
125 if (tblno < 0 || tblno >= NUM_QUANT_TBLS || in jpeg_copy_critical_parameters()
126 srcinfo->quant_tbl_ptrs[tblno] == NULL) in jpeg_copy_critical_parameters()
127 ERREXIT1(dstinfo, JERR_NO_QUANT_TABLE, tblno); in jpeg_copy_critical_parameters()
128 slot_quant = srcinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
[all …]
Djdhuff.c158 jpeg_make_d_derived_tbl(j_decompress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_d_derived_tbl() argument
174 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_d_derived_tbl()
175 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
177 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_d_derived_tbl()
179 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
Djchuff.c221 jpeg_make_c_derived_tbl(j_compress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_c_derived_tbl() argument
236 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_c_derived_tbl()
237 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
239 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_c_derived_tbl()
241 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
Djchuff.h38 int tblno, c_derived_tbl **pdtbl);
Djdhuff.h51 int tblno, d_derived_tbl **pdtbl);
Dtransupp.c1135 int tblno, i, j, ci, itemp; in transpose_critical_parameters() local
1160 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in transpose_critical_parameters()
1161 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1515 unsuppress_quant_table (JPEGState* sp, int tblno) in unsuppress_quant_table() argument
1519 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in unsuppress_quant_table()
1524 suppress_quant_table (JPEGState* sp, int tblno) in suppress_quant_table() argument
1528 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in suppress_quant_table()
1533 unsuppress_huff_table (JPEGState* sp, int tblno) in unsuppress_huff_table() argument
1537 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1539 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1544 suppress_huff_table (JPEGState* sp, int tblno) in suppress_huff_table() argument
1548 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in suppress_huff_table()
1550 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in suppress_huff_table()