Searched refs:IN_MAX (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Audio/
H A Dmixeng.c52 #define IN_MAX SCHAR_MAX macro
57 #undef IN_MAX macro
65 #define IN_MAX UCHAR_MAX macro
68 #undef IN_MAX macro
79 #define IN_MAX SHRT_MAX macro
93 #undef IN_MAX macro
101 #define IN_MAX USHRT_MAX macro
113 #undef IN_MAX macro
121 #define IN_MAX INT32_MAX macro
135 #undef IN_MAX macro
143 #define IN_MAX macro
155 #undef IN_MAX macro
[all...]
H A Dmixeng_template.h31 #define HALF (IN_MAX >> 1)
57 return nv * (1.f / (real_t) (IN_MAX - IN_MIN));
59 return (nv - HALF) * (1.f / (real_t) IN_MAX);
63 return nv / (real_t) (IN_MAX - IN_MIN);
65 return (nv - HALF) / (real_t) IN_MAX;
73 return IN_MAX;
80 return ENDIAN_CONVERT ((IN_T) (v * (IN_MAX - IN_MIN)));
82 return ENDIAN_CONVERT ((IN_T) ((v * IN_MAX) + HALF));
101 return IN_MAX;

Completed in 66 milliseconds