Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/testlibs/
DEffectsMath.c96 int16_t Effects_MillibelsToLinear16 (int32_t nGain) in Effects_MillibelsToLinear16() argument
98 nGain = ((nGain + MB_TO_LIN_K1) << 15 ) / MB_TO_LIN_K2; in Effects_MillibelsToLinear16()
99 uint32_t exp2 = Effects_exp2(nGain); in Effects_MillibelsToLinear16()
107 int16_t Effects_Linear16ToMillibels (int32_t nGain) in Effects_Linear16ToMillibels() argument
109 return (int16_t)(((MB_TO_LIN_K2*Effects_log2(nGain))>>15)-MB_TO_LIN_K1); in Effects_Linear16ToMillibels()
DEffectsMath.h376 int16_t Effects_MillibelsToLinear16 (int32_t nGain);
399 int16_t Effects_Linear16ToMillibels (int32_t nGain);