Searched defs:f_value (Results 1 - 1 of 1) sorted by relevance

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

Completed in 68 milliseconds