Home
last modified time | relevance | path

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

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jddctmgr.c96 JQUANT_TBL * qtbl; in start_pass() local
155 qtbl = compptr->quant_table; in start_pass()
156 if (qtbl == NULL) /* happens if no data yet for component */ in start_pass()
168 ismtbl[i] = (ISLOW_MULT_TYPE) qtbl->quantval[i]; in start_pass()
200 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
226 ((double) qtbl->quantval[i] * in start_pass()
Dfpdfapi_jcdctmgr.c59 JQUANT_TBL * qtbl; in start_pass_fdctmgr() local
69 qtbl = cinfo->quant_tbl_ptrs[qtblno]; in start_pass_fdctmgr()
85 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr()
120 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr()
155 (1.0 / (((double) qtbl->quantval[i] * in start_pass_fdctmgr()
Dfpdfapi_jcmarker.c148 JQUANT_TBL * qtbl = cinfo->quant_tbl_ptrs[index]; in emit_dqt() local
152 if (qtbl == NULL) in emit_dqt()
157 if (qtbl->quantval[i] > 255) in emit_dqt()
161 if (! qtbl->sent_table) { in emit_dqt()
170 unsigned int qval = qtbl->quantval[jpeg_natural_order[i]]; in emit_dqt()
176 qtbl->sent_table = TRUE; in emit_dqt()
Dfpdfapi_jcapimin.c122 JQUANT_TBL * qtbl; in jpeg_suppress_tables() local
126 if ((qtbl = cinfo->quant_tbl_ptrs[i]) != NULL) in jpeg_suppress_tables()
127 qtbl->sent_table = suppress; in jpeg_suppress_tables()
Dfpdfapi_jdinput.c224 JQUANT_TBL * qtbl; in latch_quant_tables() local
237 qtbl = (JQUANT_TBL *) in latch_quant_tables()
240 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], SIZEOF(JQUANT_TBL)); in latch_quant_tables()
241 compptr->quant_table = qtbl; in latch_quant_tables()
/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.c248 JQUANT_TBL *qtbl; in latch_quant_tables() local
261 qtbl = (JQUANT_TBL *) in latch_quant_tables()
264 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], sizeof(JQUANT_TBL)); in latch_quant_tables()
265 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.c1515 JQUANT_TBL* qtbl; in unsuppress_quant_table() local
1517 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in unsuppress_quant_table()
1518 qtbl->sent_table = FALSE; in unsuppress_quant_table()
1524 JQUANT_TBL* qtbl; in suppress_quant_table() local
1526 if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) in suppress_quant_table()
1527 qtbl->sent_table = TRUE; in suppress_quant_table()