Home
last modified time | relevance | path

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

/external/libgav1/libgav1/src/dsp/
Dconvolve.cc67 : kInterRoundBitsHorizontal; in ConvolveScale2D_C()
155 : kInterRoundBitsHorizontal; in ConvolveCompoundScale2D_C()
241 : kInterRoundBitsHorizontal; in ConvolveCompound2D_C()
318 : kInterRoundBitsHorizontal; in Convolve2D_C()
398 : kInterRoundBitsHorizontal; in ConvolveHorizontal_C()
538 : kInterRoundBitsHorizontal; in ConvolveCompoundHorizontal_C()
585 : kInterRoundBitsHorizontal; in ConvolveCompoundVertical_C()
Dconstants.h39 kInterRoundBitsHorizontal = 3, // 8 & 10-bit. enumerator
Dwarp.cc76 : kInterRoundBitsHorizontal; in Warp_C()
Dloop_restoration.cc68 : kInterRoundBitsHorizontal; in WienerHorizontal()
/external/libgav1/libgav1/src/dsp/arm/
Dwarp_neon.cc44 (kFirstPassOffset >> kInterRoundBitsHorizontal) * 128;
100 sum_unsigned = vrshrq_n_u16(sum_unsigned, kInterRoundBitsHorizontal); in HorizontalFilter()
254 sum <<= (kFilterBits - kInterRoundBitsHorizontal); in Warp_NEON()
Dconvolve_neon.cc152 vrshrq_n_s16(sum, kInterRoundBitsHorizontal - 1)); in FilterHorizontalWidth8AndUp()
161 1 << (kInterRoundBitsHorizontal - 2); in FilterHorizontalWidth8AndUp()
212 vrshrq_n_s16(sum, kInterRoundBitsHorizontal - 1)); in FilterHorizontalWidth8AndUp()
244 vrshr_n_s16(vget_low_s16(sum), kInterRoundBitsHorizontal - 1)); in FilterHorizontalWidth4()
248 1 << (kInterRoundBitsHorizontal - 2); in FilterHorizontalWidth4()
291 vreinterpretq_u16_s16(vrshrq_n_s16(s, kInterRoundBitsHorizontal - 1)); in FilterHorizontalWidth2()
305 1 << (kInterRoundBitsHorizontal - 2); in FilterHorizontalWidth2()
341 kInterRoundBitsHorizontal - 1)); in FilterHorizontalWidth2()
882 kInterRoundBitsHorizontal - 1)); in ConvolveKernelHorizontal2Tap()
922 kInterRoundBitsHorizontal - 1)); in ConvolveKernelHorizontal2Tap()
[all …]
Dloop_restoration_neon.cc101 1 << (8 + kWienerFilterBits - kInterRoundBitsHorizontal - 1); in WienerHorizontalSum()
109 sum = vrsraq_n_s16(vshlq_n_s16(s_1, 7 - kInterRoundBitsHorizontal), sum, in WienerHorizontalSum()
110 kInterRoundBitsHorizontal); in WienerHorizontalSum()
/external/libgav1/libgav1/src/dsp/x86/
Dwarp_sse4.cc55 (kFirstPassOffset >> kInterRoundBitsHorizontal) * 128;
97 sum = RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal); in HorizontalFilter()
277 sum <<= (kFilterBits - kInterRoundBitsHorizontal); in WarpRegion2()
Dconvolve_sse4.inc88 // kInterRoundBitsHorizontal - 1 and then (kFilterBits -
89 // kInterRoundBitsHorizontal). Each one uses a rounding shift. Combining them
91 constexpr int first_shift_rounding_bit = 1 << (kInterRoundBitsHorizontal - 2);
104 return RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1);
408 // The 1D compound shift is always |kInterRoundBitsHorizontal|, even for 1D
411 return RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1);
Dconvolve_sse4.cc79 constexpr int first_shift_rounding_bit = 1 << (kInterRoundBitsHorizontal - 2); in SimpleHorizontalTaps()
91 return RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1); in HorizontalTaps8To16()
200 sum = RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1); in FilterHorizontal()
940 kInterRoundBitsHorizontal - 1)); in ConvolveHorizontalScale()
969 kInterRoundBitsHorizontal - 1)); in ConvolveHorizontalScale()
Dloop_restoration_sse4.cc42 1 << (8 + kWienerFilterBits - kInterRoundBitsHorizontal - 1); in WienerHorizontalClip()
44 (1 << (8 + 1 + kWienerFilterBits - kInterRoundBitsHorizontal)) - 1; in WienerHorizontalClip()
49 const __m128i rounded_sum0 = _mm_srai_epi16(sum, kInterRoundBitsHorizontal); in WienerHorizontalClip()
68 _mm_slli_epi16(_mm_srli_epi16(s[1], 8), 7 - kInterRoundBitsHorizontal); in WienerHorizontalTap7Kernel()
81 _mm_srli_epi16(_mm_slli_epi16(s[1], 8), kInterRoundBitsHorizontal + 1); in WienerHorizontalTap5Kernel()
92 _mm_slli_epi16(_mm_srli_epi16(s[0], 8), 7 - kInterRoundBitsHorizontal); in WienerHorizontalTap3Kernel()
102 const __m128i round = _mm_set1_epi8(1 << (kInterRoundBitsHorizontal - 1)); in WienerHorizontalTap7()
141 const __m128i round = _mm_set1_epi8(1 << (kInterRoundBitsHorizontal - 1)); in WienerHorizontalTap5()
175 const __m128i round = _mm_set1_epi8(1 << (kInterRoundBitsHorizontal - 1)); in WienerHorizontalTap3()
Dconvolve_avx2.cc112 constexpr int first_shift_rounding_bit = 1 << (kInterRoundBitsHorizontal - 2); in SimpleHorizontalTaps()
124 return RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1); in HorizontalTaps8To16()
188 sum = RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1); in FilterHorizontal()
725 return RightShiftWithRounding_S16(sum, kInterRoundBitsHorizontal - 1); in Compound1DShift()
Dloop_restoration_avx2.cc42 1 << (8 + kWienerFilterBits - kInterRoundBitsHorizontal - 1); in WienerHorizontalClip()
44 (1 << (8 + 1 + kWienerFilterBits - kInterRoundBitsHorizontal)) - 1; in WienerHorizontalClip()
47 const __m256i round = _mm256_set1_epi16(1 << (kInterRoundBitsHorizontal - 1)); in WienerHorizontalClip()
52 _mm256_srai_epi16(sum, kInterRoundBitsHorizontal); in WienerHorizontalClip()
77 7 - kInterRoundBitsHorizontal); in WienerHorizontalTap7Kernel()
93 kInterRoundBitsHorizontal + 1); in WienerHorizontalTap5Kernel()
106 7 - kInterRoundBitsHorizontal); in WienerHorizontalTap3Kernel()
Dloop_restoration_10bit_sse4.cc41 1 << (10 + kWienerFilterBits - kInterRoundBitsHorizontal - 1); in WienerHorizontalClip()
45 const __m128i round = _mm_set1_epi32(1 << (kInterRoundBitsHorizontal - 1)); in WienerHorizontalClip()
48 const __m128i rounded_sum0 = _mm_srai_epi32(sum0, kInterRoundBitsHorizontal); in WienerHorizontalClip()
49 const __m128i rounded_sum1 = _mm_srai_epi32(sum1, kInterRoundBitsHorizontal); in WienerHorizontalClip()
Dloop_restoration_10bit_avx2.cc41 1 << (10 + kWienerFilterBits - kInterRoundBitsHorizontal - 1); in WienerHorizontalClip()
45 const __m256i round = _mm256_set1_epi32(1 << (kInterRoundBitsHorizontal - 1)); in WienerHorizontalClip()
49 _mm256_srai_epi32(sum0, kInterRoundBitsHorizontal); in WienerHorizontalClip()
51 _mm256_srai_epi32(sum1, kInterRoundBitsHorizontal); in WienerHorizontalClip()