Lines Matching refs:upsample
164 my_merged_upsample_ptr upsample = (my_merged_upsample_ptr)cinfo->upsample; in build_ycc_rgb_table() local
169 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
172 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
175 upsample->Cr_g_tab = (JLONG *) in build_ycc_rgb_table()
178 upsample->Cb_g_tab = (JLONG *) in build_ycc_rgb_table()
186 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
189 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
192 upsample->Cr_g_tab[i] = (-FIX(0.71414)) * x; in build_ycc_rgb_table()
195 upsample->Cb_g_tab[i] = (-FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
207 my_merged_upsample_ptr upsample = (my_merged_upsample_ptr)cinfo->upsample; in start_pass_merged_upsample() local
210 upsample->spare_full = FALSE; in start_pass_merged_upsample()
212 upsample->rows_to_go = cinfo->output_height; in start_pass_merged_upsample()
229 my_merged_upsample_ptr upsample = (my_merged_upsample_ptr)cinfo->upsample; in merged_2v_upsample() local
233 if (upsample->spare_full) { in merged_2v_upsample()
235 JDIMENSION size = upsample->out_row_width; in merged_2v_upsample()
238 jcopy_sample_rows(&upsample->spare_row, 0, output_buf + *out_row_ctr, 0, 1, in merged_2v_upsample()
241 upsample->spare_full = FALSE; in merged_2v_upsample()
246 if (num_rows > upsample->rows_to_go) in merged_2v_upsample()
247 num_rows = upsample->rows_to_go; in merged_2v_upsample()
257 work_ptrs[1] = upsample->spare_row; in merged_2v_upsample()
258 upsample->spare_full = TRUE; in merged_2v_upsample()
261 (*upsample->upmethod) (cinfo, input_buf, *in_row_group_ctr, work_ptrs); in merged_2v_upsample()
266 upsample->rows_to_go -= num_rows; in merged_2v_upsample()
268 if (!upsample->spare_full) in merged_2v_upsample()
280 my_merged_upsample_ptr upsample = (my_merged_upsample_ptr)cinfo->upsample; in merged_1v_upsample() local
283 (*upsample->upmethod) (cinfo, input_buf, *in_row_group_ctr, in merged_1v_upsample()
541 my_merged_upsample_ptr upsample; in jinit_merged_upsampler() local
543 upsample = (my_merged_upsample_ptr) in jinit_merged_upsampler()
546 cinfo->upsample = (struct jpeg_upsampler *)upsample; in jinit_merged_upsampler()
547 upsample->pub.start_pass = start_pass_merged_upsample; in jinit_merged_upsampler()
548 upsample->pub.need_context_rows = FALSE; in jinit_merged_upsampler()
550 upsample->out_row_width = cinfo->output_width * cinfo->out_color_components; in jinit_merged_upsampler()
553 upsample->pub.upsample = merged_2v_upsample; in jinit_merged_upsampler()
555 upsample->upmethod = jsimd_h2v2_merged_upsample; in jinit_merged_upsampler()
557 upsample->upmethod = h2v2_merged_upsample; in jinit_merged_upsampler()
560 upsample->upmethod = h2v2_merged_upsample_565D; in jinit_merged_upsampler()
562 upsample->upmethod = h2v2_merged_upsample_565; in jinit_merged_upsampler()
566 upsample->spare_row = (JSAMPROW) in jinit_merged_upsampler()
568 (size_t)(upsample->out_row_width * sizeof(JSAMPLE))); in jinit_merged_upsampler()
570 upsample->pub.upsample = merged_1v_upsample; in jinit_merged_upsampler()
572 upsample->upmethod = jsimd_h2v1_merged_upsample; in jinit_merged_upsampler()
574 upsample->upmethod = h2v1_merged_upsample; in jinit_merged_upsampler()
577 upsample->upmethod = h2v1_merged_upsample_565D; in jinit_merged_upsampler()
579 upsample->upmethod = h2v1_merged_upsample_565; in jinit_merged_upsampler()
583 upsample->spare_row = NULL; in jinit_merged_upsampler()