Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/testlibs/
DAudioShelvingFilter.cpp90 audio_coef_t coefs[5]; in commit() local
100 mHiCoefInterp.getCoef(intCoord, fracCoord, coefs); in commit()
102 mLoCoefInterp.getCoef(intCoord, fracCoord, coefs); in commit()
104 mBiquad.setCoefs(coefs, immediate); in commit()
DAudioBiquadFilter.cpp53 void AudioBiquadFilter::setCoefs(const audio_coef_t coefs[NUM_COEFS], bool immediate) { in setCoefs()
54 memcpy(mTargetCoefs, coefs, sizeof(mTargetCoefs)); in setCoefs()
57 memcpy(mCoefs, coefs, sizeof(mCoefs)); in setCoefs()
120 bool AudioBiquadFilter::updateCoefs(const audio_coef_t coefs[NUM_COEFS], in updateCoefs()
125 audio_coef_t diff = coefs[i] - mCoefs[i]; in updateCoefs()
131 mCoefs[i] = coefs[i]; in updateCoefs()
DAudioPeakingFilter.cpp88 audio_coef_t coefs[5]; in commit() local
99 mCoefInterp.getCoef(intCoord, fracCoord, coefs); in commit()
100 mBiquad.setCoefs(coefs, immediate); in commit()
DAudioBiquadFilter.h70 void setCoefs(const audio_coef_t coefs[NUM_COEFS], bool immediate = false);
154 bool updateCoefs(const audio_coef_t coefs[NUM_COEFS], int frameCount);
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_StereoEnhancer.cpp69 std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVCS_SEnhancerInit() local
73 new android::audio_utils::BiquadFilter<LVM_FLOAT>(FCC_1, coefs)); in LVCS_SEnhancerInit()
79 coefs = {pSESideCoefs[Offset].A0, pSESideCoefs[Offset].A1, pSESideCoefs[Offset].A2, in LVCS_SEnhancerInit()
82 new android::audio_utils::BiquadFilter<LVM_FLOAT>(FCC_1, coefs)); in LVCS_SEnhancerInit()
DLVCS_Equaliser.cpp73 std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVCS_EqualiserInit() local
78 (pParams->NrChannels == FCC_1) ? FCC_1 : FCC_2, coefs)); in LVCS_EqualiserInit()
DLVCS_ReverbGenerator.cpp91 std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVCS_ReverbGeneratorInit() local
96 (pParams->NrChannels == FCC_1) ? FCC_1 : FCC_2, coefs)); in LVCS_ReverbGeneratorInit()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.cpp112 std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVDBE_SetFilters() local
116 ->setCoefficients<std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs>>(coefs); in LVDBE_SetFilters()
121 coefs = {LVDBE_BPF_Table[Offset].A0, 0.0, -(LVDBE_BPF_Table[Offset].A0), in LVDBE_SetFilters()
124 ->setCoefficients<std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs>>(coefs); in LVDBE_SetFilters()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirProcess.h378 const int coefShift, const int halfNumCoefs, const TC* const coefs, in fir() argument
391 const TC* coefsP = coefs + indexP*halfNumCoefs; in fir()
392 const TC* coefsN = coefs + indexN*halfNumCoefs; in fir()
404 const TC* coefsP = coefs + indexP*halfNumCoefs; in fir()
405 const TC* coefsN = coefs + indexN*halfNumCoefs; in fir()
429 >> ((sizeof(phase)-sizeof(*coefs))*8 + 1); in fir()
DAudioResamplerDyn.cpp267 TC *coefs = nullptr; in createKaiserFir() local
269 reinterpret_cast<void **>(&coefs), in createKaiserFir()
273 c.mFirCoefs = coefs; in createKaiserFir()
275 mCoefBuffer = coefs; in createKaiserFir()
283 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation); in createKaiserFir()
309 testFir(coefs, c.mL, c.mHalfNumCoefs, fp, fs, passSteps, passSteps * c.mL /*stopSteps*/, in createKaiserFir()
640 const TC* const coefs = mConstants.mFirCoefs; in resample() local
725 coefShift, halfNumCoefs, coefs, in resample()
DAudioResamplerSinc.h60 const int32_t* coefs, size_t offset,
DAudioResamplerSinc.cpp599 const int32_t* coefs, size_t offset, in interpolate() argument
602 int32_t c0 = coefs[0]; in interpolate()
603 int32_t c1 = coefs[offset]; in interpolate()
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_ApplyNewSettings.cpp76 const std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVREV_ApplyNewSettings() local
79 new android::audio_utils::BiquadFilter<LVM_FLOAT>(FCC_1, coefs)); in LVREV_ApplyNewSettings()
104 const std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVREV_ApplyNewSettings() local
107 new android::audio_utils::BiquadFilter<LVM_FLOAT>(FCC_1, coefs)); in LVREV_ApplyNewSettings()
232 const std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVREV_ApplyNewSettings() local
235 new android::audio_utils::BiquadFilter<LVM_FLOAT>(FCC_1, coefs)); in LVREV_ApplyNewSettings()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.cpp311 const std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVPSA_SetBPFCoefficients() local
317 coefs); in LVPSA_SetBPFCoefficients()
333 const std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVPSA_SetBPFCoefficients() local
339 coefs); in LVPSA_SetBPFCoefficients()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.cpp204 std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVEQNB_SetCoefficients() local
210 coefs); in LVEQNB_SetCoefficients()
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp266 const float *coefs = rdyn->getFilterCoefs(); in testFilterResponse() local
291 android::testFir(coefs, phases, halfLength, fp / phases, fs / phases, in testFilterResponse()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.cpp282 std::array<LVM_FLOAT, android::audio_utils::kBiquadNumCoefs> coefs = { in LVM_SetTrebleBoost() local
286 new android::audio_utils::BiquadFilter<LVM_FLOAT>(pParams->NrChannels, coefs)); in LVM_SetTrebleBoost()