Home
last modified time | relevance | path

Searched refs:coefs (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/include/audio_utils/
DBiquadFilter.h79 assert(coefs[offset + 3] != 0); // hmm... shouldn't we be causal? in reduceCoefficients()
114 size_t channelCount, D *delays, const D *coefs, size_t localStride) { in biquad_filter_1fast() argument
121 b0 = coefs[0]; in biquad_filter_1fast()
122 b1 = coefs[1]; in biquad_filter_1fast()
123 b2 = coefs[2]; in biquad_filter_1fast()
124 negativeA1 = -coefs[3]; in biquad_filter_1fast()
125 negativeA2 = -coefs[4]; in biquad_filter_1fast()
129 b0 = coefs[0]; in biquad_filter_1fast()
130 b1 = coefs[localStride]; in biquad_filter_1fast()
131 b2 = coefs[2 * localStride]; in biquad_filter_1fast()
[all …]
/system/media/audio_utils/benchmarks/
Dbiquad_filter_benchmark.cpp45 std::array<float, android::audio_utils::kBiquadNumCoefs> coefs; in BM_BiquadFilter1D() local
56 android::audio_utils::BiquadFilter parallel(filters, coefs); in BM_BiquadFilter1D()
59 biquad.reset(new BiquadFilter<float>(1, coefs)); in BM_BiquadFilter1D()
227 std::array<F, android::audio_utils::kBiquadNumCoefs> coefs; in BM_BiquadFilter() local
236 for (size_t i = 0; i < coefs.size(); ++i) { in BM_BiquadFilter()
237 coefs[i] = (occupancy >> i & 1) * REF_COEFS[i]; in BM_BiquadFilter()
240 android::audio_utils::BiquadFilter<F> biquadFilter(channelCount, coefs, optimized); in BM_BiquadFilter()