Searched refs:float2int (Results 1 – 16 of 16) sorted by relevance
68 static OPUS_INLINE opus_int32 float2int(float x) {return _mm_cvt_ss2si(_mm_set_ss(x));} in float2int() function73 static OPUS_INLINE opus_int32 float2int(float value) in float2int() function91 float2int (float flt) in float2int() function118 #define float2int(x) lrintf(x) macro129 #define float2int(x) lrint(x) macro139 #define float2int(flt) ((int)(floor(.5+flt))) macro148 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
2 ; RUN: opt < %s -float2int -S | FileCheck %s3 ; RUN: opt < %s -passes='float2int' -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()
62 ADD_TEST(float2int),
224 int32_t float2int(float fx);
707 int32_t float2int(float fx) in float2int() function
139 FUNCTION_PASS("float2int", Float2IntPass())
590 mod1 = d2_angle - (float)float2int(d2_angle); in tonality_analysis()595 mod2 = d2_angle2 - (float)float2int(d2_angle2); in tonality_analysis()
185 FUNCTION_PASS("float2int", Float2IntPass())
234 FUNCTION_PASS("float2int", Float2IntPass())
306 static void float2int( void *, void *);714 static void float2int( void *out, void *in){ ((cl_int*) out)[0] = my_rintf(((cl_float*) in)[0]); } in float2int() function2142 void float2int_many( void *out, void *in, size_t n){size_t i; for( i = 0; i < n; i++){ float2int( (… in float2int_many()