Home
last modified time | relevance | path

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

/system/chre/external/kiss_fft/
D_kiss_fft_guts.h65 # define sround( x ) (kiss_fft_scalar)( ( (x) + (1<<(FRACBITS-1)) ) >> FRACBITS ) macro
67 # define S_MUL(a,b) sround( smul(a,b) )
70 do{ (m).r = sround( smul((a).r,(b).r) - smul((a).i,(b).i) ); \
71 (m).i = sround( smul((a).r,(b).i) + smul((a).i,(b).r) ); }while(0)
74 (x) = sround( smul( x, SAMP_MAX/k ) )
81 do{ (c).r = sround( smul( (c).r , s ) ) ;\
82 (c).i = sround( smul( (c).i , s ) ) ; }while(0)