Home
last modified time | relevance | path

Searched refs:qtblptr (Results 1 – 3 of 3) sorted by relevance

/external/libjpeg-turbo/
Djctrans.c70 JQUANT_TBL **qtblptr; in jpeg_copy_critical_parameters() local
100 qtblptr = &dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
101 if (*qtblptr == NULL) in jpeg_copy_critical_parameters()
102 *qtblptr = jpeg_alloc_quant_table((j_common_ptr)dstinfo); in jpeg_copy_critical_parameters()
103 MEMCOPY((*qtblptr)->quantval, srcinfo->quant_tbl_ptrs[tblno]->quantval, in jpeg_copy_critical_parameters()
104 sizeof((*qtblptr)->quantval)); in jpeg_copy_critical_parameters()
105 (*qtblptr)->sent_table = FALSE; in jpeg_copy_critical_parameters()
Djcparam.c37 JQUANT_TBL **qtblptr; in jpeg_add_quant_table() local
48 qtblptr = &cinfo->quant_tbl_ptrs[which_tbl]; in jpeg_add_quant_table()
50 if (*qtblptr == NULL) in jpeg_add_quant_table()
51 *qtblptr = jpeg_alloc_quant_table((j_common_ptr)cinfo); in jpeg_add_quant_table()
60 (*qtblptr)->quantval[i] = (UINT16)temp; in jpeg_add_quant_table()
64 (*qtblptr)->sent_table = FALSE; in jpeg_add_quant_table()
Dtransupp.c97 JQUANT_TBL *qtblptr; in dequant_comp() local
102 qtblptr = compptr->quant_table; in dequant_comp()
113 if (qtblptr->quantval[k] != qtblptr1->quantval[k]) in dequant_comp()
114 ptr[k] *= qtblptr->quantval[k] / qtblptr1->quantval[k]; in dequant_comp()
127 JQUANT_TBL *qtblptr; in requant_comp() local
133 qtblptr = compptr->quant_table; in requant_comp()
144 temp = qtblptr->quantval[k]; in requant_comp()
1830 JQUANT_TBL *qtblptr; in transpose_critical_parameters() local
1854 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
1855 if (qtblptr != NULL) { in transpose_critical_parameters()
[all …]