Searched refs:kSgrProjReciprocalBits (Results 1 – 7 of 7) sorted by relevance
/external/libgav1/libgav1/src/dsp/ |
D | loop_restoration.h | 45 kSgrProjReciprocalBits = 12, enumerator
|
D | loop_restoration.cc | 336 const uint32_t one_over_n = ((1 << kSgrProjReciprocalBits) + (n >> 1)) / n; in CalculateIntermediate() 345 *b_ptr = RightShiftWithRounding(b2, kSgrProjReciprocalBits); in CalculateIntermediate()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | loop_restoration_10bit_avx2.cc | 1357 ((1 << kSgrProjReciprocalBits) + (25 >> 1)) / 25; in CalculateB5() 1365 b[0] = VrshrU32(m0, kSgrProjReciprocalBits - 2); in CalculateB5() 1366 b[1] = VrshrU32(m1, kSgrProjReciprocalBits - 2); in CalculateB5() 1372 ((1 << kSgrProjReciprocalBits) + (25 >> 1)) / 25; in CalculateB5() 1381 b[0] = VrshrU32(m0, kSgrProjReciprocalBits - 2); in CalculateB5() 1382 b[1] = VrshrU32(m1, kSgrProjReciprocalBits - 2); in CalculateB5() 1388 ((1 << kSgrProjReciprocalBits) + (9 >> 1)) / 9; in CalculateB3() 1393 b[0] = VrshrU32(m2, kSgrProjReciprocalBits); in CalculateB3() 1394 b[1] = VrshrU32(m3, kSgrProjReciprocalBits); in CalculateB3() 1400 ((1 << kSgrProjReciprocalBits) + (9 >> 1)) / 9; in CalculateB3() [all …]
|
D | loop_restoration_avx2.cc | 1431 ((1 << kSgrProjReciprocalBits) + (25 >> 1)) / 25; in CalculateB5() 1439 const __m128i b_lo = VrshrU32(m0, kSgrProjReciprocalBits - 2); in CalculateB5() 1440 const __m128i b_hi = VrshrU32(m1, kSgrProjReciprocalBits - 2); in CalculateB5() 1447 ((1 << kSgrProjReciprocalBits) + (25 >> 1)) / 25; in CalculateB5() 1456 const __m256i b_lo = VrshrU32(m0, kSgrProjReciprocalBits - 2); in CalculateB5() 1457 const __m256i b_hi = VrshrU32(m1, kSgrProjReciprocalBits - 2); in CalculateB5() 1464 ((1 << kSgrProjReciprocalBits) + (9 >> 1)) / 9; in CalculateB3() 1469 const __m128i b_lo = VrshrU32(m2, kSgrProjReciprocalBits); in CalculateB3() 1470 const __m128i b_hi = VrshrU32(m3, kSgrProjReciprocalBits); in CalculateB3() 1477 ((1 << kSgrProjReciprocalBits) + (9 >> 1)) / 9; in CalculateB3() [all …]
|
D | loop_restoration_10bit_sse4.cc | 1027 ((1 << kSgrProjReciprocalBits) + (25 >> 1)) / 25; in CalculateB5() 1035 b[0] = VrshrU32(m0, kSgrProjReciprocalBits - 2); in CalculateB5() 1036 b[1] = VrshrU32(m1, kSgrProjReciprocalBits - 2); in CalculateB5() 1042 ((1 << kSgrProjReciprocalBits) + (9 >> 1)) / 9; in CalculateB3() 1047 b[0] = VrshrU32(m2, kSgrProjReciprocalBits); in CalculateB3() 1048 b[1] = VrshrU32(m3, kSgrProjReciprocalBits); in CalculateB3()
|
D | loop_restoration_sse4.cc | 1168 ((1 << kSgrProjReciprocalBits) + (25 >> 1)) / 25; in CalculateB5() 1176 const __m128i b_lo = VrshrU32(m0, kSgrProjReciprocalBits - 2); in CalculateB5() 1177 const __m128i b_hi = VrshrU32(m1, kSgrProjReciprocalBits - 2); in CalculateB5() 1184 ((1 << kSgrProjReciprocalBits) + (9 >> 1)) / 9; in CalculateB3() 1189 const __m128i b_lo = VrshrU32(m2, kSgrProjReciprocalBits); in CalculateB3() 1190 const __m128i b_hi = VrshrU32(m3, kSgrProjReciprocalBits); in CalculateB3()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | loop_restoration_neon.cc | 1010 ((1 << kSgrProjReciprocalBits) + (n >> 1)) / n; in CalculateIntermediate() 1065 const uint16x4_t b_lo = vrshrn_n_u32(m2, kSgrProjReciprocalBits); in CalculateIntermediate() 1066 const uint16x4_t b_hi = vrshrn_n_u32(m3, kSgrProjReciprocalBits); in CalculateIntermediate()
|