Home | History | Annotate | Download | only in jpeg

Lines Matching defs:compptr

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