Home
last modified time | relevance | path

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

12

/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jdmerge.c89 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in build_ycc_rgb_table() local
94 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
97 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
100 upsample->Cr_g_tab = (INT32 *) in build_ycc_rgb_table()
103 upsample->Cb_g_tab = (INT32 *) in build_ycc_rgb_table()
111 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
114 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
117 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x; in build_ycc_rgb_table()
120 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
132 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_merged_upsample() local
[all …]
Dfpdfapi_jdsample.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 …]
Dfpdfapi_jdpostct.c96 post->pub.post_process_data = cinfo->upsample->upsample; in start_pass_dpost()
142 (*cinfo->upsample->upsample) (cinfo, in post_process_1pass()
177 (*cinfo->upsample->upsample) (cinfo, in post_process_prepass()
Dfpdfapi_jdmainct.c314 if (cinfo->upsample->need_context_rows) { in start_pass_main()
495 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
/external/chromium_org/third_party/libjpeg_turbo/
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 …]
Djdsample.c76 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_upsample() local
79 upsample->next_row_out = cinfo->max_v_samp_factor; in start_pass_upsample()
81 upsample->rows_to_go = cinfo->output_height; in start_pass_upsample()
100 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in sep_upsample() local
106 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { in sep_upsample()
112 (*upsample->methods[ci]) (cinfo, compptr, in sep_upsample()
113 input_buf[ci] + (*in_row_group_ctr * upsample->rowgroup_height[ci]), in sep_upsample()
114 upsample->color_buf + ci); in sep_upsample()
116 upsample->next_row_out = 0; in sep_upsample()
122 num_rows = (JDIMENSION) (cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
[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()
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.c316 if (cinfo->upsample->need_context_rows) { in start_pass_main()
497 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
/external/qemu/distrib/jpeg-6b/
Djdsample.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 …]
Djdmerge.c103 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in build_ycc_rgb_table() local
108 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
111 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
114 upsample->Cr_g_tab = (INT32 *) in build_ycc_rgb_table()
117 upsample->Cb_g_tab = (INT32 *) in build_ycc_rgb_table()
125 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
128 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
131 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x; in build_ycc_rgb_table()
134 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
146 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_merged_upsample() local
[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.c313 if (cinfo->upsample->need_context_rows) { in start_pass_main()
494 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
/external/jpeg/
Djdsample.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 …]
Djdmerge.c103 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in build_ycc_rgb_table() local
108 upsample->Cr_r_tab = (int *) in build_ycc_rgb_table()
111 upsample->Cb_b_tab = (int *) in build_ycc_rgb_table()
114 upsample->Cr_g_tab = (INT32 *) in build_ycc_rgb_table()
117 upsample->Cb_g_tab = (INT32 *) in build_ycc_rgb_table()
125 upsample->Cr_r_tab[i] = (int) in build_ycc_rgb_table()
128 upsample->Cb_b_tab[i] = (int) in build_ycc_rgb_table()
131 upsample->Cr_g_tab[i] = (- FIX(0.71414)) * x; in build_ycc_rgb_table()
134 upsample->Cb_g_tab[i] = (- FIX(0.34414)) * x + ONE_HALF; in build_ycc_rgb_table()
146 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; in start_pass_merged_upsample() local
[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.c313 if (cinfo->upsample->need_context_rows) { in start_pass_main()
494 if (cinfo->upsample->need_context_rows) { in jinit_d_main_controller()
/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 …]
/external/chromium_org/third_party/opus/src/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 …]
/external/webp/src/enc/
Dpicture_csp.c294 WebPUpsampleLinePairFunc upsample = WebPGetLinePairConverter(ALPHA_IS_LAST); in WebPPictureYUVAToARGB() local
297 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()
306 upsample(cur_y, cur_y + picture->y_stride, top_u, top_v, cur_u, cur_v, in WebPPictureYUVAToARGB()
313 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()
/external/chromium_org/third_party/libwebp/enc/
Dpicture_csp.c294 WebPUpsampleLinePairFunc upsample = WebPGetLinePairConverter(ALPHA_IS_LAST); in WebPPictureYUVAToARGB() local
297 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()
306 upsample(cur_y, cur_y + picture->y_stride, top_u, top_v, cur_u, cur_v, in WebPPictureYUVAToARGB()
313 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); in WebPPictureYUVAToARGB()
/external/chromium_org/third_party/libwebp/dec/
Dio.c92 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace]; in EmitFancyRGB() local
105 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, mb_w); in EmitFancyRGB()
108 upsample(p->tmp_y, cur_y, top_u, top_v, cur_u, cur_v, in EmitFancyRGB()
120 upsample(cur_y - io->y_stride, cur_y, in EmitFancyRGB()
137 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, in EmitFancyRGB()
/external/webp/src/dec/
Dio.c92 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace]; in EmitFancyRGB() local
105 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, mb_w); in EmitFancyRGB()
108 upsample(p->tmp_y, cur_y, top_u, top_v, cur_u, cur_v, in EmitFancyRGB()
120 upsample(cur_y - io->y_stride, cur_y, in EmitFancyRGB()
137 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/chromium_org/third_party/opus/src/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()

12