Searched refs:SGRPROJ_RST_BITS (Results 1 – 8 of 8) sorted by relevance
/external/libaom/libaom/av1/common/x86/ |
D | selfguided_avx2.c | 329 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 apply_selfguided_restoration_avx2() 673 const __m256i u_1 = _mm256_slli_epi32(ep_1, SGRPROJ_RST_BITS); in apply_selfguided_restoration_avx2() 695 round_for_shift(SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in apply_selfguided_restoration_avx2() 697 _mm256_add_epi32(v_0, rounding), SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in apply_selfguided_restoration_avx2() [all …]
|
D | selfguided_sse4.c | 284 round_for_shift(SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter() 299 SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter() 458 round_for_shift(SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast() 460 round_for_shift(SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast() 479 SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast() 494 SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast() 616 const __m128i u = _mm_slli_epi16(src, SGRPROJ_RST_BITS); in apply_selfguided_restoration_sse4_1() 640 round_for_shift(SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in apply_selfguided_restoration_sse4_1() 642 SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in apply_selfguided_restoration_sse4_1() 644 SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in apply_selfguided_restoration_sse4_1()
|
/external/libaom/libaom/av1/encoder/ |
D | pickrst.c | 198 const int32_t u = (int32_t)(dat[j] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_c() 202 ROUND_POWER_OF_TWO(v, SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS) - src[j]; in av1_lowbd_pixel_proj_error_c() 214 const int32_t u = (int32_t)(dat[j] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_c() 218 ROUND_POWER_OF_TWO(v, SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS) - src[j]; in av1_lowbd_pixel_proj_error_c() 229 const int32_t u = (int32_t)(dat[j] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_c() 233 ROUND_POWER_OF_TWO(v, SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS) - src[j]; in av1_lowbd_pixel_proj_error_c() 264 const int32_t half = 1 << (SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS - 1); in av1_highbd_pixel_proj_error_c() 272 const int32_t u = (int32_t)(d << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_c() 278 const int32_t e = (v >> (SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS)) + d - s; in av1_highbd_pixel_proj_error_c() 303 const int32_t u = (int32_t)(d << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_c() [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | pickrst_avx2.c | 498 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_lowbd_pixel_proj_error_avx2() 519 const __m256i u0 = _mm256_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_avx2() 536 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_avx2() 555 pair_set_epi16(xq_active, (-xq_active * (1 << SGRPROJ_RST_BITS))); in av1_lowbd_pixel_proj_error_avx2() 581 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_avx2() 630 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_highbd_pixel_proj_error_avx2() 648 const __m256i u0 = _mm256_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_avx2() 711 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_avx2() 725 _mm256_set1_epi32(-xq_on * (1 << SGRPROJ_RST_BITS)); in av1_highbd_pixel_proj_error_avx2() 788 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_avx2()
|
D | pickrst_sse4.c | 507 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_lowbd_pixel_proj_error_sse4_1() 524 const __m128i u0 = _mm_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_sse4_1() 539 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_sse4_1() 556 pair_set_epi16(xq_active, -(xq_active << SGRPROJ_RST_BITS)); in av1_lowbd_pixel_proj_error_sse4_1() 578 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_lowbd_pixel_proj_error_sse4_1() 630 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_highbd_pixel_proj_error_sse4_1() 652 const __m128i u0 = _mm_slli_epi16(d0, SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_sse4_1() 709 const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS); in av1_highbd_pixel_proj_error_sse4_1() 723 _mm_set1_epi32(-xq_on * (1 << SGRPROJ_RST_BITS)); in av1_highbd_pixel_proj_error_sse4_1() 777 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/ |
D | selfguided_neon.c | 1022 assert(SGRPROJ_RST_BITS == 4); in final_filter_fast_internal() 1048 vrshrq_n_s32(a_res0, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_fast_internal() 1050 vrshrq_n_s32(a_res1, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_fast_internal() 1074 vrshrq_n_s32(a_res0, SGRPROJ_SGR_BITS + NB_ODD - SGRPROJ_RST_BITS); in final_filter_fast_internal() 1076 vrshrq_n_s32(a_res1, SGRPROJ_SGR_BITS + NB_ODD - SGRPROJ_RST_BITS); in final_filter_fast_internal() 1105 assert(SGRPROJ_RST_BITS == 4); in final_filter_internal() 1126 vrshrq_n_s32(a_res0, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_internal() 1128 vrshrq_n_s32(a_res1, SGRPROJ_SGR_BITS + NB_EVEN - SGRPROJ_RST_BITS); in final_filter_internal() 1453 u0 = vshll_n_s16(vget_low_s16(s0), SGRPROJ_RST_BITS); in apply_selfguided_restoration_neon() 1454 u4 = vshll_n_s16(vget_high_s16(s0), SGRPROJ_RST_BITS); in apply_selfguided_restoration_neon() [all …]
|
/external/libaom/libaom/av1/common/ |
D | restoration.c | 798 ROUND_POWER_OF_TWO(v, SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in selfguided_restoration_fast_internal() 810 ROUND_POWER_OF_TWO(v, SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in selfguided_restoration_fast_internal() 857 dst[m] = ROUND_POWER_OF_TWO(v, SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in selfguided_restoration_internal() 925 const int32_t u = (int32_t)pre_u << SGRPROJ_RST_BITS; in apply_selfguided_restoration_c() 932 (int16_t)ROUND_POWER_OF_TWO(v, SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in apply_selfguided_restoration_c()
|
D | restoration.h | 97 #define SGRPROJ_RST_BITS 4 macro
|