Searched refs:one_over_n (Results 1 – 9 of 9) sorted by relevance
/external/eigen/Eigen/src/Geometry/ |
D | Umeyama.h | 115 const RealScalar one_over_n = RealScalar(1) / static_cast<RealScalar>(n); variable 118 const VectorType src_mean = src.rowwise().sum() * one_over_n; 119 const VectorType dst_mean = dst.rowwise().sum() * one_over_n; 126 const Scalar src_var = src_demean.rowwise().squaredNorm().sum() * one_over_n; 129 const MatrixType sigma = one_over_n * dst_demean * src_demean.transpose();
|
/external/libaom/libaom/av1/common/x86/ |
D | selfguided_sse4.c | 178 const __m128i one_over_n = _mm_set1_epi32(av1_one_by_x[n - 1]); in calc_ab() local 233 const __m128i a_comp_over_n = _mm_madd_epi16(a_complement, one_over_n); in calc_ab() 319 const __m128i one_over_n = _mm_set1_epi32(av1_one_by_x[n - 1]); in calc_ab_fast() local 374 const __m128i a_comp_over_n = _mm_madd_epi16(a_complement, one_over_n); in calc_ab_fast()
|
D | selfguided_avx2.c | 227 const __m256i one_over_n = _mm256_set1_epi32(av1_one_by_x[n - 1]); in calc_ab() local 276 const __m256i a_comp_over_n = _mm256_madd_epi16(a_complement, one_over_n); in calc_ab() 364 const __m256i one_over_n = _mm256_set1_epi32(av1_one_by_x[n - 1]); in calc_ab_fast() local 413 const __m256i a_comp_over_n = _mm256_madd_epi16(a_complement, one_over_n); in calc_ab_fast()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | loop_restoration_10bit_avx2.cc | 1356 constexpr uint32_t one_over_n = in CalculateB5() local 1359 constexpr uint32_t one_over_n_quarter = one_over_n >> 2; in CalculateB5() 1360 static_assert(one_over_n == one_over_n_quarter << 2, ""); in CalculateB5() 1371 constexpr uint32_t one_over_n = in CalculateB5() local 1374 constexpr uint32_t one_over_n_quarter = one_over_n >> 2; in CalculateB5() 1375 static_assert(one_over_n == one_over_n_quarter << 2, ""); in CalculateB5() 1387 constexpr uint32_t one_over_n = in CalculateB3() local 1391 const __m128i m2 = _mm_mullo_epi32(m0, _mm_set1_epi32(one_over_n)); in CalculateB3() 1392 const __m128i m3 = _mm_mullo_epi32(m1, _mm_set1_epi32(one_over_n)); in CalculateB3() 1399 constexpr uint32_t one_over_n = in CalculateB3() local [all …]
|
D | loop_restoration_avx2.cc | 1430 constexpr uint32_t one_over_n = in CalculateB5() local 1433 constexpr uint32_t one_over_n_quarter = one_over_n >> 2; in CalculateB5() 1434 static_assert(one_over_n == one_over_n_quarter << 2, ""); in CalculateB5() 1446 constexpr uint32_t one_over_n = in CalculateB5() local 1449 constexpr uint32_t one_over_n_quarter = one_over_n >> 2; in CalculateB5() 1450 static_assert(one_over_n == one_over_n_quarter << 2, ""); in CalculateB5() 1463 constexpr uint32_t one_over_n = in CalculateB3() local 1467 const __m128i m2 = _mm_mullo_epi32(m0, _mm_set1_epi32(one_over_n)); in CalculateB3() 1468 const __m128i m3 = _mm_mullo_epi32(m1, _mm_set1_epi32(one_over_n)); in CalculateB3() 1476 constexpr uint32_t one_over_n = in CalculateB3() local [all …]
|
D | loop_restoration_10bit_sse4.cc | 1026 constexpr uint32_t one_over_n = in CalculateB5() local 1029 constexpr uint32_t one_over_n_quarter = one_over_n >> 2; in CalculateB5() 1030 static_assert(one_over_n == one_over_n_quarter << 2, ""); in CalculateB5() 1041 constexpr uint32_t one_over_n = in CalculateB3() local 1045 const __m128i m2 = _mm_mullo_epi32(m0, _mm_set1_epi32(one_over_n)); in CalculateB3() 1046 const __m128i m3 = _mm_mullo_epi32(m1, _mm_set1_epi32(one_over_n)); in CalculateB3()
|
D | loop_restoration_sse4.cc | 1167 constexpr uint32_t one_over_n = in CalculateB5() local 1170 constexpr uint32_t one_over_n_quarter = one_over_n >> 2; in CalculateB5() 1171 static_assert(one_over_n == one_over_n_quarter << 2, ""); in CalculateB5() 1183 constexpr uint32_t one_over_n = in CalculateB3() local 1187 const __m128i m2 = _mm_mullo_epi32(m0, _mm_set1_epi32(one_over_n)); in CalculateB3() 1188 const __m128i m3 = _mm_mullo_epi32(m1, _mm_set1_epi32(one_over_n)); in CalculateB3()
|
/external/libgav1/libgav1/src/dsp/ |
D | loop_restoration.cc | 336 const uint32_t one_over_n = ((1 << kSgrProjReciprocalBits) + (n >> 1)) / n; in CalculateIntermediate() local 343 const uint32_t b2 = ma * b * one_over_n; in CalculateIntermediate()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | loop_restoration_neon.cc | 1009 constexpr uint32_t one_over_n = in CalculateIntermediate() local 1063 const uint32x4_t m2 = vmulq_n_u32(m0, one_over_n); in CalculateIntermediate() 1064 const uint32x4_t m3 = vmulq_n_u32(m1, one_over_n); in CalculateIntermediate()
|