Lines Matching refs:compptr
156 jpeg_component_info *compptr; in decompress_onepass() local
180 compptr = cinfo->cur_comp_info[ci]; in decompress_onepass()
182 if (! compptr->component_needed) { in decompress_onepass()
183 blkn += compptr->MCU_blocks; in decompress_onepass()
186 inverse_DCT = cinfo->idct->inverse_DCT[compptr->component_index]; in decompress_onepass()
187 useful_width = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in decompress_onepass()
188 : compptr->last_col_width; in decompress_onepass()
189 output_ptr = output_buf[compptr->component_index] + in decompress_onepass()
190 yoffset * compptr->DCT_scaled_size; in decompress_onepass()
191 start_col = MCU_col_num * compptr->MCU_sample_width; in decompress_onepass()
192 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in decompress_onepass()
194 yoffset+yindex < compptr->last_row_height) { in decompress_onepass()
197 (*inverse_DCT) (cinfo, compptr, in decompress_onepass()
200 output_col += compptr->DCT_scaled_size; in decompress_onepass()
203 blkn += compptr->MCU_width; in decompress_onepass()
204 output_ptr += compptr->DCT_scaled_size; in decompress_onepass()
252 jpeg_component_info *compptr; in consume_data() local
256 compptr = cinfo->cur_comp_info[ci]; in consume_data()
258 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in consume_data()
259 cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data()
260 (JDIMENSION) compptr->v_samp_factor, TRUE); in consume_data()
275 compptr = cinfo->cur_comp_info[ci]; in consume_data()
276 start_col = MCU_col_num * compptr->MCU_width; in consume_data()
277 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in consume_data()
279 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in consume_data()
325 jpeg_component_info *compptr; in decompress_data() local
337 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_data()
338 ci++, compptr++) { in decompress_data()
340 if (! compptr->component_needed) in decompress_data()
345 cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data()
346 (JDIMENSION) compptr->v_samp_factor, FALSE); in decompress_data()
349 block_rows = compptr->v_samp_factor; in decompress_data()
352 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data()
353 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data()
361 for (block_num = 0; block_num < compptr->width_in_blocks; block_num++) { in decompress_data()
362 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) buffer_ptr, in decompress_data()
365 output_col += compptr->DCT_scaled_size; in decompress_data()
367 output_ptr += compptr->DCT_scaled_size; in decompress_data()
410 jpeg_component_info *compptr; in smoothing_ok() local
426 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in smoothing_ok()
427 ci++, compptr++) { in smoothing_ok()
429 if ((qtable = compptr->quant_table) == NULL) in smoothing_ok()
471 jpeg_component_info *compptr; in decompress_smooth_data() local
499 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_smooth_data()
500 ci++, compptr++) { in decompress_smooth_data()
502 if (! compptr->component_needed) in decompress_smooth_data()
506 block_rows = compptr->v_samp_factor; in decompress_smooth_data()
511 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data()
512 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_smooth_data()
518 access_rows += compptr->v_samp_factor; /* prior iMCU row too */ in decompress_smooth_data()
521 (cinfo->output_iMCU_row - 1) * compptr->v_samp_factor, in decompress_smooth_data()
523 buffer += compptr->v_samp_factor; /* point to current iMCU row */ in decompress_smooth_data()
533 quanttbl = compptr->quant_table; in decompress_smooth_data()
560 last_block_column = compptr->width_in_blocks - 1; in decompress_smooth_data()
650 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) workspace, in decompress_smooth_data()
657 output_col += compptr->DCT_scaled_size; in decompress_smooth_data()
659 output_ptr += compptr->DCT_scaled_size; in decompress_smooth_data()
697 jpeg_component_info *compptr; in jinit_d_coef_controller() local
699 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_coef_controller()
700 ci++, compptr++) { in jinit_d_coef_controller()
701 access_rows = compptr->v_samp_factor; in jinit_d_coef_controller()
709 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_d_coef_controller()
710 (long) compptr->h_samp_factor), in jinit_d_coef_controller()
711 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_d_coef_controller()
712 (long) compptr->v_samp_factor), in jinit_d_coef_controller()