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

  /external/qemu/audio/
mixeng.c 38 #define IN_MAX SCHAR_MAX
43 #undef IN_MAX
51 #define IN_MAX UCHAR_MAX
54 #undef IN_MAX
65 #define IN_MAX SHRT_MAX
79 #undef IN_MAX
87 #define IN_MAX USHRT_MAX
99 #undef IN_MAX
107 #define IN_MAX INT32_MAX
121 #undef IN_MAX
    [all...]
mixeng_template.h 31 #define HALF (IN_MAX >> 1)
53 return nv * (1.f / (mixeng_real) (IN_MAX - IN_MIN));
55 return (nv - HALF) * (1.f / (mixeng_real) IN_MAX);
59 return nv / (mixeng_real) (IN_MAX - IN_MIN);
61 return (nv - HALF) / (mixeng_real) IN_MAX;
69 return IN_MAX;
76 return ENDIAN_CONVERT ((IN_T) (v * (IN_MAX - IN_MIN)));
78 return ENDIAN_CONVERT ((IN_T) ((v * IN_MAX) + HALF));
97 return IN_MAX;

Completed in 507 milliseconds