HomeSort by relevance Sort by last modified time
    Searched refs:clamp8_from_float (Results 1 - 3 of 3) sorted by null

  /system/media/audio_utils/tests/
primitives_tests.cpp 42 uint8_t uval = clamp8_from_float((f - 128) / (1 << 7));
45 ALOGV("clamp8_from_float(%f) = %u\n", f, uval);
54 uint8_t uval2 = clamp8_from_float(float_from_u8(uval));
184 EXPECT_EQ(0, clamp8_from_float(-INFINITY));
185 EXPECT_EQ(255, clamp8_from_float(INFINITY));
  /system/media/audio_utils/include/audio_utils/
primitives.h 641 static inline uint8_t clamp8_from_float(float f) function
    [all...]
  /system/media/audio_utils/
primitives.c 54 *dst++ = clamp8_from_float(*src++);

Completed in 81 milliseconds