Home
last modified time | relevance | path

Searched refs:FILTER_BITS (Results 1 – 25 of 72) sorted by relevance

123

/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c26 #define FILTER_BITS 7 macro
197 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
211 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
222 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
235 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
254 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
260 sum >>= FILTER_BITS; in down2_symeven()
266 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
270 sum >>= FILTER_BITS; in down2_symeven()
275 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
[all …]
/external/libaom/libaom/av1/common/
Dconvolve.c43 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in av1_convolve_horiz_rs_c()
68 dst[x] = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in av1_highbd_convolve_horiz_rs_c()
128 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in av1_convolve_2d_sr_c()
136 int32_t sum = (1 << (bd + FILTER_BITS - 1)); in av1_convolve_2d_sr_c()
140 assert(0 <= sum && sum < (1 << (bd + FILTER_BITS + 1))); in av1_convolve_2d_sr_c()
150 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_convolve_2d_sr_c()
177 assert(conv_params->round_0 <= FILTER_BITS); in av1_convolve_y_sr_c()
178 assert(((conv_params->round_0 + conv_params->round_1) <= (FILTER_BITS + 1)) || in av1_convolve_y_sr_c()
179 ((conv_params->round_0 + conv_params->round_1) == (2 * FILTER_BITS))); in av1_convolve_y_sr_c()
191 clip_pixel(ROUND_POWER_OF_TWO(res, FILTER_BITS)); in av1_convolve_y_sr_c()
[all …]
Dresize.c279 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
290 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
300 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
311 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
364 *optr++ = sum / (1 << FILTER_BITS); in interpolate_core_double_prec()
375 *optr++ = sum / (1 << FILTER_BITS); in interpolate_core_double_prec()
385 *optr++ = sum / (1 << FILTER_BITS); in interpolate_core_double_prec()
396 *optr++ = sum / (1 << FILTER_BITS); in interpolate_core_double_prec()
448 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
454 sum >>= FILTER_BITS; in down2_symeven()
[all …]
Dconvolve.h38 #define WIENER_CLAMP_LIMIT(r0, bd) (1 << ((bd) + 1 + FILTER_BITS - r0))
73 : 2 * FILTER_BITS - conv_params.round_0; in get_conv_params_no_round()
74 const int intbufrange = bd + FILTER_BITS - conv_params.round_0 + 2; in get_conv_params_no_round()
99 conv_params.round_1 = 2 * FILTER_BITS - conv_params.round_0; in get_conv_params_wiener()
100 const int intbufrange = bd + FILTER_BITS - conv_params.round_0 + 2; in get_conv_params_wiener()
Dwarped_motion.c403 AOMMAX(bd + FILTER_BITS - conv_params->round_0 - 14, 0); in av1_highbd_warp_affine_c()
406 : 2 * FILTER_BITS - reduce_bits_horiz; in av1_highbd_warp_affine_c()
407 const int max_bits_horiz = bd + FILTER_BITS + 1 - reduce_bits_horiz; in av1_highbd_warp_affine_c()
408 const int offset_bits_horiz = bd + FILTER_BITS - 1; in av1_highbd_warp_affine_c()
409 const int offset_bits_vert = bd + 2 * FILTER_BITS - reduce_bits_horiz; in av1_highbd_warp_affine_c()
411 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_warp_affine_c()
412 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_highbd_warp_affine_c()
687 : 2 * FILTER_BITS - reduce_bits_horiz; in av1_warp_affine_c()
688 const int max_bits_horiz = bd + FILTER_BITS + 1 - reduce_bits_horiz; in av1_warp_affine_c()
689 const int offset_bits_horiz = bd + FILTER_BITS - 1; in av1_warp_affine_c()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_avg_msa.c79 SRARI_H2_SH(res0, res1, FILTER_BITS); in common_hv_8ht_8vt_and_aver_dst_4w_msa()
176 SRARI_H4_SH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_hv_8ht_8vt_and_aver_dst_8w_msa()
248 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
249 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
250 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src4, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
258 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
288 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
289 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
290 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src5, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
291 hz_out6 = HORIZ_2TAP_FILT_UH(src6, src7, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
[all …]
Dvpx_convolve8_msa.c85 SRARI_H2_SH(tmp0, tmp1, FILTER_BITS); in common_hv_8ht_8vt_4w_msa()
177 SRARI_H4_SH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_hv_8ht_8vt_8w_msa()
251 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
252 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
253 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src4, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
259 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
287 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
288 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
289 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src5, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
290 hz_out6 = HORIZ_2TAP_FILT_UH(src6, src7, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
[all …]
Dvpx_convolve8_vert_msa.c53 SRARI_H2_SH(out10, out32, FILTER_BITS); in common_vt_8t_4w_msa()
103 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_8w_msa()
172 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_16w_msa()
173 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_16w_msa()
256 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_16w_mult_msa()
257 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_16w_mult_msa()
319 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_4x4_msa()
351 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_4x8_msa()
384 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_8x4_msa()
416 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_8x8mult_msa()
[all …]
Dsub_pixel_variance_msa.c408 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in sub_pixel_sse_diff_4width_h_msa()
448 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in sub_pixel_sse_diff_8width_h_msa()
494 SRARI_H4_UH(out0, out1, out2, out3, FILTER_BITS); in sub_pixel_sse_diff_16width_h_msa()
495 SRARI_H4_UH(out4, out5, out6, out7, FILTER_BITS); in sub_pixel_sse_diff_16width_h_msa()
578 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_4width_v_msa()
620 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_8width_v_msa()
662 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
668 SRARI_H2_UH(tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
672 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
675 SRARI_H2_UH(tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
[all …]
Dvpx_convolve8_avg_vert_msa.c57 SRARI_H2_SH(out10, out32, FILTER_BITS); in common_vt_8t_and_aver_dst_4w_msa()
115 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_vt_8t_and_aver_dst_8w_msa()
191 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_and_aver_dst_16w_mult_msa()
192 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_and_aver_dst_16w_mult_msa()
273 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_and_aver_dst_4x4_msa()
312 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_4x8_msa()
351 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_8x4_msa()
389 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_8x8mult_msa()
395 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_8x8mult_msa()
439 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_and_aver_dst_16w_msa()
[all …]
Dvpx_convolve8_horiz_msa.c37 SRARI_H2_SH(out0, out1, FILTER_BITS); in common_hz_8t_4x4_msa()
71 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_4x8_msa()
113 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_8x4_msa()
146 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_8x8mult_msa()
192 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_16w_msa()
232 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_32w_msa()
251 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_32w_msa()
290 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_64w_msa()
307 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_64w_msa()
333 SRARI_H2_UH(vec2, vec3, FILTER_BITS); in common_hz_2t_4x4_msa()
[all …]
Dvpx_convolve8_mmi.c98 para[0] = (1 << ((FILTER_BITS)-1)); in convolve_horiz_mmi()
99 para[1] = FILTER_BITS; in convolve_horiz_mmi()
173 para[0] = (1 << ((FILTER_BITS)-1)); in convolve_vert_mmi()
174 para[1] = FILTER_BITS; in convolve_vert_mmi()
265 para[0] = (1 << ((FILTER_BITS)-1)); in convolve_avg_horiz_mmi()
266 para[1] = FILTER_BITS; in convolve_avg_horiz_mmi()
349 para[0] = (1 << ((FILTER_BITS)-1)); in convolve_avg_vert_mmi()
350 para[1] = FILTER_BITS; in convolve_avg_vert_mmi()
521 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz()
544 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert()
[all …]
Dvpx_convolve8_avg_horiz_msa.c42 SRARI_H2_SH(res0, res1, FILTER_BITS); in common_hz_8t_and_aver_dst_4x4_msa()
83 SRARI_H4_SH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_8t_and_aver_dst_4x8_msa()
135 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_8w_msa()
188 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_16w_msa()
243 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_32w_msa()
300 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_64w_msa()
332 SRARI_H2_UH(vec2, vec3, FILTER_BITS); in common_hz_2t_and_aver_dst_4x4_msa()
363 SRARI_H4_UH(vec4, vec5, vec6, vec7, FILTER_BITS); in common_hz_2t_and_aver_dst_4x8_msa()
402 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_2t_and_aver_dst_8x4_msa()
429 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_2t_and_aver_dst_8x8mult_msa()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Daom_convolve8_vert_msa.c56 SRARI_H2_SH(out10, out32, FILTER_BITS); in common_vt_8t_4w_msa()
106 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_8w_msa()
175 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_16w_msa()
176 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_16w_msa()
259 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_16w_mult_msa()
260 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_16w_mult_msa()
322 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_4x4_msa()
354 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_4x8_msa()
387 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_8x4_msa()
419 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_8x8mult_msa()
[all …]
Dsub_pixel_variance_msa.c406 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in sub_pixel_sse_diff_4width_h_msa()
446 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in sub_pixel_sse_diff_8width_h_msa()
492 SRARI_H4_UH(out0, out1, out2, out3, FILTER_BITS); in sub_pixel_sse_diff_16width_h_msa()
493 SRARI_H4_UH(out4, out5, out6, out7, FILTER_BITS); in sub_pixel_sse_diff_16width_h_msa()
576 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_4width_v_msa()
618 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_8width_v_msa()
660 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
666 SRARI_H2_UH(tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
670 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
673 SRARI_H2_UH(tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
[all …]
Daom_convolve8_horiz_msa.c40 SRARI_H2_SH(out0, out1, FILTER_BITS); in common_hz_8t_4x4_msa()
74 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_4x8_msa()
116 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_8x4_msa()
149 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_8x8mult_msa()
195 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_16w_msa()
235 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_32w_msa()
254 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_32w_msa()
293 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_64w_msa()
310 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_64w_msa()
336 SRARI_H2_UH(vec2, vec3, FILTER_BITS); in common_hz_2t_4x4_msa()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dvariance_impl_ssse3.c26 const int16_t round = (1 << (FILTER_BITS - 1)) >> 1; in aom_var_filter_block2d_bil_first_pass_ssse3()
51 res = _mm_srai_epi16(_mm_add_epi16(res, r), FILTER_BITS - 1); in aom_var_filter_block2d_bil_first_pass_ssse3()
75 res = _mm_srai_epi16(_mm_add_epi16(res, r), FILTER_BITS - 1); in aom_var_filter_block2d_bil_first_pass_ssse3()
89 const int16_t round = (1 << FILTER_BITS) >> 1; in aom_var_filter_block2d_bil_second_pass_ssse3()
116 res = _mm_srai_epi32(_mm_add_epi32(res, r), FILTER_BITS); in aom_var_filter_block2d_bil_second_pass_ssse3()
Dhighbd_convolve_ssse3.c33 assert(conv_params->round_0 <= FILTER_BITS); in av1_highbd_convolve_y_sr_ssse3()
34 assert(((conv_params->round_0 + conv_params->round_1) <= (FILTER_BITS + 1)) || in av1_highbd_convolve_y_sr_ssse3()
35 ((conv_params->round_0 + conv_params->round_1) == (2 * FILTER_BITS))); in av1_highbd_convolve_y_sr_ssse3()
39 const int bits = FILTER_BITS; in av1_highbd_convolve_y_sr_ssse3()
182 assert(bd + FILTER_BITS + 2 - conv_params->round_0 <= 16); in av1_highbd_convolve_x_sr_ssse3()
190 const int bits = FILTER_BITS - conv_params->round_0; in av1_highbd_convolve_x_sr_ssse3()
/external/libaom/libaom/av1/common/x86/
Dav1_highbd_convolve_sse4.c82 __m128i rnd = _mm_set1_epi32(1 << (FILTER_BITS - 1)); in transClipPixel()
94 u[0] = _mm_srai_epi32(u[0], FILTER_BITS); in transClipPixel()
95 u[1] = _mm_srai_epi32(u[1], FILTER_BITS); in transClipPixel()
96 u[2] = _mm_srai_epi32(u[2], FILTER_BITS); in transClipPixel()
97 u[3] = _mm_srai_epi32(u[3], FILTER_BITS); in transClipPixel()
159 __m128i rnd = _mm_set1_epi32(1 << (FILTER_BITS - 1)); in highbdRndingPacks()
161 u[0] = _mm_srai_epi32(u[0], FILTER_BITS); in highbdRndingPacks()
Dconvolve_sse2.c86 const __m128i round_const = _mm_set1_epi32((1 << FILTER_BITS) >> 1); in av1_convolve_y_sr_sse2()
87 const __m128i round_shift = _mm_cvtsi32_si128(FILTER_BITS); in av1_convolve_y_sr_sse2()
94 assert(conv_params->round_0 <= FILTER_BITS); in av1_convolve_y_sr_sse2()
95 assert(((conv_params->round_0 + conv_params->round_1) <= (FILTER_BITS + 1)) || in av1_convolve_y_sr_sse2()
96 ((conv_params->round_0 + conv_params->round_1) == (2 * FILTER_BITS))); in av1_convolve_y_sr_sse2()
247 const int bits = FILTER_BITS - conv_params->round_0; in av1_convolve_x_sr_sse2()
259 assert((FILTER_BITS - conv_params->round_1) >= 0 || in av1_convolve_x_sr_sse2()
260 ((conv_params->round_0 + conv_params->round_1) == 2 * FILTER_BITS)); in av1_convolve_x_sr_sse2()
Djnt_convolve_avx2.c48 const int bits = FILTER_BITS - conv_params->round_1; in av1_dist_wtd_convolve_x_avx2()
53 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_x_avx2()
57 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_x_avx2()
201 const int left_shift = FILTER_BITS - conv_params->round_0 + 1; in av1_dist_wtd_convolve_y_avx2()
209 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_y_avx2()
212 const int offset_1 = (1 << (bd + FILTER_BITS - 2)); in av1_dist_wtd_convolve_y_avx2()
216 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_y_avx2()
221 assert((FILTER_BITS - conv_params->round_0) >= 0); in av1_dist_wtd_convolve_y_avx2()
613 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_2d_avx2()
617 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_2d_avx2()
[all …]
Dhighbd_convolve_2d_sse4.c37 FILTER_BITS * 2 - conv_params->round_1 - conv_params->round_0; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1()
49 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1()
54 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1()
195 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_sse4_1()
199 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_sse4_1()
206 assert(bd + FILTER_BITS + 2 - conv_params->round_0 <= 16); in av1_highbd_dist_wtd_convolve_2d_sse4_1()
229 ((1 << conv_params->round_0) >> 1) + (1 << (bd + FILTER_BITS - 1))); in av1_highbd_dist_wtd_convolve_2d_sse4_1()
297 (1 << (bd + 2 * FILTER_BITS - conv_params->round_0 - 1))); in av1_highbd_dist_wtd_convolve_2d_sse4_1()
Dhighbd_jnt_convolve_avx2.c38 FILTER_BITS * 2 - conv_params->round_1 - conv_params->round_0; in av1_highbd_dist_wtd_convolve_2d_copy_avx2()
50 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_avx2()
55 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_avx2()
248 assert(bd + FILTER_BITS + 2 - conv_params->round_0 <= 16); in av1_highbd_dist_wtd_convolve_2d_avx2()
261 ((1 << conv_params->round_0) >> 1) + (1 << (bd + FILTER_BITS - 1))); in av1_highbd_dist_wtd_convolve_2d_avx2()
266 (1 << (bd + 2 * FILTER_BITS - conv_params->round_0 - 1))); in av1_highbd_dist_wtd_convolve_2d_avx2()
270 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_avx2()
274 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_avx2()
476 const int bits = FILTER_BITS - conv_params->round_1; in av1_highbd_dist_wtd_convolve_x_avx2()
497 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_x_avx2()
[all …]
Dav1_convolve_scale_sse4.c31 int32_t round_add32 = (1 << round) / 2 + (1 << (bd + FILTER_BITS - 1)); in hfilter8()
90 int32_t sum = (1 << (bd + FILTER_BITS - 1)); in hfilter8()
111 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in vfilter8()
123 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in vfilter8()
270 int32_t round_add32 = (1 << round) / 2 + (1 << (bd + FILTER_BITS - 1)); in highbd_hfilter8()
321 int32_t sum = (1 << (bd + FILTER_BITS - 1)); in highbd_hfilter8()
338 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in highbd_vfilter8()
352 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in highbd_vfilter8()
359 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in highbd_vfilter8()
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubpel_variance_neon.c41 const uint8x8_t out = vrshrn_n_u16(b, FILTER_BITS); in var_filter_block2d_bil_w4()
63 const uint8x8_t out = vrshrn_n_u16(b, FILTER_BITS); in var_filter_block2d_bil_w8()
87 const uint8x8_t out_lo = vrshrn_n_u16(b, FILTER_BITS); in var_filter_block2d_bil_w16()
90 const uint8x8_t out_hi = vrshrn_n_u16(d, FILTER_BITS); in var_filter_block2d_bil_w16()

123