Searched refs:audio_coef_t (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libeffects/testlibs/ |
D | AudioCoefInterpolator.h | 46 size_t nOutDims, const audio_coef_t * table); 54 void getCoef(const int intCoord[], uint32_t fracCoord[], audio_coef_t out[]); 72 const audio_coef_t * mTable; 87 audio_coef_t out[], size_t dim); 93 static audio_coef_t interp(audio_coef_t lo, audio_coef_t hi, uint32_t frac);
|
D | AudioCoefInterpolator.cpp | 29 const audio_coef_t * table) { in AudioCoefInterpolator() 43 audio_coef_t out[]) { in getCoef() 61 audio_coef_t out[], size_t dim) { in getCoefRecurse() 63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); in getCoefRecurse() 67 audio_coef_t tempCoef[MAX_OUT_DIMS]; in getCoefRecurse() 78 audio_coef_t AudioCoefInterpolator::interp(audio_coef_t lo, audio_coef_t hi, in interp() 81 return lo + static_cast<audio_coef_t> (delta >> 32); in interp()
|
D | AudioBiquadFilter.h | 70 void setCoefs(const audio_coef_t coefs[NUM_COEFS], bool immediate = false); 102 static const audio_coef_t MAX_DELTA_PER_SEC = 2000; 105 static const audio_coef_t IDENTITY_COEFS[NUM_COEFS]; 127 audio_coef_t mMaxDelta; 134 audio_coef_t mCoefs[NUM_COEFS]; 137 audio_coef_t mTargetCoefs[NUM_COEFS]; 154 bool updateCoefs(const audio_coef_t coefs[NUM_COEFS], int frameCount);
|
D | AudioBiquadFilter.cpp | 26 const audio_coef_t AudioBiquadFilter::IDENTITY_COEFS[AudioBiquadFilter::NUM_COEFS] = { AUDIO_COEF_O… 53 void AudioBiquadFilter::setCoefs(const audio_coef_t coefs[NUM_COEFS], bool immediate) { 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() 156 const audio_coef_t b0 = mCoefs[0]; in process_normal_mono() 157 const audio_coef_t b1 = mCoefs[1]; in process_normal_mono() 158 const audio_coef_t b2 = mCoefs[2]; in process_normal_mono() 159 const audio_coef_t a1 = mCoefs[3]; in process_normal_mono() 160 const audio_coef_t a2 = mCoefs[4]; in process_normal_mono() 203 const audio_coef_t b0 = mCoefs[0]; in process_normal_multi() [all …]
|
D | AudioCommon.h | 28 typedef int32_t audio_coef_t; typedef 37 static const audio_coef_t AUDIO_COEF_ONE = 1 << AUDIO_COEF_PRECISION; 39 static const audio_coef_t AUDIO_COEF_HALF = 1 << (AUDIO_COEF_PRECISION - 1); 50 inline audio_coef_sample_acc_t mul_coef_sample(audio_coef_t x, audio_sample_t y) { in mul_coef_sample() 55 inline audio_coef_sample_acc_t mac_coef_sample(audio_coef_t x, audio_sample_t y, audio_coef_sample_… in mac_coef_sample()
|
D | AudioShelvingFilter.cpp | 38 static const audio_coef_t kHiCoefTable[3*15*5] = { 42 static const audio_coef_t kLoCoefTable[5*15*5] = { 46 AudioCoefInterpolator AudioShelvingFilter::mHiCoefInterp(2, kHiInDims, 5, (const audio_coef_t*) kHi… 47 AudioCoefInterpolator AudioShelvingFilter::mLoCoefInterp(2, kLoInDims, 5, (const audio_coef_t*) kLo… 90 audio_coef_t coefs[5]; in commit()
|
D | AudioPeakingFilter.cpp | 38 static const audio_coef_t kCoefTable[9*15*4*5] = { 42 AudioCoefInterpolator AudioPeakingFilter::mCoefInterp(3, kInDims, 5, (const audio_coef_t*) kCoefTab… 88 audio_coef_t coefs[5]; in commit()
|