Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dpower_tests.cpp29 void testFloatValue(float f_value, size_t length) { in testFloatValue() argument
30 const float power = audio_utils_power_from_amplitude(f_value); in testFloatValue()
40 const uint8_t u8_value((1.f - f_value) * 128); in testFloatValue()
41 const int16_t i16_value(f_value * INT16_MIN); in testFloatValue()
42 const int32_t i32_value (f_value * INT32_MIN); in testFloatValue()
43 const int32_t q8_23_value(f_value * -(1 << 23)); in testFloatValue()
61 f_ary[i] = f_value; in testFloatValue()
99 const float f_value = (int(length & 0xff) - 128) / 128.f; in testFloatRamp() local
103 const uint8_t u8_value((1.f - f_value) * 128); in testFloatRamp()
104 const int16_t i16_value(f_value * INT16_MIN); in testFloatRamp()
[all …]