Home
last modified time | relevance | path

Searched refs:round_offset (Results 1 – 15 of 15) sorted by relevance

/external/libaom/libaom/aom_dsp/x86/
Dblend_mask_sse4.h68 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw0_subh0_w4_sse4_1() argument
74 blend_a64_d16_mask_w4_sse41(dst, src0, src1, &m, round_offset, &v_maxval, in aom_lowbd_blend_a64_d16_mask_subw0_subh0_w4_sse4_1()
87 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw0_subh0_w8_sse4_1() argument
92 blend_a64_d16_mask_w8_sse41(dst, src0, src1, &m, round_offset, &v_maxval, in aom_lowbd_blend_a64_d16_mask_subw0_subh0_w8_sse4_1()
105 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh1_w4_sse4_1() argument
117 blend_a64_d16_mask_w4_sse41(dst, src0, src1, &m, round_offset, &v_maxval, in aom_lowbd_blend_a64_d16_mask_subw1_subh1_w4_sse4_1()
130 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh1_w8_sse4_1() argument
142 blend_a64_d16_mask_w8_sse41(dst, src0, src1, &m, round_offset, &v_maxval, in aom_lowbd_blend_a64_d16_mask_subw1_subh1_w8_sse4_1()
155 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh0_w4_sse4_1() argument
164 blend_a64_d16_mask_w4_sse41(dst, src0, src1, &m, round_offset, &v_maxval, in aom_lowbd_blend_a64_d16_mask_subw1_subh0_w4_sse4_1()
[all …]
Dmasked_variance_intrin_ssse3.h28 const __m128i round_offset = in comp_mask_pred_16_ssse3() local
45 const __m128i roundAL = _mm_mulhrs_epi16(blendAL, round_offset); in comp_mask_pred_16_ssse3()
46 const __m128i roundAH = _mm_mulhrs_epi16(blendAH, round_offset); in comp_mask_pred_16_ssse3()
57 const __m128i round_offset = in comp_mask_pred_8_ssse3() local
79 const __m128i roundA = _mm_mulhrs_epi16(blendA, round_offset); in comp_mask_pred_8_ssse3()
80 const __m128i roundB = _mm_mulhrs_epi16(blendB, round_offset); in comp_mask_pred_8_ssse3()
Dblend_a64_mask_avx2.c86 const __m256i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw0_subh0_w16_avx2() argument
92 blend_a64_d16_mask_w16_avx2(dst, src0, src1, &m0, round_offset, &v_maxval, in lowbd_blend_a64_d16_mask_subw0_subh0_w16_avx2()
105 const __m256i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw0_subh0_w32_avx2() argument
114 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw0_subh0_w32_avx2()
127 const __m256i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw1_subh1_w16_avx2() argument
139 blend_a64_d16_mask_w16_avx2(dst, src0, src1, &m0, round_offset, &v_maxval, in lowbd_blend_a64_d16_mask_subw1_subh1_w16_avx2()
152 const __m256i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw1_subh1_w32_avx2() argument
171 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw1_subh1_w32_avx2()
184 const __m256i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw1_subh0_w16_avx2() argument
195 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw1_subh0_w16_avx2()
[all …]
Dblend_a64_mask_sse4.c907 const __m128i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw0_subh0_w16_sse4_1() argument
916 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw0_subh0_w16_sse4_1()
929 const __m128i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw1_subh1_w16_sse4_1() argument
948 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw1_subh1_w16_sse4_1()
961 const __m128i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw1_subh0_w16_sse4_1() argument
975 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw1_subh0_w16_sse4_1()
988 const __m128i *round_offset, int shift) { in lowbd_blend_a64_d16_mask_subw0_subh1_w16_sse4_1() argument
1001 round_offset, &v_maxval, shift); in lowbd_blend_a64_d16_mask_subw0_subh1_w16_sse4_1()
1019 const int round_offset = in aom_lowbd_blend_a64_d16_mask_sse4_1() local
1033 const __m128i v_round_offset = _mm_set1_epi32(round_offset); in aom_lowbd_blend_a64_d16_mask_sse4_1()
[all …]
Dvariance_avx2.c338 const __m256i round_offset = _mm256_set1_epi16(1 << (round_bits)); in comp_mask_pred_line_avx2() local
349 const __m256i roundAL = _mm256_mulhrs_epi16(blendAL, round_offset); in comp_mask_pred_line_avx2()
350 const __m256i roundAH = _mm256_mulhrs_epi16(blendAH, round_offset); in comp_mask_pred_line_avx2()
/external/libaom/libaom/aom_dsp/
Dblend_a64_mask.c44 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in aom_lowbd_blend_a64_d16_mask_c() local
66 res -= round_offset; in aom_lowbd_blend_a64_d16_mask_c()
85 res -= round_offset; in aom_lowbd_blend_a64_d16_mask_c()
100 res -= round_offset; in aom_lowbd_blend_a64_d16_mask_c()
115 res -= round_offset; in aom_lowbd_blend_a64_d16_mask_c()
129 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in aom_highbd_blend_a64_d16_mask_c() local
160 res -= round_offset; in aom_highbd_blend_a64_d16_mask_c()
179 res -= round_offset; in aom_highbd_blend_a64_d16_mask_c()
195 res -= round_offset; in aom_highbd_blend_a64_d16_mask_c()
211 res -= round_offset; in aom_highbd_blend_a64_d16_mask_c()
/external/libaom/libaom/av1/common/
Dconvolve.c323 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_dist_wtd_convolve_y_c() local
340 res = ROUND_POWER_OF_TWO(res, conv_params->round_1) + round_offset; in av1_dist_wtd_convolve_y_c()
351 tmp -= round_offset; in av1_dist_wtd_convolve_y_c()
373 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_dist_wtd_convolve_x_c() local
390 res += round_offset; in av1_dist_wtd_convolve_x_c()
401 tmp -= round_offset; in av1_dist_wtd_convolve_x_c()
422 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_dist_wtd_convolve_2d_copy_c() local
432 res += round_offset; in av1_dist_wtd_convolve_2d_copy_c()
443 tmp -= round_offset; in av1_dist_wtd_convolve_2d_copy_c()
827 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_highbd_dist_wtd_convolve_x_c() local
[all …]
Dcfl.h159 #define CFL_SUB_AVG_X(arch, width, height, round_offset, num_pel_log2) \ argument
162 subtract_average_##arch(src, dst, width, height, round_offset, \
Dcfl.c118 int height, int round_offset, int num_pel_log2) { in subtract_average_c() argument
119 int sum = round_offset; in subtract_average_c()
/external/libaom/libaom/av1/common/x86/
Dcfl_sse2.c24 int height, int round_offset, in subtract_average_sse2() argument
27 const __m128i round_offset_epi32 = _mm_set1_epi32(round_offset); in subtract_average_sse2()
Dcfl_avx2.c400 int height, int round_offset, in subtract_average_avx2() argument
437 _mm256_add_epi32(fill, _mm256_set1_epi32(round_offset)), num_pel_log2); in subtract_average_avx2()
/external/libaom/libaom/av1/common/ppc/
Dcfl_ppc.c36 int width, int height, int round_offset, in subtract_average_vsx() argument
48 int32x4_t sum_32x4_0 = { 0, 0, 0, round_offset }; in subtract_average_vsx()
/external/libaom/libaom/av1/common/arm/
Djnt_convolve_neon.c772 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_dist_wtd_convolve_2d_copy_neon() local
774 const int16x4_t sub_const_vec = vdup_n_s16((int16_t)round_offset); in av1_dist_wtd_convolve_2d_copy_neon()
775 const uint16x8_t dup_round_offset16x8 = vdupq_n_u16((uint16_t)round_offset); in av1_dist_wtd_convolve_2d_copy_neon()
894 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_dist_wtd_convolve_x_neon() local
948 const int16x4_t round_offset_vec = vdup_n_s16(round_offset); in av1_dist_wtd_convolve_x_neon()
1126 const int16x8_t round_offset128 = vdupq_n_s16(round_offset); in av1_dist_wtd_convolve_x_neon()
1127 const int16x4_t round_offset64 = vdup_n_s16(round_offset); in av1_dist_wtd_convolve_x_neon()
1357 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in av1_dist_wtd_convolve_y_neon() local
1412 const int16x4_t round_offset64 = vdup_n_s16(round_offset); in av1_dist_wtd_convolve_y_neon()
1567 const int16x8_t round_offset128 = vdupq_n_s16(round_offset); in av1_dist_wtd_convolve_y_neon()
[all …]
Dcfl_neon.c255 int round_offset, in CFL_GET_SUBSAMPLE_FUNCTION()
260 (void)round_offset; in CFL_GET_SUBSAMPLE_FUNCTION()
/external/libaom/libaom/aom_dsp/arm/
Dblend_a64_mask_neon.c144 const int round_offset = (1 << (offset_bits - conv_params->round_1)) + in aom_lowbd_blend_a64_d16_mask_neon() local
169 const uint16_t offset = round_offset - (1 << (round_bits - 1)); in aom_lowbd_blend_a64_d16_mask_neon()