Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/aidl/
DLoudnessEnhancerContext.cpp74 constexpr float inverseScale = 1.f / scale; in process() local
84 in[inIdx] = leftSample * inverseScale; in process()
85 in[inIdx + 1] = rightSample * inverseScale; in process()
91 in[inIdx] = leftSample * inverseScale; in process()
92 in[inIdx + 1] = rightSample * inverseScale; in process()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp302 constexpr float inverseScale = 1.f / scale; in LE_process() local
314 inBuffer->f32[2*inIdx] = leftSample * inverseScale; in LE_process()
315 inBuffer->f32[2*inIdx +1] = rightSample * inverseScale; in LE_process()