Home
last modified time | relevance | path

Searched refs:SGRPROJ_PRJ_BITS (Results 1 – 10 of 10) sorted by relevance

/external/libaom/libaom/av1/common/
Drestoration.h95 #define SGRPROJ_PRJ_BITS 7 macro
102 #define SGRPROJ_PRJ_MIN0 (-(1 << SGRPROJ_PRJ_BITS) * 3 / 4)
103 #define SGRPROJ_PRJ_MAX0 (SGRPROJ_PRJ_MIN0 + (1 << SGRPROJ_PRJ_BITS) - 1)
104 #define SGRPROJ_PRJ_MIN1 (-(1 << SGRPROJ_PRJ_BITS) / 4)
105 #define SGRPROJ_PRJ_MAX1 (SGRPROJ_PRJ_MIN1 + (1 << SGRPROJ_PRJ_BITS) - 1)
109 #define SGRPROJ_BITS (SGRPROJ_PRJ_BITS * 2 + SGRPROJ_PARAMS_BITS)
Drestoration.c635 xq[1] = (1 << SGRPROJ_PRJ_BITS) - xqd[1]; in av1_decode_xq()
641 xq[1] = (1 << SGRPROJ_PRJ_BITS) - xq[0] - xqd[1]; in av1_decode_xq()
935 int32_t v = u << SGRPROJ_PRJ_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()
/external/libaom/libaom/test/
Dpickrst_test.cc97 xq[0] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest()
98 xq[1] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest()
151 xq[0] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest_ExtremeValues()
152 xq[1] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest_ExtremeValues()
262 xq[0] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest()
263 xq[1] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest()
316 xq[0] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest_ExtremeValues()
317 xq[1] = rng_.Rand8() % (1 << SGRPROJ_PRJ_BITS); in RunPixelProjErrorTest_ExtremeValues()
/external/libaom/libaom/av1/encoder/
Dpickrst.c236 int32_t v = u << SGRPROJ_PRJ_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()
252 int32_t v = u << SGRPROJ_PRJ_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()
267 int32_t v = u << SGRPROJ_PRJ_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()
316 const int32_t e = (v >> (SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS)) + d - s; in av1_highbd_pixel_proj_error_c()
344 const int32_t e = (v >> (SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS)) + d - s; in av1_highbd_pixel_proj_error_c()
687 xq[1] = (int)signed_rounded_divide(C[1] * (1 << SGRPROJ_PRJ_BITS), Det); in get_proj_subspace()
[all …]
/external/libaom/libaom/av1/common/x86/
Dselfguided_sse4.c622 __m128i v_0 = _mm_slli_epi32(u_0, SGRPROJ_PRJ_BITS); in av1_apply_selfguided_restoration_sse4_1()
623 __m128i v_1 = _mm_slli_epi32(u_1, SGRPROJ_PRJ_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()
Dselfguided_avx2.c675 __m256i v_0 = _mm256_slli_epi32(u_0, SGRPROJ_PRJ_BITS); in av1_apply_selfguided_restoration_avx2()
676 __m256i v_1 = _mm256_slli_epi32(u_1, SGRPROJ_PRJ_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()
699 _mm256_add_epi32(v_1, rounding), SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_avx2()
/external/libaom/libaom/av1/common/arm/
Dselfguided_neon.c1532 v0 = vshlq_n_s32(u0, SGRPROJ_PRJ_BITS); in av1_apply_selfguided_restoration_neon()
1533 v4 = vshlq_n_s32(u4, SGRPROJ_PRJ_BITS); in av1_apply_selfguided_restoration_neon()
1557 d0 = vqrshrn_n_s32(v0, SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_neon()
1558 d4 = vqrshrn_n_s32(v4, SGRPROJ_PRJ_BITS + SGRPROJ_RST_BITS); in av1_apply_selfguided_restoration_neon()
/external/libaom/libaom/av1/encoder/x86/
Dpickrst_sse4.c509 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_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()
Dpickrst_avx2.c506 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_lowbd_pixel_proj_error_avx2()
870 const int32_t shift = SGRPROJ_RST_BITS + SGRPROJ_PRJ_BITS; in av1_highbd_pixel_proj_error_avx2()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c1685 sgrproj_info->xqd[1] = clamp((1 << SGRPROJ_PRJ_BITS) - sgrproj_info->xqd[0], in read_sgrproj_filter()