• Home
  • Raw
  • Download

Lines Matching refs:upsample

42   my_upsample_ptr upsample = (my_upsample_ptr)cinfo->upsample;  in start_pass_upsample()  local
45 upsample->next_row_out = cinfo->max_v_samp_factor; in start_pass_upsample()
47 upsample->rows_to_go = cinfo->output_height; in start_pass_upsample()
65 my_upsample_ptr upsample = (my_upsample_ptr)cinfo->upsample; in sep_upsample() local
71 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { in sep_upsample()
77 (*upsample->methods[ci]) (cinfo, compptr, in sep_upsample()
78 input_buf[ci] + (*in_row_group_ctr * upsample->rowgroup_height[ci]), in sep_upsample()
79 upsample->color_buf + ci); in sep_upsample()
81 upsample->next_row_out = 0; in sep_upsample()
87 num_rows = (JDIMENSION)(cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
91 if (num_rows > upsample->rows_to_go) in sep_upsample()
92 num_rows = upsample->rows_to_go; in sep_upsample()
98 (*cinfo->cconvert->color_convert) (cinfo, upsample->color_buf, in sep_upsample()
99 (JDIMENSION)upsample->next_row_out, in sep_upsample()
104 upsample->rows_to_go -= num_rows; in sep_upsample()
105 upsample->next_row_out += num_rows; in sep_upsample()
107 if (upsample->next_row_out >= cinfo->max_v_samp_factor) in sep_upsample()
161 my_upsample_ptr upsample = (my_upsample_ptr)cinfo->upsample; in int_upsample() local
170 h_expand = upsample->h_expand[compptr->component_index]; in int_upsample()
171 v_expand = upsample->v_expand[compptr->component_index]; in int_upsample()
415 my_upsample_ptr upsample; in jinit_upsampler() local
422 upsample = (my_upsample_ptr) in jinit_upsampler()
425 cinfo->upsample = (struct jpeg_upsampler *)upsample; in jinit_upsampler()
426 upsample->pub.start_pass = start_pass_upsample; in jinit_upsampler()
427 upsample->pub.upsample = sep_upsample; in jinit_upsampler()
428 upsample->pub.need_context_rows = FALSE; /* until we find out differently */ in jinit_upsampler()
430 upsample = (my_upsample_ptr)cinfo->upsample; in jinit_upsampler()
454 upsample->rowgroup_height[ci] = v_in_group; /* save for use later */ in jinit_upsampler()
458 upsample->methods[ci] = noop_upsample; in jinit_upsampler()
462 upsample->methods[ci] = fullsize_upsample; in jinit_upsampler()
468 upsample->methods[ci] = jsimd_h2v1_fancy_upsample; in jinit_upsampler()
470 upsample->methods[ci] = h2v1_fancy_upsample; in jinit_upsampler()
473 upsample->methods[ci] = jsimd_h2v1_upsample; in jinit_upsampler()
475 upsample->methods[ci] = h2v1_upsample; in jinit_upsampler()
480 upsample->methods[ci] = h1v2_fancy_upsample; in jinit_upsampler()
481 upsample->pub.need_context_rows = TRUE; in jinit_upsampler()
487 upsample->methods[ci] = jsimd_h2v2_fancy_upsample; in jinit_upsampler()
489 upsample->methods[ci] = h2v2_fancy_upsample; in jinit_upsampler()
490 upsample->pub.need_context_rows = TRUE; in jinit_upsampler()
493 upsample->methods[ci] = jsimd_h2v2_upsample; in jinit_upsampler()
495 upsample->methods[ci] = h2v2_upsample; in jinit_upsampler()
502 upsample->methods[ci] = jsimd_int_upsample; in jinit_upsampler()
505 upsample->methods[ci] = int_upsample; in jinit_upsampler()
506 upsample->h_expand[ci] = (UINT8)(h_out_group / h_in_group); in jinit_upsampler()
507 upsample->v_expand[ci] = (UINT8)(v_out_group / v_in_group); in jinit_upsampler()
511 upsample->color_buf[ci] = (*cinfo->mem->alloc_sarray) in jinit_upsampler()