Home
last modified time | relevance | path

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

/gdk/samples/bitmap-plasma-llvm/jni/
Dplasma.cpp53 typedef int32_t Fixed; typedef
62 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
74 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
94 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS))
97 # define ANGLE_TO_FIXED(x) (Fixed)((x) >> (ANGLE_BITS - FIXED_BITS))
101 static Fixed *angle_sin_tab;
103 static Fixed angle_sin_tab[ANGLE_2PI+1];
115 static __inline__ Fixed angle_sin( Angle a ) in angle_sin()
120 static __inline__ Fixed angle_cos( Angle a ) in angle_cos()
125 static __inline__ Fixed fixed_sin( Fixed f ) in fixed_sin()
[all …]