Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Drdswitch.c92 int tblno, i, termchar; in read_quant_tables() local
100 tblno = 0; in read_quant_tables()
103 if (tblno >= NUM_QUANT_TBLS) { in read_quant_tables()
118 jpeg_add_quant_table(cinfo, tblno, table, cinfo->q_scale_factor[tblno], in read_quant_tables()
121 jpeg_add_quant_table(cinfo, tblno, table, q_scale_factor[tblno], in read_quant_tables()
124 tblno++; in read_quant_tables()
323 int tblno; in set_quality_ratings() local
326 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in set_quality_ratings()
335 cinfo->q_scale_factor[tblno] = jpeg_quality_scaling(val); in set_quality_ratings()
337 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()
103 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.c154 jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_d_derived_tbl() argument
170 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_d_derived_tbl()
171 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
173 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_d_derived_tbl()
175 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
Djchuff.c215 jpeg_make_c_derived_tbl (j_compress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_c_derived_tbl() argument
230 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_c_derived_tbl()
231 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
233 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_c_derived_tbl()
235 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
Djchuff.h37 (j_compress_ptr cinfo, boolean isDC, int tblno,
Djdhuff.h48 (j_decompress_ptr cinfo, boolean isDC, int tblno,
Dtransupp.c1134 int tblno, i, j, ci, itemp; in transpose_critical_parameters() local
1159 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in transpose_critical_parameters()
1160 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
/external/opencv3/3rdparty/libjpeg/
Djctrans.c70 int tblno, ci, coefi; in jpeg_copy_critical_parameters() local
96 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in jpeg_copy_critical_parameters()
97 if (srcinfo->quant_tbl_ptrs[tblno] != NULL) { in jpeg_copy_critical_parameters()
98 qtblptr = & dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
102 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.c323 jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_d_derived_tbl() argument
339 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_d_derived_tbl()
340 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
342 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_d_derived_tbl()
344 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
Djchuff.c161 jpeg_make_c_derived_tbl (j_compress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_c_derived_tbl() argument
176 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_c_derived_tbl()
177 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
179 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_c_derived_tbl()
181 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jctrans.c69 int tblno, ci, coefi; in jpeg_copy_critical_parameters() local
88 for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) { in jpeg_copy_critical_parameters()
89 if (srcinfo->quant_tbl_ptrs[tblno] != NULL) { in jpeg_copy_critical_parameters()
90 qtblptr = & dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
94 srcinfo->quant_tbl_ptrs[tblno]->quantval, in jpeg_copy_critical_parameters()
116 tblno = outcomp->quant_tbl_no; in jpeg_copy_critical_parameters()
117 if (tblno < 0 || tblno >= NUM_QUANT_TBLS || in jpeg_copy_critical_parameters()
118 srcinfo->quant_tbl_ptrs[tblno] == NULL) in jpeg_copy_critical_parameters()
119 ERREXIT1(dstinfo, JERR_NO_QUANT_TABLE, tblno); in jpeg_copy_critical_parameters()
120 slot_quant = srcinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
[all …]
Dfpdfapi_jdhuff.c152 jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_d_derived_tbl() argument
168 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_d_derived_tbl()
169 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
171 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_d_derived_tbl()
173 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_d_derived_tbl()
Dfpdfapi_jchuff.c182 jpeg_make_c_derived_tbl (j_compress_ptr cinfo, boolean isDC, int tblno, in jpeg_make_c_derived_tbl() argument
197 if (tblno < 0 || tblno >= NUM_HUFF_TBLS) in jpeg_make_c_derived_tbl()
198 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
200 isDC ? cinfo->dc_huff_tbl_ptrs[tblno] : cinfo->ac_huff_tbl_ptrs[tblno]; in jpeg_make_c_derived_tbl()
202 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, tblno); in jpeg_make_c_derived_tbl()
Djchuff.h42 JPP((j_compress_ptr cinfo, boolean isDC, int tblno,
Djdhuff.h50 JPP((j_decompress_ptr cinfo, boolean isDC, int tblno,
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1513 unsuppress_quant_table (JPEGState* sp, int tblno) in unsuppress_quant_table() argument
1517 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in unsuppress_quant_table()
1522 suppress_quant_table (JPEGState* sp, int tblno) in suppress_quant_table() argument
1526 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in suppress_quant_table()
1531 unsuppress_huff_table (JPEGState* sp, int tblno) in unsuppress_huff_table() argument
1535 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1537 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1542 suppress_huff_table (JPEGState* sp, int tblno) in suppress_huff_table() argument
1546 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in suppress_huff_table()
1548 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in suppress_huff_table()
/external/opencv3/3rdparty/libtiff/
Dtif_jpeg.c1442 unsuppress_quant_table (JPEGState* sp, int tblno) in unsuppress_quant_table() argument
1446 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in unsuppress_quant_table()
1451 unsuppress_huff_table (JPEGState* sp, int tblno) in unsuppress_huff_table() argument
1455 if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()
1457 if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) in unsuppress_huff_table()