Home | History | Annotate | Download | only in libjpeg

Lines Matching full:downsample

53 /* Pointer to routine to downsample a single component */
119 * In this version we simply downsample each component independently.
127 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample;
136 (out_row_group_index * downsample->rowgroup_height[ci]);
137 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr);
143 * Downsample pixel values of a single component.
153 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample;
160 h_expand = downsample->h_expand[compptr->component_index];
161 v_expand = downsample->v_expand[compptr->component_index];
193 * Downsample pixel values of a single component.
212 * Downsample pixel values of a single component.
255 * Downsample pixel values of a single component.
299 * Downsample pixel values of a single component.
400 * Downsample pixel values of a single component.
480 my_downsample_ptr downsample;
486 downsample = (my_downsample_ptr)
489 cinfo->downsample = (struct jpeg_downsampler *) downsample;
490 downsample->pub.start_pass = start_pass_downsample;
491 downsample->pub.downsample = sep_downsample;
492 downsample->pub.need_context_rows = FALSE;
509 downsample->rowgroup_height[ci] = v_out_group; /* save for use later */
513 downsample->methods[ci] = fullsize_smooth_downsample;
514 downsample->pub.need_context_rows = TRUE;
517 downsample->methods[ci] = fullsize_downsample;
521 downsample->methods[ci] = h2v1_downsample;
526 downsample->methods[ci] = h2v2_smooth_downsample;
527 downsample->pub.need_context_rows = TRUE;
530 downsample->methods[ci] = h2v2_downsample;
534 downsample->methods[ci] = int_downsample;
535 downsample->h_expand[ci] = (UINT8) (h_in_group / h_out_group);
536 downsample->v_expand[ci] = (UINT8) (v_in_group / v_out_group);