Lines Matching refs:compptr
55 (j_compress_ptr cinfo, jpeg_component_info * compptr,
120 jpeg_component_info * compptr; in sep_downsample() local
123 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in sep_downsample()
124 ci++, compptr++) { in sep_downsample()
126 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample()
127 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); in sep_downsample()
140 int_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, in int_downsample() argument
145 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in int_downsample()
149 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample()
150 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample()
162 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in int_downsample()
187 fullsize_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, in fullsize_downsample() argument
195 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); in fullsize_downsample()
212 h2v1_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, in h2v1_downsample() argument
217 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in h2v1_downsample()
228 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v1_downsample()
249 h2v2_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, in h2v2_downsample() argument
254 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in h2v2_downsample()
266 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_downsample()
292 h2v2_smooth_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, in h2v2_smooth_downsample() argument
297 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in h2v2_smooth_downsample()
325 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_smooth_downsample()
392 fullsize_smooth_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, in fullsize_smooth_downsample() argument
397 JDIMENSION output_cols = compptr->width_in_blocks * DCTSIZE; in fullsize_smooth_downsample()
418 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in fullsize_smooth_downsample()
468 jpeg_component_info * compptr; in jinit_downsampler() local
483 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_downsampler()
484 ci++, compptr++) { in jinit_downsampler()
485 if (compptr->h_samp_factor == cinfo->max_h_samp_factor && in jinit_downsampler()
486 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler()
494 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler()
495 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler()
498 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler()
499 compptr->v_samp_factor * 2 == cinfo->max_v_samp_factor) { in jinit_downsampler()
507 } else if ((cinfo->max_h_samp_factor % compptr->h_samp_factor) == 0 && in jinit_downsampler()
508 (cinfo->max_v_samp_factor % compptr->v_samp_factor) == 0) { in jinit_downsampler()