Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dminifloat.c27 #define ONE_FLOAT ((float) (1 << (MANTISSA_BITS + 1))) macro
51 int mantissa = (int) (r * ONE_FLOAT); in gain_from_float()
60 return ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT, in float_from_gain()
Dsample.c33 #define ONE_FLOAT ((float) (1 << (MANTISSA_BITS + 1))) macro
69 int mantissa = (int) (r * ONE_FLOAT); in sample_from_float()
80 float f = ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT, in float_from_sample()