Home
last modified time | relevance | path

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

/external/qemu/distrib/jpeg-6b/
Djddctmgr.c132 JQUANT_TBL * qtbl; in start_pass() local
207 qtbl = compptr->quant_table; in start_pass()
208 if (qtbl == NULL) /* happens if no data yet for component */ in start_pass()
220 ismtbl[i] = (ISLOW_MULT_TYPE) qtbl->quantval[i]; in start_pass()
253 ifmtbl[j] = (qtbl->quantval[i] * scales[i] + 2) >> 2; in start_pass()
273 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
300 ((double) qtbl->quantval[i] * in start_pass()
Djcdctmgr.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()
Djcmarker.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()
Djcapimin.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()
Djdinput.c242 JQUANT_TBL * qtbl; in latch_quant_tables() local
255 qtbl = (JQUANT_TBL *) in latch_quant_tables()
258 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], SIZEOF(JQUANT_TBL)); in latch_quant_tables()
259 compptr->quant_table = qtbl; in latch_quant_tables()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jddctmgr.c97 JQUANT_TBL * qtbl; in start_pass() local
156 qtbl = compptr->quant_table; in start_pass()
157 if (qtbl == NULL) /* happens if no data yet for component */ in start_pass()
169 ismtbl[i] = (ISLOW_MULT_TYPE) qtbl->quantval[i]; in start_pass()
201 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
227 ((double) qtbl->quantval[i] * in start_pass()
Dfpdfapi_jcdctmgr.c60 JQUANT_TBL * qtbl; in start_pass_fdctmgr() local
70 qtbl = cinfo->quant_tbl_ptrs[qtblno]; in start_pass_fdctmgr()
86 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr()
121 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr()
156 (1.0 / (((double) qtbl->quantval[i] * in start_pass_fdctmgr()
Dfpdfapi_jcmarker.c149 JQUANT_TBL * qtbl = cinfo->quant_tbl_ptrs[index]; in emit_dqt() local
153 if (qtbl == NULL) in emit_dqt()
158 if (qtbl->quantval[i] > 255) in emit_dqt()
162 if (! qtbl->sent_table) { in emit_dqt()
171 unsigned int qval = qtbl->quantval[jpeg_natural_order[i]]; in emit_dqt()
177 qtbl->sent_table = TRUE; in emit_dqt()
Dfpdfapi_jcapimin.c123 JQUANT_TBL * qtbl; in jpeg_suppress_tables() local
127 if ((qtbl = cinfo->quant_tbl_ptrs[i]) != NULL) in jpeg_suppress_tables()
128 qtbl->sent_table = suppress; in jpeg_suppress_tables()
Dfpdfapi_jdinput.c225 JQUANT_TBL * qtbl; in latch_quant_tables() local
238 qtbl = (JQUANT_TBL *) in latch_quant_tables()
241 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], SIZEOF(JQUANT_TBL)); in latch_quant_tables()
242 compptr->quant_table = qtbl; in latch_quant_tables()
/external/jpeg/
Djddctmgr.c140 JQUANT_TBL * qtbl; in start_pass() local
247 qtbl = compptr->quant_table; in start_pass()
248 if (qtbl == NULL) /* happens if no data yet for component */ in start_pass()
260 ismtbl[i] = (ISLOW_MULT_TYPE) qtbl->quantval[i]; in start_pass()
293 ifmtbl[j] = (qtbl->quantval[i] * scales[i] + 2) >> 2; in start_pass()
313 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
340 ((double) qtbl->quantval[i] * in start_pass()
Djcdctmgr.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()
Djcmarker.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()
Djcapimin.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()
Djdinput.c242 JQUANT_TBL * qtbl; in latch_quant_tables() local
255 qtbl = (JQUANT_TBL *) in latch_quant_tables()
258 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], SIZEOF(JQUANT_TBL)); in latch_quant_tables()
259 compptr->quant_table = qtbl; in latch_quant_tables()