Home
last modified time | relevance | path

Searched refs:rounded_sum (Results 1 – 3 of 3) sorted by relevance

/external/libgav1/libgav1/src/dsp/
Dloop_restoration.cc82 const int rounded_sum = RightShiftWithRounding(sum, kRoundBitsHorizontal); in WienerHorizontal() local
83 (*wiener_buffer)[x] = Clip3(rounded_sum, -offset, limit - offset); in WienerHorizontal()
111 const int rounded_sum = RightShiftWithRounding(sum, kRoundBitsVertical); in WienerVertical() local
112 dst[x] = static_cast<Pixel>(Clip3(rounded_sum, 0, (1 << bitdepth) - 1)); in WienerVertical()
/external/libgav1/libgav1/src/dsp/x86/
Dloop_restoration_10bit_sse4.cc50 const __m128i rounded_sum = _mm_packs_epi32(rounded_sum0, rounded_sum1); in WienerHorizontalClip() local
51 const __m128i d0 = _mm_max_epi16(rounded_sum, offsets); in WienerHorizontalClip()
Dloop_restoration_10bit_avx2.cc52 const __m256i rounded_sum = _mm256_packs_epi32(rounded_sum0, rounded_sum1); in WienerHorizontalClip() local
53 const __m256i d0 = _mm256_max_epi16(rounded_sum, offsets); in WienerHorizontalClip()