Lines Matching refs:compptr
156 jpeg_component_info *compptr; in decompress_onepass() local
193 compptr = cinfo->cur_comp_info[ci]; in decompress_onepass()
195 if (! compptr->component_needed) { in decompress_onepass()
196 blkn += compptr->MCU_blocks; in decompress_onepass()
199 inverse_DCT = cinfo->idct->inverse_DCT[compptr->component_index]; in decompress_onepass()
200 useful_width = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in decompress_onepass()
201 : compptr->last_col_width; in decompress_onepass()
202 output_ptr = output_buf[compptr->component_index] + in decompress_onepass()
203 yoffset * compptr->DCT_scaled_size; in decompress_onepass()
204 start_col = MCU_col_num * compptr->MCU_sample_width; in decompress_onepass()
205 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in decompress_onepass()
207 yoffset+yindex < compptr->last_row_height) { in decompress_onepass()
210 (*inverse_DCT) (cinfo, compptr, in decompress_onepass()
213 output_col += compptr->DCT_scaled_size; in decompress_onepass()
216 blkn += compptr->MCU_width; in decompress_onepass()
217 output_ptr += compptr->DCT_scaled_size; in decompress_onepass()
263 jpeg_component_info *compptr; in consume_data() local
267 compptr = cinfo->cur_comp_info[ci]; in consume_data()
269 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in consume_data()
270 cinfo->tile_decode ? 0 : cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data()
271 (JDIMENSION) compptr->v_samp_factor, TRUE); in consume_data()
315 compptr = cinfo->cur_comp_info[ci]; in consume_data()
316 start_col = MCU_col_num * compptr->MCU_width; in consume_data()
317 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in consume_data()
319 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in consume_data()
460 jpeg_component_info *compptr; in consume_data_build_huffman_index_progressive() local
482 compptr = cinfo->cur_comp_info[ci]; in consume_data_build_huffman_index_progressive()
484 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in consume_data_build_huffman_index_progressive()
486 (JDIMENSION) compptr->v_samp_factor, TRUE); in consume_data_build_huffman_index_progressive()
499 compptr = cinfo->cur_comp_info[ci]; in consume_data_build_huffman_index_progressive()
500 start_col = MCU_col_num * compptr->MCU_width; in consume_data_build_huffman_index_progressive()
504 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in consume_data_build_huffman_index_progressive()
506 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in consume_data_build_huffman_index_progressive()
564 jpeg_component_info *compptr; in decompress_data() local
576 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_data()
577 ci++, compptr++) { in decompress_data()
579 if (! compptr->component_needed) in decompress_data()
584 cinfo->tile_decode ? 0 : cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data()
585 (JDIMENSION) compptr->v_samp_factor, FALSE); in decompress_data()
588 block_rows = compptr->v_samp_factor; in decompress_data()
591 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data()
592 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data()
596 int width_in_blocks = compptr->width_in_blocks; in decompress_data()
604 compptr->h_samp_factor); in decompress_data()
606 compptr->h_samp_factor; in decompress_data()
612 output_col = start_block * compptr->DCT_scaled_size; in decompress_data()
615 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) buffer_ptr, in decompress_data()
618 output_col += compptr->DCT_scaled_size; in decompress_data()
620 output_ptr += compptr->DCT_scaled_size; in decompress_data()
663 jpeg_component_info *compptr; in smoothing_ok() local
679 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in smoothing_ok()
680 ci++, compptr++) { in smoothing_ok()
682 if ((qtable = compptr->quant_table) == NULL) in smoothing_ok()
724 jpeg_component_info *compptr; in decompress_smooth_data() local
752 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_smooth_data()
753 ci++, compptr++) { in decompress_smooth_data()
755 if (! compptr->component_needed) in decompress_smooth_data()
759 block_rows = compptr->v_samp_factor; in decompress_smooth_data()
764 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data()
765 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_smooth_data()
771 access_rows += compptr->v_samp_factor; /* prior iMCU row too */ in decompress_smooth_data()
774 (cinfo->output_iMCU_row - 1) * compptr->v_samp_factor, in decompress_smooth_data()
776 buffer += compptr->v_samp_factor; /* point to current iMCU row */ in decompress_smooth_data()
786 quanttbl = compptr->quant_table; in decompress_smooth_data()
813 last_block_column = compptr->width_in_blocks - 1; in decompress_smooth_data()
903 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) workspace, in decompress_smooth_data()
910 output_col += compptr->DCT_scaled_size; in decompress_smooth_data()
912 output_ptr += compptr->DCT_scaled_size; in decompress_smooth_data()
954 jpeg_component_info *compptr; in jinit_d_coef_controller() local
956 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_coef_controller()
957 ci++, compptr++) { in jinit_d_coef_controller()
958 access_rows = compptr->v_samp_factor; in jinit_d_coef_controller()
961 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_d_coef_controller()
962 (long) compptr->h_samp_factor), in jinit_d_coef_controller()
963 (JDIMENSION) compptr->v_samp_factor, // one iMCU row in jinit_d_coef_controller()
999 jpeg_component_info *compptr; in jinit_d_coef_controller() local
1001 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_coef_controller()
1002 ci++, compptr++) { in jinit_d_coef_controller()
1003 access_rows = compptr->v_samp_factor; in jinit_d_coef_controller()
1011 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_d_coef_controller()
1012 (long) compptr->h_samp_factor), in jinit_d_coef_controller()
1013 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_d_coef_controller()
1014 (long) compptr->v_samp_factor), in jinit_d_coef_controller()