Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dstatistics_tests.cpp34 android::audio_utils::for_each(datum, [&](T &value) { return value = dis(gen);}); in initUniform()
50 android::audio_utils::for_each(datum, [&](T &value) { return value = dis(gen);}); in initNormal()
61 , mMax{android::audio_utils::max(a)}
62 , mMin{android::audio_utils::min(a)}
63 , mMean{android::audio_utils::sum(a) / mN}
64 , mM2{android::audio_utils::sumSqDiff(a, mMean)}
66 , mPopStdDev{android::audio_utils::sqrt_constexpr(mPopVariance)}
68 , mStdDev{android::audio_utils::sqrt_constexpr(mVariance)}
144 double rssum = android::audio_utils::sum<double, double>(simple); in TEST()
147 android::audio_utils::sum<double, android::audio_utils::KahanSum<double>>(simple); in TEST()
[all …]
Dvariadic_tests.cpp47 using namespace android::audio_utils; in TEST()
57 using android::audio_utils::equivalent; in TEST()
70 EXPECT_FALSE(android::audio_utils::is_variadic<double>::value); in TEST()
74 EXPECT_TRUE(android::audio_utils::is_variadic<tuple_t>::value); in TEST()
75 EXPECT_TRUE(android::audio_utils::is_tuple<tuple_t>::value); in TEST()
76 EXPECT_FALSE(android::audio_utils::is_pair<tuple_t>::value); in TEST()
77 EXPECT_FALSE(android::audio_utils::is_array<tuple_t>::value); in TEST()
82 EXPECT_TRUE(android::audio_utils::is_variadic<pair_t>::value); in TEST()
83 EXPECT_FALSE(android::audio_utils::is_tuple<pair_t>::value); in TEST()
84 EXPECT_TRUE(android::audio_utils::is_pair<pair_t>::value); in TEST()
[all …]
Dstatistics_benchmark.cpp73 BM_MeanVariance<android::audio_utils::Statistics<float, float, float>>(state, in BM_MeanVariance_float_float_float()
81 BM_MeanVariance<android::audio_utils::ReferenceStatistics<float, float>>(state, in BM_RefMeanVariance_float_float()
89 BM_MeanVariance<android::audio_utils::Statistics<float, double, double>>(state, in BM_MeanVariance_float_double_double()
97 BM_MeanVariance<android::audio_utils::ReferenceStatistics<float, double>>(state, in BM_RefMeanVariance_float_double()
105 BM_MeanVariance<android::audio_utils::Statistics<float, float, in BM_MeanVariance_float_float_Kahan()
106 android::audio_utils::KahanSum<float>>>(state, in BM_MeanVariance_float_float_Kahan()
114 BM_MeanVariance<android::audio_utils::Statistics<float, float, in BM_MeanVariance_float_float_Neumaier()
115 android::audio_utils::NeumaierSum<float>>>(state, in BM_MeanVariance_float_float_Neumaier()
134 BM_MeanVariance<android::audio_utils::Statistics<float, float, float>>(state, in BM_MeanVariance_float_float_float_alpha()
142 BM_MeanVariance<android::audio_utils::Statistics<float, double, double>>(state, in BM_MeanVariance_float_double_double_alpha()
DMakefile3 INC=../include/audio_utils
Dfdtostring_tests.cpp24 using namespace android::audio_utils;
Dtimestampverifier_tests.cpp58 constexpr android::audio_utils::Statistics<double> s = tv.getJitterMs(); in TEST()
DAndroid.bp1 // Build the unit tests for audio_utils
/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h228 constexpr const audio_utils::Statistics<double> & getJitterMs() const { in getJitterMs()
267 audio_utils::Statistics<double> mJitterMs{kDefaultAlphaJitter};
277 audio_utils::LinearLeastSquaresFit<double> mTimestampEstimator{kDefaultAlphaEstimator};
280 audio_utils::Statistics<double> mCorrectedJitterMs{kDefaultAlphaJitter};
Dsafe_math.h17 namespace android::audio_utils {
DStatistics.h29 namespace audio_utils {
275 mMax = audio_utils::max(mMax, value); // order important: reject NaN
276 mMin = audio_utils::min(mMin, value); // order important: reject NaN
348 return android::audio_utils::sqrt(getVariance());
352 return android::audio_utils::sqrt(getPopVariance());
601 audio_utils::outerProduct_UT_array<std::array<T, 2>>>
610 audio_utils::outerProduct_UT_array<std::array<T, 2>>>(alpha) { }
DBalance.h25 namespace android::audio_utils {
DFdToString.h30 namespace audio_utils {
Dvariadic_utils.h27 namespace audio_utils {
466 return T{audio_utils::FUNCTION(std::get<I>(t))...}; \
471 return audio_utils::FUNCTION(t, std::make_index_sequence<std::tuple_size<T>::value>()); \
486 return T1{audio_utils::FUNCTION(std::get<I>(t1), std::get<I>(t2))...}; \
493 return audio_utils::FUNCTION( \
/system/media/audio_utils/
DBalance.cpp19 namespace android::audio_utils { namespace
DDoxyfile746 INPUT = include/audio_utils/ include/audio_utils/spdif/