Lines Matching refs:compptr
152 jpeg_component_info *compptr; in compress_data() local
171 compptr = cinfo->cur_comp_info[ci]; in compress_data()
172 forward_DCT = cinfo->fdct->forward_DCT[compptr->component_index]; in compress_data()
173 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data()
174 : compptr->last_col_width; in compress_data()
175 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data()
176 ypos = yoffset * compptr->DCT_v_scaled_size; in compress_data()
178 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_data()
180 yoffset+yindex < compptr->last_row_height) { in compress_data()
181 (*forward_DCT) (cinfo, compptr, in compress_data()
182 input_buf[compptr->component_index], in compress_data()
185 if (blockcnt < compptr->MCU_width) { in compress_data()
188 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data()
189 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
196 compptr->MCU_width * SIZEOF(JBLOCK)); in compress_data()
197 for (bi = 0; bi < compptr->MCU_width; bi++) { in compress_data()
201 blkn += compptr->MCU_width; in compress_data()
202 ypos += compptr->DCT_v_scaled_size; in compress_data()
256 jpeg_component_info *compptr; in compress_first_pass() local
261 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in compress_first_pass()
262 ci++, compptr++) { in compress_first_pass()
266 coef->iMCU_row_num * compptr->v_samp_factor, in compress_first_pass()
267 (JDIMENSION) compptr->v_samp_factor, TRUE); in compress_first_pass()
270 block_rows = compptr->v_samp_factor; in compress_first_pass()
273 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in compress_first_pass()
274 if (block_rows == 0) block_rows = compptr->v_samp_factor; in compress_first_pass()
276 blocks_across = compptr->width_in_blocks; in compress_first_pass()
277 h_samp_factor = compptr->h_samp_factor; in compress_first_pass()
288 (*forward_DCT) (cinfo, compptr, input_buf[ci], thisblockrow, in compress_first_pass()
289 (JDIMENSION) (block_row * compptr->DCT_v_scaled_size), in compress_first_pass()
309 for (block_row = block_rows; block_row < compptr->v_samp_factor; in compress_first_pass()
354 jpeg_component_info *compptr; in compress_output() local
361 compptr = cinfo->cur_comp_info[ci]; in compress_output()
363 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in compress_output()
364 coef->iMCU_row_num * compptr->v_samp_factor, in compress_output()
365 (JDIMENSION) compptr->v_samp_factor, FALSE); in compress_output()
376 compptr = cinfo->cur_comp_info[ci]; in compress_output()
377 start_col = MCU_col_num * compptr->MCU_width; in compress_output()
378 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_output()
380 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in compress_output()
426 jpeg_component_info *compptr; in jinit_c_coef_controller() local
428 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_coef_controller()
429 ci++, compptr++) { in jinit_c_coef_controller()
432 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_c_coef_controller()
433 (long) compptr->h_samp_factor), in jinit_c_coef_controller()
434 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_c_coef_controller()
435 (long) compptr->v_samp_factor), in jinit_c_coef_controller()
436 (JDIMENSION) compptr->v_samp_factor); in jinit_c_coef_controller()