Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/testlibs/
DEffectsMath.c94 int16_t Effects_MillibelsToLinear16 (int32_t nGain) in Effects_MillibelsToLinear16() argument
96 nGain = ((nGain + MB_TO_LIN_K1) << 15 ) / MB_TO_LIN_K2; in Effects_MillibelsToLinear16()
97 uint32_t exp2 = Effects_exp2(nGain); in Effects_MillibelsToLinear16()
105 int16_t Effects_Linear16ToMillibels (int32_t nGain) in Effects_Linear16ToMillibels() argument
107 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);