Home
last modified time | relevance | path

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

/third_party/libjpeg-turbo/
Djctrans.c69 JQUANT_TBL **qtblptr; in jpeg_copy_critical_parameters() local
99 qtblptr = &dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
100 if (*qtblptr == NULL) in jpeg_copy_critical_parameters()
101 *qtblptr = jpeg_alloc_quant_table((j_common_ptr)dstinfo); in jpeg_copy_critical_parameters()
102 MEMCOPY((*qtblptr)->quantval, srcinfo->quant_tbl_ptrs[tblno]->quantval, in jpeg_copy_critical_parameters()
103 sizeof((*qtblptr)->quantval)); in jpeg_copy_critical_parameters()
104 (*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.c1137 JQUANT_TBL *qtblptr; in transpose_critical_parameters() local
1161 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
1162 if (qtblptr != NULL) { in transpose_critical_parameters()
1165 qtemp = qtblptr->quantval[i * DCTSIZE + j]; in transpose_critical_parameters()
1166 qtblptr->quantval[i * DCTSIZE + j] = in transpose_critical_parameters()
1167 qtblptr->quantval[j * DCTSIZE + i]; in transpose_critical_parameters()
1168 qtblptr->quantval[j * DCTSIZE + i] = qtemp; in transpose_critical_parameters()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djctrans.c69 JQUANT_TBL **qtblptr; in jpeg_copy_critical_parameters() local
99 qtblptr = &dstinfo->quant_tbl_ptrs[tblno]; in jpeg_copy_critical_parameters()
100 if (*qtblptr == NULL) in jpeg_copy_critical_parameters()
101 *qtblptr = jpeg_alloc_quant_table((j_common_ptr)dstinfo); in jpeg_copy_critical_parameters()
102 MEMCOPY((*qtblptr)->quantval, srcinfo->quant_tbl_ptrs[tblno]->quantval, in jpeg_copy_critical_parameters()
103 sizeof((*qtblptr)->quantval)); in jpeg_copy_critical_parameters()
104 (*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.c1137 JQUANT_TBL *qtblptr; in transpose_critical_parameters() local
1161 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
1162 if (qtblptr != NULL) { in transpose_critical_parameters()
1165 qtemp = qtblptr->quantval[i * DCTSIZE + j]; in transpose_critical_parameters()
1166 qtblptr->quantval[i * DCTSIZE + j] = in transpose_critical_parameters()
1167 qtblptr->quantval[j * DCTSIZE + i]; in transpose_critical_parameters()
1168 qtblptr->quantval[j * DCTSIZE + i] = qtemp; in transpose_critical_parameters()
/third_party/skia/third_party/externals/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 …]