This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | mad_fixed64_t signed long long |
| #define | MAD_F_FRACBITS 28 |
| #define | MAD_F(x) ((mad_fixed_t) (x##L)) |
| #define | MAD_F_MIN ((mad_fixed_t) -0x80000000L) |
| #define | MAD_F_MAX ((mad_fixed_t) +0x7fffffffL) |
| #define | MAD_F_ONE MAD_F(0x10000000) |
| #define | mad_f_tofixed(x) |
| #define | mad_f_todouble(x) |
| #define | mad_f_intpart(x) ((x) >> MAD_F_FRACBITS) |
| #define | mad_f_fracpart(x) ((x) & ((1L << MAD_F_FRACBITS) - 1)) |
| #define | mad_f_fromint(x) ((x) << MAD_F_FRACBITS) |
| #define | mad_f_add(x, y) ((x) + (y)) |
| #define | mad_f_sub(x, y) ((x) - (y)) |
| #define | mad_f_mul(x, y) |
| #define | MAD_F_ML0(hi, lo, x, y) ((lo) = mad_f_mul((x), (y))) |
| #define | MAD_F_MLA(hi, lo, x, y) ((lo) += mad_f_mul((x), (y))) |
| #define | MAD_F_MLN(hi, lo) ((lo) = -(lo)) |
| #define | MAD_F_MLZ(hi, lo) ((void) (hi), (mad_fixed_t) (lo)) |
| #define | mad_f_scale64(hi, lo) |
| #define | MAD_F_SCALEBITS MAD_F_FRACBITS |
Typedefs | |
| typedef signed long | mad_fixed_t |
| typedef signed long | mad_fixed64hi_t |
| typedef unsigned long | mad_fixed64lo_t |
| typedef mad_fixed_t | mad_sample_t |
Functions | |
| mad_fixed_t | mad_f_abs (mad_fixed_t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: ({ mad_fixed64hi_t __hi; \
mad_fixed64lo_t __lo; \
MAD_F_MLX(__hi, __lo, (x), (y)); \
mad_f_scale64(__hi, __lo); \
})
|
|
|
Definition at line 93 of file fixed.h. Referenced by audio_linear_dither(). |
|
|
Value: ((mad_fixed_t) \ (((hi) << (32 - MAD_F_SCALEBITS)) | \ ((lo) >> MAD_F_SCALEBITS))) |
|
|
|
|
|
|
|
|
Value: ((double) \
((x) / (double) (1L << MAD_F_FRACBITS)))
|
|
|
Value: ((mad_fixed_t) \ ((x) * (double) (1L << MAD_F_FRACBITS) + 0.5)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2