Lines Matching refs:compptr
150 jpeg_component_info *compptr; in compress_data() local
168 compptr = cinfo->cur_comp_info[ci]; in compress_data()
169 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data()
170 : compptr->last_col_width; in compress_data()
171 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data()
173 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_data()
175 yoffset+yindex < compptr->last_row_height) { in compress_data()
176 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_data()
177 input_buf[compptr->component_index], in compress_data()
180 if (blockcnt < compptr->MCU_width) { in compress_data()
183 (compptr->MCU_width - blockcnt) * sizeof(JBLOCK)); in compress_data()
184 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
191 compptr->MCU_width * sizeof(JBLOCK)); in compress_data()
192 for (bi = 0; bi < compptr->MCU_width; bi++) { in compress_data()
196 blkn += compptr->MCU_width; in compress_data()
251 jpeg_component_info *compptr; in compress_first_pass() local
255 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in compress_first_pass()
256 ci++, compptr++) { in compress_first_pass()
260 coef->iMCU_row_num * compptr->v_samp_factor, in compress_first_pass()
261 (JDIMENSION) compptr->v_samp_factor, TRUE); in compress_first_pass()
264 block_rows = compptr->v_samp_factor; in compress_first_pass()
267 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in compress_first_pass()
268 if (block_rows == 0) block_rows = compptr->v_samp_factor; in compress_first_pass()
270 blocks_across = compptr->width_in_blocks; in compress_first_pass()
271 h_samp_factor = compptr->h_samp_factor; in compress_first_pass()
281 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_first_pass()
303 for (block_row = block_rows; block_row < compptr->v_samp_factor; in compress_first_pass()
348 jpeg_component_info *compptr; in compress_output() local
355 compptr = cinfo->cur_comp_info[ci]; in compress_output()
357 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in compress_output()
358 coef->iMCU_row_num * compptr->v_samp_factor, in compress_output()
359 (JDIMENSION) compptr->v_samp_factor, FALSE); in compress_output()
370 compptr = cinfo->cur_comp_info[ci]; in compress_output()
371 start_col = MCU_col_num * compptr->MCU_width; in compress_output()
372 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_output()
374 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in compress_output()
420 jpeg_component_info *compptr; in jinit_c_coef_controller() local
422 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_coef_controller()
423 ci++, compptr++) { in jinit_c_coef_controller()
426 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_c_coef_controller()
427 (long) compptr->h_samp_factor), in jinit_c_coef_controller()
428 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_c_coef_controller()
429 (long) compptr->v_samp_factor), in jinit_c_coef_controller()
430 (JDIMENSION) compptr->v_samp_factor); in jinit_c_coef_controller()