Home
last modified time | relevance | path

Searched refs:SGRPROJ_RST_BITS (Results 1 – 8 of 8) sorted by relevance

/external/libaom/libaom/av1/common/x86/
Dselfguided_avx2.c329 round_for_shift(SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter()
345 SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter()
501 round_for_shift(SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast()
503 round_for_shift(SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast()
524 SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast()
541 SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast()
672 const __m256i u_0 = _mm256_slli_epi32(ep_0, SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_avx2()
673 const __m256i u_1 = _mm256_slli_epi32(ep_1, SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_avx2()
695 round_for_shift(SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_avx2()
697 _mm256_add_epi32(v_0, rounding), SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_avx2()
[all …]
Dselfguided_sse4.c285 round_for_shift(SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter()
300 SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter()
460 round_for_shift(SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast()
462 round_for_shift(SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast()
481 SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast()
496 SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast()
618 const __m128i u = _mm_slli_epi16(src, SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_sse4_1()
642 round_for_shift(SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_sse4_1()
644 SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_sse4_1()
646 SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_sse4_1()
/external/libaom/libaom/av1/encoder/
Dpickrst.c235 const int32_t u = (int32_t)(dat[j] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_c()
239 ROUND_POWER_OF_TWO(v, SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS) - src[j]; in av1_lowbd_pixel_proj_error_c()
251 const int32_t u = (int32_t)(dat[j] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_c()
255 ROUND_POWER_OF_TWO(v, SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS) - src[j]; in av1_lowbd_pixel_proj_error_c()
266 const int32_t u = (int32_t)(dat[j] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_c()
270 ROUND_POWER_OF_TWO(v, SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS) - src[j]; in av1_lowbd_pixel_proj_error_c()
302 const int32_t half = 1 << (SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS - 1); in av1_highbd_pixel_proj_error_c()
310 const int32_t u = (int32_t)(d << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_c()
316 const int32_t e = (v >> (SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS)) + d - s; in av1_highbd_pixel_proj_error_c()
341 const int32_t u = (int32_t)(d << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_c()
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dpickrst_avx2.c506 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_lowbd_pixel_proj_error_avx2()
527 const __m256i u0 = _mm256_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_avx2()
544 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_avx2()
563 pair_set_epi16(xq_active, (-xq_active * (1 << SGRPROJ_RST_BITS))); in av1_lowbd_pixel_proj_error_avx2()
589 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_avx2()
654 __m256i d = _mm256_slli_epi32(u_load, SGRPROJ_RST_BITS); in calc_proj_params_r0_r1_avx2()
655 __m256i s = _mm256_slli_epi32(s_load, SGRPROJ_RST_BITS); in calc_proj_params_r0_r1_avx2()
748 __m256i d = _mm256_slli_epi32(u_load, SGRPROJ_RST_BITS); in calc_proj_params_r0_avx2()
749 __m256i s = _mm256_slli_epi32(s_load, SGRPROJ_RST_BITS); in calc_proj_params_r0_avx2()
807 __m256i d = _mm256_slli_epi32(u_load, SGRPROJ_RST_BITS); in calc_proj_params_r1_avx2()
[all …]
Dpickrst_sse4.c509 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_lowbd_pixel_proj_error_sse4_1()
526 const __m128i u0 = _mm_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_sse4_1()
541 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_sse4_1()
558 pair_set_epi16(xq_active, -(xq_active << SGRPROJ_RST_BITS)); in av1_lowbd_pixel_proj_error_sse4_1()
580 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_sse4_1()
633 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_highbd_pixel_proj_error_sse4_1()
655 const __m128i u0 = _mm_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_sse4_1()
712 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_sse4_1()
726 _mm_set1_epi32(-xq_on * (1 << SGRPROJ_RST_BITS)); in av1_highbd_pixel_proj_error_sse4_1()
780 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_sse4_1()
/external/libaom/libaom/av1/common/arm/
Dselfguided_neon.c1056 assert(SGRPROJ_RST_BITS == 4); in final_filter_fast_internal()
1082 vrshrq_n_s32(a_res0, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_fast_internal()
1084 vrshrq_n_s32(a_res1, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_fast_internal()
1108 vrshrq_n_s32(a_res0, SGRPROJ_SGR_BITS + NB_ODD - SGRPROJ_RST_BITS); in final_filter_fast_internal()
1110 vrshrq_n_s32(a_res1, SGRPROJ_SGR_BITS + NB_ODD - SGRPROJ_RST_BITS); in final_filter_fast_internal()
1139 assert(SGRPROJ_RST_BITS == 4); in final_filter_internal()
1160 vrshrq_n_s32(a_res0, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_internal()
1162 vrshrq_n_s32(a_res1, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_internal()
1529 u0 = vshll_n_s16(vget_low_s16(s0), SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_neon()
1530 u4 = vshll_n_s16(vget_high_s16(s0), SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_neon()
[all …]
/external/libaom/libaom/av1/common/
Drestoration.h97 #define SGRPROJ_RST_BITS 4 macro
Drestoration.c807 ROUND_POWER_OF_TWO(v, SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in selfguided_restoration_fast_internal()
819 ROUND_POWER_OF_TWO(v, SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in selfguided_restoration_fast_internal()
866 dst[m] = ROUND_POWER_OF_TWO(v, SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in selfguided_restoration_internal()
934 const int32_t u = (int32_t)pre_u << SGRPROJ_RST_BITS; in av1_apply_selfguided_restoration_c()
941 (int16_t)ROUND_POWER_OF_TWO(v, SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_c()