Searched refs:coef (Results 1 – 1 of 1) sorted by relevance
72 std::array<D, kBiquadNumCoefs> reduceCoefficients(const T& coef) { in reduceCoefficients() argument74 if (coef.size() == kBiquadNumCoefs + 1) { in reduceCoefficients()78 for (; offset < 2 && coef[offset] == 0 && coef[offset + 3] == 0; ++offset); in reduceCoefficients()82 lcoef[0] = coef[offset] / coef[offset + 3]; in reduceCoefficients()84 lcoef[i] = coef[i + offset] / coef[offset + 3]; in reduceCoefficients()85 lcoef[i + 2] = coef[i + offset + 3] / coef[offset + 3]; in reduceCoefficients()87 } else if (coef.size() == kBiquadNumCoefs) { in reduceCoefficients()88 std::copy(coef.begin(), coef.end(), lcoef.begin()); in reduceCoefficients()90 assert(coef.size() == kBiquadNumCoefs + 1 || coef.size() == kBiquadNumCoefs); in reduceCoefficients()98 DEST& dest, size_t offset, size_t stride, size_t channelCount, const T& coef) { in setCoefficients() argument[all …]