/third_party/libjpeg-turbo/ |
D | jdinput.c | 48 jpeg_component_info *compptr; in initial_setup() local 67 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 68 ci++, compptr++) { in initial_setup() 69 if (compptr->h_samp_factor <= 0 || in initial_setup() 70 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 71 compptr->v_samp_factor <= 0 || in initial_setup() 72 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 75 compptr->h_samp_factor); in initial_setup() 77 compptr->v_samp_factor); in initial_setup() 97 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() [all …]
|
D | jccoefct.c | 149 jpeg_component_info *compptr; in compress_data() local 167 compptr = cinfo->cur_comp_info[ci]; in compress_data() 168 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width : in compress_data() 169 compptr->last_col_width; in compress_data() 170 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data() 172 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_data() 174 yoffset + yindex < compptr->last_row_height) { in compress_data() 175 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_data() 176 input_buf[compptr->component_index], in compress_data() 179 if (blockcnt < compptr->MCU_width) { in compress_data() [all …]
|
D | jdcoefct.c | 94 jpeg_component_info *compptr; in decompress_onepass() local 124 compptr = cinfo->cur_comp_info[ci]; in decompress_onepass() 126 if (!compptr->component_needed) { in decompress_onepass() 127 blkn += compptr->MCU_blocks; in decompress_onepass() 130 inverse_DCT = cinfo->idct->inverse_DCT[compptr->component_index]; in decompress_onepass() 132 compptr->MCU_width : compptr->last_col_width; in decompress_onepass() 133 output_ptr = output_buf[compptr->component_index] + in decompress_onepass() 134 yoffset * compptr->_DCT_scaled_size; in decompress_onepass() 136 compptr->MCU_sample_width; in decompress_onepass() 137 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in decompress_onepass() [all …]
|
D | jcmaster.c | 86 jpeg_component_info *compptr; in initial_setup() local 125 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 126 ci++, compptr++) { in initial_setup() 127 if (compptr->h_samp_factor <= 0 || in initial_setup() 128 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 129 compptr->v_samp_factor <= 0 || in initial_setup() 130 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 133 compptr->h_samp_factor); in initial_setup() 135 compptr->v_samp_factor); in initial_setup() 139 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() [all …]
|
D | transupp.c | 101 jpeg_component_info *compptr; in do_crop() local 107 compptr = dstinfo->comp_info + ci; in do_crop() 108 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop() 109 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_crop() 110 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_crop() 111 dst_blk_y += compptr->v_samp_factor) { in do_crop() 114 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_crop() 118 (JDIMENSION)compptr->v_samp_factor, FALSE); in do_crop() 119 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_crop() 122 compptr->width_in_blocks); in do_crop() [all …]
|
D | jcsample.c | 61 jpeg_component_info *compptr, 127 jpeg_component_info *compptr; in sep_downsample() local 130 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in sep_downsample() 131 ci++, compptr++) { in sep_downsample() 133 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample() 134 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); in sep_downsample() 147 int_downsample(j_compress_ptr cinfo, jpeg_component_info *compptr, in int_downsample() argument 152 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in int_downsample() 156 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample() [all …]
|
D | jdct.h | 98 jpeg_component_info *compptr, JCOEFPTR coef_block, 101 jpeg_component_info *compptr, JCOEFPTR coef_block, 104 jpeg_component_info *compptr, JCOEFPTR coef_block, 107 jpeg_component_info *compptr, JCOEFPTR coef_block, 110 jpeg_component_info *compptr, JCOEFPTR coef_block, 113 jpeg_component_info *compptr, JCOEFPTR coef_block, 116 jpeg_component_info *compptr, JCOEFPTR coef_block, 119 jpeg_component_info *compptr, JCOEFPTR coef_block, 122 jpeg_component_info *compptr, JCOEFPTR coef_block, 125 jpeg_component_info *compptr, JCOEFPTR coef_block, [all …]
|
D | jdmainct.c | 140 jpeg_component_info *compptr; in alloc_funny_pointers() local 151 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers() 152 ci++, compptr++) { in alloc_funny_pointers() 153 rgroup = (compptr->v_samp_factor * compptr->_DCT_scaled_size) / in alloc_funny_pointers() 181 jpeg_component_info *compptr; in make_funny_pointers() local 184 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers() 185 ci++, compptr++) { in make_funny_pointers() 186 rgroup = (compptr->v_samp_factor * compptr->_DCT_scaled_size) / in make_funny_pointers() 221 jpeg_component_info *compptr; in set_bottom_pointers() local 224 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers() [all …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jdinput.c | 48 jpeg_component_info *compptr; in initial_setup() local 67 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 68 ci++, compptr++) { in initial_setup() 69 if (compptr->h_samp_factor <= 0 || in initial_setup() 70 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 71 compptr->v_samp_factor <= 0 || in initial_setup() 72 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 75 compptr->h_samp_factor); in initial_setup() 77 compptr->v_samp_factor); in initial_setup() 97 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() [all …]
|
D | jccoefct.c | 149 jpeg_component_info *compptr; in compress_data() local 167 compptr = cinfo->cur_comp_info[ci]; in compress_data() 168 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width : in compress_data() 169 compptr->last_col_width; in compress_data() 170 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data() 172 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_data() 174 yoffset + yindex < compptr->last_row_height) { in compress_data() 175 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_data() 176 input_buf[compptr->component_index], in compress_data() 179 if (blockcnt < compptr->MCU_width) { in compress_data() [all …]
|
D | jdcoefct.c | 94 jpeg_component_info *compptr; in decompress_onepass() local 124 compptr = cinfo->cur_comp_info[ci]; in decompress_onepass() 126 if (!compptr->component_needed) { in decompress_onepass() 127 blkn += compptr->MCU_blocks; in decompress_onepass() 130 inverse_DCT = cinfo->idct->inverse_DCT[compptr->component_index]; in decompress_onepass() 132 compptr->MCU_width : compptr->last_col_width; in decompress_onepass() 133 output_ptr = output_buf[compptr->component_index] + in decompress_onepass() 134 yoffset * compptr->_DCT_scaled_size; in decompress_onepass() 136 compptr->MCU_sample_width; in decompress_onepass() 137 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in decompress_onepass() [all …]
|
D | jcmaster.c | 86 jpeg_component_info *compptr; in initial_setup() local 125 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 126 ci++, compptr++) { in initial_setup() 127 if (compptr->h_samp_factor <= 0 || in initial_setup() 128 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 129 compptr->v_samp_factor <= 0 || in initial_setup() 130 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 133 compptr->h_samp_factor); in initial_setup() 135 compptr->v_samp_factor); in initial_setup() 139 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() [all …]
|
D | transupp.c | 101 jpeg_component_info *compptr; in do_crop() local 107 compptr = dstinfo->comp_info + ci; in do_crop() 108 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop() 109 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_crop() 110 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_crop() 111 dst_blk_y += compptr->v_samp_factor) { in do_crop() 114 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_crop() 118 (JDIMENSION)compptr->v_samp_factor, FALSE); in do_crop() 119 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_crop() 122 compptr->width_in_blocks); in do_crop() [all …]
|
D | jcsample.c | 61 jpeg_component_info *compptr, 127 jpeg_component_info *compptr; in sep_downsample() local 130 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in sep_downsample() 131 ci++, compptr++) { in sep_downsample() 133 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample() 134 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); in sep_downsample() 147 int_downsample(j_compress_ptr cinfo, jpeg_component_info *compptr, in int_downsample() argument 152 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in int_downsample() 156 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample() [all …]
|
D | jdct.h | 98 jpeg_component_info *compptr, JCOEFPTR coef_block, 101 jpeg_component_info *compptr, JCOEFPTR coef_block, 104 jpeg_component_info *compptr, JCOEFPTR coef_block, 107 jpeg_component_info *compptr, JCOEFPTR coef_block, 110 jpeg_component_info *compptr, JCOEFPTR coef_block, 113 jpeg_component_info *compptr, JCOEFPTR coef_block, 116 jpeg_component_info *compptr, JCOEFPTR coef_block, 119 jpeg_component_info *compptr, JCOEFPTR coef_block, 122 jpeg_component_info *compptr, JCOEFPTR coef_block, 125 jpeg_component_info *compptr, JCOEFPTR coef_block, [all …]
|
D | jdmainct.c | 140 jpeg_component_info *compptr; in alloc_funny_pointers() local 151 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers() 152 ci++, compptr++) { in alloc_funny_pointers() 153 rgroup = (compptr->v_samp_factor * compptr->_DCT_scaled_size) / in alloc_funny_pointers() 181 jpeg_component_info *compptr; in make_funny_pointers() local 184 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers() 185 ci++, compptr++) { in make_funny_pointers() 186 rgroup = (compptr->v_samp_factor * compptr->_DCT_scaled_size) / in make_funny_pointers() 221 jpeg_component_info *compptr; in set_bottom_pointers() local 224 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdinput.c | 48 jpeg_component_info *compptr; in initial_setup() local 67 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 68 ci++, compptr++) { in initial_setup() 69 if (compptr->h_samp_factor <= 0 || in initial_setup() 70 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 71 compptr->v_samp_factor <= 0 || in initial_setup() 72 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 75 compptr->h_samp_factor); in initial_setup() 77 compptr->v_samp_factor); in initial_setup() 97 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() [all …]
|
D | jccoefct.c | 149 jpeg_component_info *compptr; in compress_data() local 167 compptr = cinfo->cur_comp_info[ci]; in compress_data() 168 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width : in compress_data() 169 compptr->last_col_width; in compress_data() 170 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data() 172 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_data() 174 yoffset + yindex < compptr->last_row_height) { in compress_data() 175 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_data() 176 input_buf[compptr->component_index], in compress_data() 179 if (blockcnt < compptr->MCU_width) { in compress_data() [all …]
|
D | transupp.c | 92 dequant_comp(j_decompress_ptr cinfo, jpeg_component_info *compptr, in dequant_comp() argument 102 qtblptr = compptr->quant_table; in dequant_comp() 103 for (blk_y = 0; blk_y < compptr->height_in_blocks; in dequant_comp() 104 blk_y += compptr->v_samp_factor) { in dequant_comp() 107 (JDIMENSION)compptr->v_samp_factor, TRUE); in dequant_comp() 108 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in dequant_comp() 110 for (blk_x = 0; blk_x < compptr->width_in_blocks; blk_x++) { in dequant_comp() 122 requant_comp(j_decompress_ptr cinfo, jpeg_component_info *compptr, in requant_comp() argument 133 qtblptr = compptr->quant_table; in requant_comp() 134 for (blk_y = 0; blk_y < compptr->height_in_blocks; in requant_comp() [all …]
|
D | jcmaster.c | 86 jpeg_component_info *compptr; in initial_setup() local 125 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 126 ci++, compptr++) { in initial_setup() 127 if (compptr->h_samp_factor <= 0 || in initial_setup() 128 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 129 compptr->v_samp_factor <= 0 || in initial_setup() 130 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 133 compptr->h_samp_factor); in initial_setup() 135 compptr->v_samp_factor); in initial_setup() 139 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() [all …]
|
D | jcsample.c | 61 jpeg_component_info *compptr, 127 jpeg_component_info *compptr; in sep_downsample() local 130 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in sep_downsample() 131 ci++, compptr++) { in sep_downsample() 133 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample() 134 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); in sep_downsample() 147 int_downsample(j_compress_ptr cinfo, jpeg_component_info *compptr, in int_downsample() argument 152 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in int_downsample() 156 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample() [all …]
|
D | jdcoefct.c | 94 jpeg_component_info *compptr; in decompress_onepass() local 126 compptr = cinfo->cur_comp_info[ci]; in decompress_onepass() 128 if (!compptr->component_needed) { in decompress_onepass() 129 blkn += compptr->MCU_blocks; in decompress_onepass() 132 inverse_DCT = cinfo->idct->inverse_DCT[compptr->component_index]; in decompress_onepass() 134 compptr->MCU_width : compptr->last_col_width; in decompress_onepass() 135 output_ptr = output_buf[compptr->component_index] + in decompress_onepass() 136 yoffset * compptr->_DCT_scaled_size; in decompress_onepass() 138 compptr->MCU_sample_width; in decompress_onepass() 139 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in decompress_onepass() [all …]
|
D | jdct.h | 98 jpeg_component_info *compptr, JCOEFPTR coef_block, 101 jpeg_component_info *compptr, JCOEFPTR coef_block, 104 jpeg_component_info *compptr, JCOEFPTR coef_block, 107 jpeg_component_info *compptr, JCOEFPTR coef_block, 110 jpeg_component_info *compptr, JCOEFPTR coef_block, 113 jpeg_component_info *compptr, JCOEFPTR coef_block, 116 jpeg_component_info *compptr, JCOEFPTR coef_block, 119 jpeg_component_info *compptr, JCOEFPTR coef_block, 122 jpeg_component_info *compptr, JCOEFPTR coef_block, 125 jpeg_component_info *compptr, JCOEFPTR coef_block, [all …]
|
D | jdmainct.c | 140 jpeg_component_info *compptr; in alloc_funny_pointers() local 151 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers() 152 ci++, compptr++) { in alloc_funny_pointers() 153 rgroup = (compptr->v_samp_factor * compptr->_DCT_scaled_size) / in alloc_funny_pointers() 181 jpeg_component_info *compptr; in make_funny_pointers() local 184 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers() 185 ci++, compptr++) { in make_funny_pointers() 186 rgroup = (compptr->v_samp_factor * compptr->_DCT_scaled_size) / in make_funny_pointers() 221 jpeg_component_info *compptr; in set_bottom_pointers() local 224 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers() [all …]
|
D | jdsample.c | 67 jpeg_component_info *compptr; in sep_upsample() local 72 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in sep_upsample() 73 ci++, compptr++) { in sep_upsample() 77 (*upsample->methods[ci]) (cinfo, compptr, in sep_upsample() 126 fullsize_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, in fullsize_upsample() argument 139 noop_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, in noop_upsample() argument 158 int_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, in int_upsample() argument 170 h_expand = upsample->h_expand[compptr->component_index]; in int_upsample() 171 v_expand = upsample->v_expand[compptr->component_index]; in int_upsample() 202 h2v1_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, in h2v1_upsample() argument [all …]
|