Home
last modified time | relevance | path

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

/openbmc/qemu/audio/
H A Dmixeng_template.h35 #define IN_T glue (glue (ITYPE, BSIZE), _t) macro
38 static inline mixeng_real glue (conv_, ET) (IN_T v) in glue()
40 IN_T nv = ENDIAN_CONVERT (v); in glue()
57 static inline IN_T glue (clip_, ET) (mixeng_real v) in glue()
66 return ENDIAN_CONVERT((IN_T)(v * (((mixeng_real)IN_MAX - IN_MIN) / 2.f))); in glue()
68 return ENDIAN_CONVERT((IN_T)((v * ((mixeng_real)IN_MAX / 2.f)) + HALF)); in glue()
74 static inline int64_t glue (conv_, ET) (IN_T v) in glue()
76 IN_T nv = ENDIAN_CONVERT (v); in glue()
84 static inline IN_T glue (clip_, ET) (int64_t v) in glue()
93 return ENDIAN_CONVERT ((IN_T) (v >> (32 - SHIFT))); in glue()
[all …]