Lines Matching refs:compptr

157   jpeg_component_info *compptr;  in decompress_onepass()  local
182 compptr = cinfo->cur_comp_info[ci]; in decompress_onepass()
184 if (! compptr->component_needed) { in decompress_onepass()
185 blkn += compptr->MCU_blocks; in decompress_onepass()
188 inverse_DCT = cinfo->idct->inverse_DCT[compptr->component_index]; in decompress_onepass()
189 useful_width = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in decompress_onepass()
190 : compptr->last_col_width; in decompress_onepass()
191 output_ptr = output_buf[compptr->component_index] + in decompress_onepass()
192 yoffset * compptr->DCT_v_scaled_size; in decompress_onepass()
193 start_col = MCU_col_num * compptr->MCU_sample_width; in decompress_onepass()
194 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in decompress_onepass()
196 yoffset+yindex < compptr->last_row_height) { in decompress_onepass()
199 (*inverse_DCT) (cinfo, compptr, in decompress_onepass()
202 output_col += compptr->DCT_h_scaled_size; in decompress_onepass()
205 blkn += compptr->MCU_width; in decompress_onepass()
206 output_ptr += compptr->DCT_v_scaled_size; in decompress_onepass()
254 jpeg_component_info *compptr; in consume_data() local
258 compptr = cinfo->cur_comp_info[ci]; in consume_data()
260 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in consume_data()
261 cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data()
262 (JDIMENSION) compptr->v_samp_factor, TRUE); in consume_data()
277 compptr = cinfo->cur_comp_info[ci]; in consume_data()
278 start_col = MCU_col_num * compptr->MCU_width; in consume_data()
279 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in consume_data()
281 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in consume_data()
327 jpeg_component_info *compptr; in decompress_data() local
339 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_data()
340 ci++, compptr++) { in decompress_data()
342 if (! compptr->component_needed) in decompress_data()
347 cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data()
348 (JDIMENSION) compptr->v_samp_factor, FALSE); in decompress_data()
351 block_rows = compptr->v_samp_factor; in decompress_data()
354 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data()
355 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data()
363 for (block_num = 0; block_num < compptr->width_in_blocks; block_num++) { in decompress_data()
364 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) buffer_ptr, in decompress_data()
367 output_col += compptr->DCT_h_scaled_size; in decompress_data()
369 output_ptr += compptr->DCT_v_scaled_size; in decompress_data()
412 jpeg_component_info *compptr; in smoothing_ok() local
428 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in smoothing_ok()
429 ci++, compptr++) { in smoothing_ok()
431 if ((qtable = compptr->quant_table) == NULL) in smoothing_ok()
473 jpeg_component_info *compptr; in decompress_smooth_data() local
501 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_smooth_data()
502 ci++, compptr++) { in decompress_smooth_data()
504 if (! compptr->component_needed) in decompress_smooth_data()
508 block_rows = compptr->v_samp_factor; in decompress_smooth_data()
513 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data()
514 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_smooth_data()
520 access_rows += compptr->v_samp_factor; /* prior iMCU row too */ in decompress_smooth_data()
523 (cinfo->output_iMCU_row - 1) * compptr->v_samp_factor, in decompress_smooth_data()
525 buffer += compptr->v_samp_factor; /* point to current iMCU row */ in decompress_smooth_data()
535 quanttbl = compptr->quant_table; in decompress_smooth_data()
562 last_block_column = compptr->width_in_blocks - 1; in decompress_smooth_data()
652 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) workspace, in decompress_smooth_data()
659 output_col += compptr->DCT_h_scaled_size; in decompress_smooth_data()
661 output_ptr += compptr->DCT_v_scaled_size; in decompress_smooth_data()
699 jpeg_component_info *compptr; in jinit_d_coef_controller() local
701 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_coef_controller()
702 ci++, compptr++) { in jinit_d_coef_controller()
703 access_rows = compptr->v_samp_factor; in jinit_d_coef_controller()
711 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_d_coef_controller()
712 (long) compptr->h_samp_factor), in jinit_d_coef_controller()
713 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_d_coef_controller()
714 (long) compptr->v_samp_factor), in jinit_d_coef_controller()