Searched refs:INT_PI (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx88/
H A Dcx88-dsp.c31 #define INT_PI ((s32)(3.141592653589 * 32768.0)) macro
37 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))
81 u16 period = x / INT_PI;
83 return -int_cos(x - INT_PI);
84 x = x % INT_PI;
85 if (x > INT_PI/2)
86 return -int_cos(INT_PI/2 - (x % (INT_PI/2)));
87 /* Now x is between 0 and INT_PI/2.
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Dvf_rotate.c258 #define INT_PI 3294199 //(M_PI * FIXP2) macro
268 if (a < 0) a = INT_PI-a; // 0..inf
269 a %= 2 * INT_PI; // 0..2PI
271 if (a >= INT_PI*3/2) a -= 2*INT_PI; // -PI/2 .. 3PI/2
272 if (a >= INT_PI/2 ) a = INT_PI - a; // -PI/2 .. PI/2
485 c = int_sin(angle_int + INT_PI/2);

Completed in 167 milliseconds