Home
last modified time | relevance | path

Searched refs:qtbl (Results 1 – 6 of 6) sorted by relevance

/external/libjpeg-turbo/
Djddctmgr.c104 JQUANT_TBL *qtbl; in start_pass() local
238 qtbl = compptr->quant_table; in start_pass()
239 if (qtbl == NULL) /* happens if no data yet for component */ in start_pass()
251 ismtbl[i] = (ISLOW_MULT_TYPE)qtbl->quantval[i]; in start_pass()
283 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass()
309 ((double)qtbl->quantval[i] * in start_pass()
Djcdctmgr.c241 JQUANT_TBL *qtbl; in start_pass_fdctmgr() local
251 qtbl = cinfo->quant_tbl_ptrs[qtblno]; in start_pass_fdctmgr()
268 if (!compute_reciprocal(qtbl->quantval[i] << 3, &dtbl[i]) && in start_pass_fdctmgr()
272 dtbl[i] = ((DCTELEM)qtbl->quantval[i]) << 3; in start_pass_fdctmgr()
309 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass_fdctmgr()
316 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass_fdctmgr()
352 (1.0 / (((double)qtbl->quantval[i] * in start_pass_fdctmgr()
Djcmarker.c153 JQUANT_TBL *qtbl = cinfo->quant_tbl_ptrs[index]; in emit_dqt() local
157 if (qtbl == NULL) in emit_dqt()
162 if (qtbl->quantval[i] > 255) in emit_dqt()
166 if (!qtbl->sent_table) { in emit_dqt()
175 unsigned int qval = qtbl->quantval[jpeg_natural_order[i]]; in emit_dqt()
181 qtbl->sent_table = TRUE; in emit_dqt()
Djdinput.c251 JQUANT_TBL *qtbl; in latch_quant_tables() local
264 qtbl = (JQUANT_TBL *) in latch_quant_tables()
267 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], sizeof(JQUANT_TBL)); in latch_quant_tables()
268 compptr->quant_table = qtbl; in latch_quant_tables()
Djcapimin.c137 JQUANT_TBL *qtbl; in jpeg_suppress_tables() local
141 if ((qtbl = cinfo->quant_tbl_ptrs[i]) != NULL) in jpeg_suppress_tables()
142 qtbl->sent_table = suppress; in jpeg_suppress_tables()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1517 JQUANT_TBL* qtbl; in unsuppress_quant_table() local
1519 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in unsuppress_quant_table()
1520 qtbl->sent_table = FALSE; in unsuppress_quant_table()
1526 JQUANT_TBL* qtbl; in suppress_quant_table() local
1528 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in suppress_quant_table()
1529 qtbl->sent_table = TRUE; in suppress_quant_table()