Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/aidl/
DLoudnessEnhancerContext.cpp75 const float inputAmp = pow(10, mGain / 2000.0f) * scale; in process() local
81 leftSample = inputAmp * in[inIdx]; in process()
82 rightSample = inputAmp * in[inIdx + 1]; in process()
89 leftSample = inputAmp * in[inIdx]; in process()
90 rightSample = inputAmp * in[inIdx + 1]; in process()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp303 const float inputAmp = pow(10, pContext->mTargetGainmB/2000.0f) * scale; in LE_process() local
305 float inputAmp = pow(10, pContext->mTargetGainmB/2000.0f); in LE_process() local
311 leftSample = inputAmp * inBuffer->f32[2*inIdx]; in LE_process()
312 rightSample = inputAmp * inBuffer->f32[2*inIdx +1]; in LE_process()
317 leftSample = inputAmp * (float)inBuffer->s16[2*inIdx]; in LE_process()
318 rightSample = inputAmp * (float)inBuffer->s16[2*inIdx +1]; in LE_process()