Lines Matching refs:compptr
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()
131 useful_width = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in decompress_onepass()
132 : 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()
139 yoffset+yindex < compptr->last_row_height) { in decompress_onepass()
142 (*inverse_DCT) (cinfo, compptr, in decompress_onepass()
145 output_col += compptr->_DCT_scaled_size; in decompress_onepass()
148 blkn += compptr->MCU_width; in decompress_onepass()
149 output_ptr += compptr->_DCT_scaled_size; in decompress_onepass()
198 jpeg_component_info *compptr; in consume_data() local
202 compptr = cinfo->cur_comp_info[ci]; in consume_data()
204 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in consume_data()
205 cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data()
206 (JDIMENSION) compptr->v_samp_factor, TRUE); in consume_data()
221 compptr = cinfo->cur_comp_info[ci]; in consume_data()
222 start_col = MCU_col_num * compptr->MCU_width; in consume_data()
223 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in consume_data()
225 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in consume_data()
271 jpeg_component_info *compptr; in decompress_data() local
283 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_data()
284 ci++, compptr++) { in decompress_data()
286 if (! compptr->component_needed) in decompress_data()
291 cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data()
292 (JDIMENSION) compptr->v_samp_factor, FALSE); in decompress_data()
295 block_rows = compptr->v_samp_factor; in decompress_data()
298 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data()
299 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data()
309 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) buffer_ptr, in decompress_data()
312 output_col += compptr->_DCT_scaled_size; in decompress_data()
314 output_ptr += compptr->_DCT_scaled_size; in decompress_data()
357 jpeg_component_info *compptr; in smoothing_ok() local
373 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in smoothing_ok()
374 ci++, compptr++) { in smoothing_ok()
376 if ((qtable = compptr->quant_table) == NULL) in smoothing_ok()
418 jpeg_component_info *compptr; in decompress_smooth_data() local
449 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_smooth_data()
450 ci++, compptr++) { in decompress_smooth_data()
452 if (! compptr->component_needed) in decompress_smooth_data()
456 block_rows = compptr->v_samp_factor; in decompress_smooth_data()
461 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data()
462 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_smooth_data()
468 access_rows += compptr->v_samp_factor; /* prior iMCU row too */ in decompress_smooth_data()
471 (cinfo->output_iMCU_row - 1) * compptr->v_samp_factor, in decompress_smooth_data()
473 buffer += compptr->v_samp_factor; /* point to current iMCU row */ in decompress_smooth_data()
483 quanttbl = compptr->quant_table; in decompress_smooth_data()
510 last_block_column = compptr->width_in_blocks - 1; in decompress_smooth_data()
601 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) workspace, in decompress_smooth_data()
608 output_col += compptr->_DCT_scaled_size; in decompress_smooth_data()
610 output_ptr += compptr->_DCT_scaled_size; in decompress_smooth_data()
648 jpeg_component_info *compptr; in jinit_d_coef_controller() local
650 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_coef_controller()
651 ci++, compptr++) { in jinit_d_coef_controller()
652 access_rows = compptr->v_samp_factor; in jinit_d_coef_controller()
660 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_d_coef_controller()
661 (long) compptr->h_samp_factor), in jinit_d_coef_controller()
662 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_d_coef_controller()
663 (long) compptr->v_samp_factor), in jinit_d_coef_controller()