Home
last modified time | relevance | path

Searched refs:upsample (Results 1 – 25 of 40) sorted by relevance

12

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdmerge.c88 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in build_ycc_rgb_table() local
93 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
96 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
99 upsample->Cr_g_tab = (INT32 *) in build_ycc_rgb_table()
102 upsample->Cb_g_tab = (INT32 *) in build_ycc_rgb_table()
110 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
113 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
116 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x; in build_ycc_rgb_table()
119 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
131 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_merged_upsample() local
[all …]
Dfpdfapi_jdsample.c71 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_upsample() local
74 upsample->next_row_out = cinfo->max_v_samp_factor; in start_pass_upsample()
76 upsample->rows_to_go = cinfo->output_height; in start_pass_upsample()
95 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in sep_upsample() local
101 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { in sep_upsample()
107 (*upsample->methods[ci]) (cinfo, compptr, in sep_upsample()
108 input_buf[ci] + (*in_row_group_ctr * upsample->rowgroup_height[ci]), in sep_upsample()
109 upsample->color_buf + ci); in sep_upsample()
111 upsample->next_row_out = 0; in sep_upsample()
117 num_rows = (JDIMENSION) (cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
[all …]
Dfpdfapi_jdpostct.c95 post->pub.post_process_data = cinfo->upsample->upsample; in start_pass_dpost()
141 (*cinfo->upsample->upsample) (cinfo, in post_process_1pass()
176 (*cinfo->upsample->upsample) (cinfo, in post_process_prepass()
Dfpdfapi_jdmainct.c313 if (cinfo->upsample->need_context_rows) { in start_pass_main()
494 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
/external/opencv3/3rdparty/libjpeg/
Djdmerge.c85 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in build_ycc_rgb_table() local
90 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
93 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
96 upsample->Cr_g_tab = (INT32 *) in build_ycc_rgb_table()
99 upsample->Cb_g_tab = (INT32 *) in build_ycc_rgb_table()
107 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
110 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
113 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x; in build_ycc_rgb_table()
116 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
128 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_merged_upsample() local
[all …]
Djdsample.c72 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_upsample() local
75 upsample->next_row_out = cinfo->max_v_samp_factor; in start_pass_upsample()
77 upsample->rows_to_go = cinfo->output_height; in start_pass_upsample()
96 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in sep_upsample() local
102 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { in sep_upsample()
108 (*upsample->methods[ci]) (cinfo, compptr, in sep_upsample()
109 input_buf[ci] + (*in_row_group_ctr * upsample->rowgroup_height[ci]), in sep_upsample()
110 upsample->color_buf + ci); in sep_upsample()
112 upsample->next_row_out = 0; in sep_upsample()
118 num_rows = (JDIMENSION) (cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
[all …]
Djdpostct.c95 post->pub.post_process_data = cinfo->upsample->upsample; in start_pass_dpost()
141 (*cinfo->upsample->upsample) (cinfo, in post_process_1pass()
176 (*cinfo->upsample->upsample) (cinfo, in post_process_prepass()
Djdmainct.c314 if (cinfo->upsample->need_context_rows) { in start_pass_main()
495 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
/external/libjpeg-turbo/
Djdsample.c40 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_upsample() local
43 upsample->next_row_out = cinfo->max_v_samp_factor; in start_pass_upsample()
45 upsample->rows_to_go = cinfo->output_height; in start_pass_upsample()
64 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in sep_upsample() local
70 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { in sep_upsample()
76 (*upsample->methods[ci]) (cinfo, compptr, in sep_upsample()
77 input_buf[ci] + (*in_row_group_ctr * upsample->rowgroup_height[ci]), in sep_upsample()
78 upsample->color_buf + ci); in sep_upsample()
80 upsample->next_row_out = 0; in sep_upsample()
86 num_rows = (JDIMENSION) (cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
[all …]
Djdmerge.c191 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in build_ycc_rgb_table() local
196 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
199 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
202 upsample->Cr_g_tab = (INT32 *) in build_ycc_rgb_table()
205 upsample->Cb_g_tab = (INT32 *) in build_ycc_rgb_table()
213 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
216 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
219 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x; in build_ycc_rgb_table()
222 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
234 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_merged_upsample() local
[all …]
Djdmrg565.c22 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in LOCAL() local
30 int * Crrtab = upsample->Cr_r_tab; in LOCAL()
31 int * Cbbtab = upsample->Cb_b_tab; in LOCAL()
32 INT32 * Crgtab = upsample->Cr_g_tab; in LOCAL()
33 INT32 * Cbgtab = upsample->Cb_g_tab; in LOCAL()
93 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in LOCAL() local
101 int * Crrtab = upsample->Cr_r_tab; in LOCAL()
102 int * Cbbtab = upsample->Cb_b_tab; in LOCAL()
103 INT32 * Crgtab = upsample->Cr_g_tab; in LOCAL()
104 INT32 * Cbgtab = upsample->Cb_g_tab; in LOCAL()
[all …]
Djdmrgext.c28 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in LOCAL() local
36 int * Crrtab = upsample->Cr_r_tab; in LOCAL()
37 int * Cbbtab = upsample->Cb_b_tab; in LOCAL()
38 INT32 * Crgtab = upsample->Cr_g_tab; in LOCAL()
39 INT32 * Cbgtab = upsample->Cb_g_tab; in LOCAL()
101 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in LOCAL() local
109 int * Crrtab = upsample->Cr_r_tab; in LOCAL()
110 int * Cbbtab = upsample->Cb_b_tab; in LOCAL()
111 INT32 * Crgtab = upsample->Cr_g_tab; in LOCAL()
112 INT32 * Cbgtab = upsample->Cb_g_tab; in LOCAL()
Djdapistd.c359 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in jpeg_skip_scanlines() local
387 if (cinfo->upsample->need_context_rows) { in jpeg_skip_scanlines()
420 upsample->next_row_out = cinfo->max_v_samp_factor; in jpeg_skip_scanlines()
421 upsample->rows_to_go = cinfo->output_height - cinfo->output_scanline; in jpeg_skip_scanlines()
433 upsample->next_row_out = cinfo->max_v_samp_factor; in jpeg_skip_scanlines()
434 upsample->rows_to_go = cinfo->output_height - cinfo->output_scanline; in jpeg_skip_scanlines()
439 if (cinfo->upsample->need_context_rows) in jpeg_skip_scanlines()
456 if (cinfo->upsample->need_context_rows) { in jpeg_skip_scanlines()
469 upsample->rows_to_go = cinfo->output_height - cinfo->output_scanline; in jpeg_skip_scanlines()
493 if (cinfo->upsample->need_context_rows) { in jpeg_skip_scanlines()
[all …]
Djdpostct.c94 post->pub.post_process_data = cinfo->upsample->upsample; in start_pass_dpost()
140 (*cinfo->upsample->upsample) (cinfo, in post_process_1pass()
175 (*cinfo->upsample->upsample) (cinfo, in post_process_prepass()
Djdmainct.c255 if (cinfo->upsample->need_context_rows) { in start_pass_main()
436 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
Djpegint.h248 void (*upsample) (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, member
/external/libopus/celt/
Dcelt_encoder.c68 int upsample; member
179 st->upsample = 1; in opus_custom_encoder_init_arch()
215 st->upsample = resampling_factor(sampling_rate); in celt_encoder_init()
420 celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample) in compute_mdcts() argument
449 if (upsample != 1) in compute_mdcts()
453 int bound = B*N/upsample; in compute_mdcts()
455 out[c*B*N+i] *= upsample; in compute_mdcts()
464 … int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip) in celt_preemphasis() argument
474 Nu = N/upsample; in celt_preemphasis()
475 if (upsample!=1) in celt_preemphasis()
[all …]
Dcelt.h199 … int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip);
/external/libjpeg-turbo/simd/
Djsimd_mips.c495 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in jsimd_int_upsample() local
497 jsimd_int_upsample_mips_dspr2(upsample->h_expand[compptr->component_index], in jsimd_int_upsample()
498 upsample->v_expand[compptr->component_index], in jsimd_int_upsample()
Djdsample-sse2-64.asm308 jmp near .upsample
/external/webp/src/dec/
Dio.c66 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace]; in EmitFancyRGB() local
79 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, mb_w); in EmitFancyRGB()
82 upsample(p->tmp_y, cur_y, top_u, top_v, cur_u, cur_v, in EmitFancyRGB()
94 upsample(cur_y - io->y_stride, cur_y, in EmitFancyRGB()
111 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, in EmitFancyRGB()
/external/opencv3/3rdparty/libwebp/dec/
Dio.c109 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace]; in EmitFancyRGB() local
122 upsample(NULL, cur_y, cur_u, cur_v, cur_u, cur_v, NULL, dst, mb_w); in EmitFancyRGB()
125 upsample(p->tmp_y, cur_y, top_u, top_v, cur_u, cur_v, in EmitFancyRGB()
137 upsample(cur_y - io->y_stride, cur_y, in EmitFancyRGB()
154 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, in EmitFancyRGB()
/external/libopus/src/
Dopus_multistream_encoder.c228 int upsample; in surround_analysis() local
238 upsample = resampling_factor(rate); in surround_analysis()
239 frame_size = len*upsample; in surround_analysis()
259 … celt_preemphasis(x, in+overlap, frame_size, 1, upsample, celt_mode->preemph, preemph_mem+c, 0); in surround_analysis()
261 if (upsample != 1) in surround_analysis()
265 freq[i] *= upsample; in surround_analysis()
/external/webp/src/enc/
Dpicture_csp.c1046 WebPUpsampleLinePairFunc upsample = WebPGetLinePairConverter(ALPHA_IS_LAST); in WebPPictureYUVAToARGB() local
1049 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()
1058 upsample(cur_y, cur_y + picture->y_stride, top_u, top_v, cur_u, cur_v, in WebPPictureYUVAToARGB()
1065 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()
/external/opencv3/3rdparty/libwebp/enc/
Dpicture.c786 WebPUpsampleLinePairFunc upsample = WebPGetLinePairConverter(ALPHA_IS_LAST); in WebPPictureYUVAToARGB() local
789 upsample(NULL, cur_y, cur_u, cur_v, cur_u, cur_v, NULL, dst, width); in WebPPictureYUVAToARGB()
798 upsample(cur_y, cur_y + picture->y_stride, top_u, top_v, cur_u, cur_v, in WebPPictureYUVAToARGB()
805 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()

12