• Home
  • Raw
  • Download

Lines Matching refs:compptr

151   jpeg_component_info *compptr;  in compress_data()  local
169 compptr = cinfo->cur_comp_info[ci]; in compress_data()
170 blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width in compress_data()
171 : compptr->last_col_width; in compress_data()
172 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data()
174 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_data()
176 yoffset+yindex < compptr->last_row_height) { in compress_data()
177 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_data()
178 input_buf[compptr->component_index], in compress_data()
181 if (blockcnt < compptr->MCU_width) { in compress_data()
184 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data()
185 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
192 compptr->MCU_width * SIZEOF(JBLOCK)); in compress_data()
193 for (bi = 0; bi < compptr->MCU_width; bi++) { in compress_data()
197 blkn += compptr->MCU_width; in compress_data()
252 jpeg_component_info *compptr; in compress_first_pass() local
256 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in compress_first_pass()
257 ci++, compptr++) { in compress_first_pass()
261 coef->iMCU_row_num * compptr->v_samp_factor, in compress_first_pass()
262 (JDIMENSION) compptr->v_samp_factor, TRUE); in compress_first_pass()
265 block_rows = compptr->v_samp_factor; in compress_first_pass()
268 block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor); in compress_first_pass()
269 if (block_rows == 0) block_rows = compptr->v_samp_factor; in compress_first_pass()
271 blocks_across = compptr->width_in_blocks; in compress_first_pass()
272 h_samp_factor = compptr->h_samp_factor; in compress_first_pass()
282 (*cinfo->fdct->forward_DCT) (cinfo, compptr, in compress_first_pass()
304 for (block_row = block_rows; block_row < compptr->v_samp_factor; in compress_first_pass()
349 jpeg_component_info *compptr; in compress_output() local
356 compptr = cinfo->cur_comp_info[ci]; in compress_output()
358 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index], in compress_output()
359 coef->iMCU_row_num * compptr->v_samp_factor, in compress_output()
360 (JDIMENSION) compptr->v_samp_factor, FALSE); in compress_output()
371 compptr = cinfo->cur_comp_info[ci]; in compress_output()
372 start_col = MCU_col_num * compptr->MCU_width; in compress_output()
373 for (yindex = 0; yindex < compptr->MCU_height; yindex++) { in compress_output()
375 for (xindex = 0; xindex < compptr->MCU_width; xindex++) { in compress_output()
421 jpeg_component_info *compptr; in jinit_c_coef_controller() local
423 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_coef_controller()
424 ci++, compptr++) { in jinit_c_coef_controller()
427 (JDIMENSION) jround_up((long) compptr->width_in_blocks, in jinit_c_coef_controller()
428 (long) compptr->h_samp_factor), in jinit_c_coef_controller()
429 (JDIMENSION) jround_up((long) compptr->height_in_blocks, in jinit_c_coef_controller()
430 (long) compptr->v_samp_factor), in jinit_c_coef_controller()
431 (JDIMENSION) compptr->v_samp_factor); in jinit_c_coef_controller()