Searched refs:float2int (Results 1 – 11 of 11) sorted by relevance
68 static OPUS_INLINE opus_int32 float2int(float x) {return _mm_cvt_ss2si(_mm_set_ss(x));} in float2int() function86 #define float2int(x) lrintf(x) macro97 #define float2int(x) lrint(x) macro102 __inline long int float2int(float value) in float2int() function114 float2int (float flt) in float2int() function133 #define float2int(flt) ((int)(floor(.5+flt))) macro142 return (opus_int16)float2int(x); in FLOAT2INT16()
1 ; RUN: opt < %s -float2int -S | FileCheck %s3 ; Verify that pass float2int is not run on optnone functions.
1 ; RUN: opt < %s -float2int -float2int-max-integer-bw=256 -S | FileCheck %s
1 ; RUN: opt < %s -float2int -S | FileCheck %s2 ; RUN: opt < %s -passes='float2int' -S | FileCheck %s
158 return (opus_int32)float2int( x ); in silk_float2int()170 out[k] = silk_SAT16( (opus_int32)float2int( in[k] ) ); in silk_float2short_array()
139 FUNCTION_PASS("float2int", Float2IntPass())
551 mod1 = d2_angle - (float)float2int(d2_angle); in tonality_analysis()556 mod2 = d2_angle2 - (float)float2int(d2_angle2); in tonality_analysis()
165 FUNCTION_PASS("float2int", Float2IntPass())