Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/aidl/
DLoudnessEnhancerContext.cpp76 float leftSample, rightSample; in process() local
82 rightSample = inputAmp * in[inIdx + 1]; in process()
83 mCompressor->Compress(&leftSample, &rightSample); in process()
85 in[inIdx + 1] = rightSample * inverseScale; in process()
90 rightSample = inputAmp * in[inIdx + 1]; in process()
92 in[inIdx + 1] = rightSample * inverseScale; in process()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp307 float leftSample, rightSample; in LE_process() local
312 rightSample = inputAmp * inBuffer->f32[2*inIdx +1]; in LE_process()
313 pContext->mCompressor->Compress(&leftSample, &rightSample); in LE_process()
315 inBuffer->f32[2*inIdx +1] = rightSample * inverseScale; in LE_process()
318 rightSample = inputAmp * (float)inBuffer->s16[2*inIdx +1]; in LE_process()
319 pContext->mCompressor->Compress(&leftSample, &rightSample); in LE_process()
321 inBuffer->s16[2*inIdx +1] = (int16_t) rightSample; in LE_process()