Home
last modified time | relevance | path

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

/freebsd/contrib/libsamplerate/
H A Dsrc_sinc.c26 #define MAKE_INCREMENT_T(x) ((increment_t) (x))
29 #define FP_ONE ((double) (((increment_t) 1) << SHIFT_BITS))
42 typedef int32_t increment_t ; typedef
44 typedef int _CHECK_SHIFT_BITS[2 * (SHIFT_BITS < sizeof (increment_t) * 8 - 1) - 1]; /* sanity check…
133 static inline increment_t
135 { return (increment_t) (lrint ((x) * FP_ONE)) ; in double_to_fp()
138 static inline increment_t
140 { return (((increment_t) (x)) << SHIFT_BITS) ; in int_to_fp()
144 fp_to_int (increment_t x) in fp_to_int()
148 static inline increment_t
[all …]