Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/x86/
Djnt_variance_ssse3.c38 __m128i shift_lo = _mm_srai_epi16(round_lo, DIST_PRECISION_BITS); in compute_dist_wtd_avg()
43 __m128i shift_hi = _mm_srai_epi16(round_hi, DIST_PRECISION_BITS); in compute_dist_wtd_avg()
57 const uint16_t round = ((1 << DIST_PRECISION_BITS) >> 1); in aom_dist_wtd_comp_avg_pred_ssse3()
136 const uint16_t round = ((1 << DIST_PRECISION_BITS) >> 1); in aom_dist_wtd_comp_avg_upsampled_pred_ssse3()
Dconvolve_sse4_1.h27 d = _mm_srai_epi32(d, DIST_PRECISION_BITS); in mult_add_store()
45 res = _mm_srai_epi32(wt_res, DIST_PRECISION_BITS); in highbd_comp_avg_sse4_1()
Dconvolve_sse2.h90 const __m128i res_lo = _mm_srai_epi32(wt_res_lo, DIST_PRECISION_BITS); in comp_avg()
91 const __m128i res_hi = _mm_srai_epi32(wt_res_hi, DIST_PRECISION_BITS); in comp_avg()
Dconvolve_avx2.h389 const __m256i res_lo = _mm256_srai_epi32(wt_res_lo, DIST_PRECISION_BITS); in comp_avg()
390 const __m256i res_hi = _mm256_srai_epi32(wt_res_hi, DIST_PRECISION_BITS); in comp_avg()
420 res = _mm256_srai_epi32(wt_res, DIST_PRECISION_BITS); in highbd_comp_avg()
Dhighbd_variance_sse2.c796 assert(DIST_PRECISION_BITS <= 4); in highbd_compute_dist_wtd_comp_avg()
801 __m128i shift = _mm_srli_epi16(round, DIST_PRECISION_BITS); in highbd_compute_dist_wtd_comp_avg()
815 const uint16_t round = ((1 << DIST_PRECISION_BITS) >> 1); in aom_highbd_dist_wtd_comp_avg_pred_sse2()
876 const uint16_t round = ((1 << DIST_PRECISION_BITS) >> 1); in aom_highbd_dist_wtd_comp_avg_upsampled_pred_sse2()
/external/libaom/libaom/av1/common/arm/
Djnt_convolve_neon.c42 sum0 = vshrq_n_u32(sum0, DIST_PRECISION_BITS); in compute_avg_4x1()
83 sum0 = vshrq_n_u32(sum0, DIST_PRECISION_BITS); in compute_avg_8x1()
87 sum2 = vshrq_n_u32(sum2, DIST_PRECISION_BITS); in compute_avg_8x1()
144 sum0 = vshrq_n_u32(sum0, DIST_PRECISION_BITS); in compute_avg_4x4()
145 sum1 = vshrq_n_u32(sum1, DIST_PRECISION_BITS); in compute_avg_4x4()
146 sum2 = vshrq_n_u32(sum2, DIST_PRECISION_BITS); in compute_avg_4x4()
147 sum3 = vshrq_n_u32(sum3, DIST_PRECISION_BITS); in compute_avg_4x4()
221 sum0 = vshrq_n_u32(sum0, DIST_PRECISION_BITS); in compute_avg_8x4()
222 sum1 = vshrq_n_u32(sum1, DIST_PRECISION_BITS); in compute_avg_8x4()
228 sum2 = vshrq_n_u32(sum2, DIST_PRECISION_BITS); in compute_avg_8x4()
[all …]
Dwarp_plane_neon.c647 tmp16_low = vshrn_n_s32(tmp32_lo, DIST_PRECISION_BITS); in av1_warp_affine_neon()
678 tmp16_high = vshrn_n_s32(tmp32_hi, DIST_PRECISION_BITS); in av1_warp_affine_neon()
/external/libaom/libaom/av1/common/
Dconvolve.c295 tmp = tmp >> DIST_PRECISION_BITS; in av1_dist_wtd_convolve_2d_c()
346 tmp = tmp >> DIST_PRECISION_BITS; in av1_dist_wtd_convolve_y_c()
396 tmp = tmp >> DIST_PRECISION_BITS; in av1_dist_wtd_convolve_x_c()
438 tmp = tmp >> DIST_PRECISION_BITS; in av1_dist_wtd_convolve_2d_copy_c()
515 tmp = tmp >> DIST_PRECISION_BITS; in av1_convolve_2d_scale_c()
801 tmp = tmp >> DIST_PRECISION_BITS; in av1_highbd_dist_wtd_convolve_2d_c()
851 tmp = tmp >> DIST_PRECISION_BITS; in av1_highbd_dist_wtd_convolve_x_c()
900 tmp = tmp >> DIST_PRECISION_BITS; in av1_highbd_dist_wtd_convolve_y_c()
941 tmp = tmp >> DIST_PRECISION_BITS; in av1_highbd_dist_wtd_convolve_2d_copy_c()
1017 tmp = tmp >> DIST_PRECISION_BITS; in av1_highbd_convolve_2d_scale_c()
Denums.h73 #define DIST_PRECISION_BITS 4 macro
74 #define DIST_PRECISION (1 << DIST_PRECISION_BITS) // 16
Dwarped_motion.c491 tmp32 = tmp32 >> DIST_PRECISION_BITS; in av1_highbd_warp_affine_c()
779 tmp32 = tmp32 >> DIST_PRECISION_BITS; in av1_warp_affine_c()
/external/libaom/libaom/av1/common/x86/
Dav1_convolve_scale_sse4.c182 _mm_srai_epi32(wt_res_lo, DIST_PRECISION_BITS); in vfilter8()
212 tmp = tmp >> DIST_PRECISION_BITS; in vfilter8()
414 shifted = _mm_srai_epi32(shifted, DIST_PRECISION_BITS); in highbd_vfilter8()
448 tmp = tmp >> DIST_PRECISION_BITS; in highbd_vfilter8()
Dhighbd_warp_plane_sse4.c543 res_lo = _mm_srai_epi32(res_lo, DIST_PRECISION_BITS); in av1_highbd_warp_affine_sse4_1()
576 res_hi = _mm_srai_epi32(res_hi, DIST_PRECISION_BITS); in av1_highbd_warp_affine_sse4_1()
Dwarp_plane_sse4.c584 _mm_srai_epi32(wt_res_lo, DIST_PRECISION_BITS); in store_vertical_filter_output()
617 _mm_srai_epi32(wt_res_hi, DIST_PRECISION_BITS); in store_vertical_filter_output()
/external/libaom/libaom/aom_dsp/
Dvariance.c438 tmp = ROUND_POWER_OF_TWO(tmp, DIST_PRECISION_BITS); in aom_dist_wtd_comp_avg_pred_c()
463 tmp = ROUND_POWER_OF_TWO(tmp, DIST_PRECISION_BITS); in aom_dist_wtd_comp_avg_upsampled_pred_c()
1039 tmp = ROUND_POWER_OF_TWO(tmp, DIST_PRECISION_BITS); in aom_highbd_dist_wtd_comp_avg_pred_c()
1066 tmp = ROUND_POWER_OF_TWO(tmp, DIST_PRECISION_BITS); in aom_highbd_dist_wtd_comp_avg_upsampled_pred_c()
/external/libaom/libaom/test/
Dvariance_test.cc245 DIST_PRECISION_BITS); in dist_wtd_subpel_avg_variance_ref()
264 DIST_PRECISION_BITS); in dist_wtd_subpel_avg_variance_ref()