/external/flac/libFLAC/ |
H A D | window.c | 43 #ifndef M_PI 45 #define M_PI 3.14159265358979323846 macro 74 window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N+0.5f) + 0.38f * cos(2.0f * M_PI * ((float)n/(float)N+0.5f))); 83 window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N)); 93 window[n] = (FLAC__real)(0.35875f - 0.48829f * cos(2.0f * M_PI * n / N) + 0.14128f * cos(4.0f * M_PI * n / N) - 0.01168f * cos(6.0f * M_PI * n / N)); 115 window[n] = (FLAC__real)(1.0f - 1.93f * cos(2.0f * M_PI * n / N) + 1.29f * cos(4.0f * M_PI * [all...] |
/external/libvorbis/test/ |
H A D | util.c | 38 { data [k] = sin (2.0 * k * M_PI * 1.0 / 32.0 + 0.4) ; 41 data [k] *= maximum * (0.5 - 0.5 * cos (2.0 * M_PI * k / ((len) - 1))) ;
|
/external/tremolo/Tremolo/ |
H A D | os.h | 55 #ifndef M_PI 56 # define M_PI (3.1415926536f) macro
|
/external/aac/libFDK/include/ |
H A D | FDK_trigFcts.h | 100 #ifndef M_PI 101 #define M_PI (3.14159265358979323846f) macro 152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI)); 156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2;
|
/external/srec/srec/include/ |
H A D | all_defs.h | 105 #ifndef M_PI 106 #define M_PI 3.14159265358979323846 macro 107 #endif /* M_PI */
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
H A D | non-kerned-drawing.cpp | 43 const double RAD2DEG = 180.0 / M_PI; 52 static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } 53 static inline double RadToDeg(double deg) { return (deg * 180.0) / M_PI; }
|
/external/libvorbis/lib/ |
H A D | os.h | 44 #ifndef M_PI 45 # define M_PI (3.1415926536f) macro
|
H A D | tone.c | 40 val+=amp[j]*sin(i/44100.f*f[j]*2*M_PI);
|
H A D | mdct.c | 66 T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i))); 67 T[i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i))); 68 T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1))); 69 T[n2+i*2+1]=FLOAT_CONV(sin((M_PI/(2*n))*(2*i+1))); 72 T[n+i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i+2))*.5); 73 T[n+i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i+2))*.5);
|
H A D | lsp.c | 68 float wdel=M_PI/ln; 150 for(i=0;i<m;i++)ilsp[i]=vorbis_coslook_i(lsp[i]/M_PI*65536.f+.5f); 251 float wdel=M_PI/ln;
|
/external/aac/libFDK/src/ |
H A D | FDK_trigFcts.cpp | 188 at = FL2FXCONST_DBL( +M_PI/2 / ATO_SCALE); 195 at = FL2FXCONST_DBL( -M_PI/2 / ATO_SCALE); 218 ret = at2 + FL2FXCONST_DBL( M_PI / AT2O_SCALE); 220 ret = at2 - FL2FXCONST_DBL( M_PI / AT2O_SCALE); 226 ret = FL2FXCONST_DBL( +M_PI/2 / AT2O_SCALE); 229 ret = FL2FXCONST_DBL( -M_PI/2 / AT2O_SCALE);
|
/external/quake/quake/src/QW/client/ |
H A D | mathlib.h | 30 #ifndef M_PI 31 #define M_PI 3.14159265358979323846 // matches value in gcc v2 math.h macro
|
H A D | r_bsp.c | 90 angle = angle * M_PI*2 / 360; 107 angle = angle * M_PI*2 / 360; 125 angle = angle * M_PI*2 / 360;
|
/external/quake/quake/src/WinQuake/ |
H A D | mathlib.h | 30 #ifndef M_PI 31 #define M_PI 3.14159265358979323846 // matches value in gcc v2 math.h macro
|
H A D | chase.cpp | 87 r_refdef.viewangles[PITCH] = -atan(stop[2] / dist) / M_PI * 180;
|
H A D | snd_android.cpp | 480 static const float p = 2 * M_PI * 440.0f / SAMPLE_RATE; 486 const float A = 1.0f / (2.0f*M_PI); 515 if (left > 2*M_PI) { 516 left -= 2*M_PI; 522 if (right > 2*M_PI) { 523 right -= 2*M_PI;
|
H A D | r_bsp.cpp | 90 angle = angle * M_PI*2 / 360;
107 angle = angle * M_PI*2 / 360;
125 angle = angle * M_PI*2 / 360;
|
/external/speex/libspeex/ |
H A D | math_approx.h | 45 #define spx_cos_norm(x) (cos((.5f*M_PI)*(x))) 305 #ifndef M_PI 306 #define M_PI 3.14159265358979323846 /* pi */ macro 323 x = M_PI-x;
|
H A D | scal.c | 105 st->vorbis_win[i] = sin(.5*M_PI* sin(M_PI*i/(2*frame_size))*sin(M_PI*i/(2*frame_size)) ); 231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707;
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | theme_install_bubble_view_gtk.cc | 172 M_PI, 3 * M_PI_2); 178 M_PI_2, M_PI);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | MathExtras.h | 51 #ifndef M_PI 55 const double piDouble = M_PI; 56 const float piFloat = static_cast<float>(M_PI);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testpalette.c | 14 #ifndef M_PI 15 #define M_PI 3.14159265358979323846 macro 326 cmap[red].r = (int)(255 * sin(redphase * M_PI / 63));
|
/external/mesa3d/src/mesa/main/ |
H A D | compiler.h | 353 #ifndef M_PI 354 #define M_PI (3.1415926536) macro
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | FontPlatformDataWxMac.mm | 46 return (deg * M_PI) / 180.0;
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | GraphicsContextCairo.cpp | 67 #ifndef M_PI 68 #define M_PI 3.14159265358979323846 macro 383 cairo_arc(cr, 0., 0., 1., 0., 2 * M_PI); 422 cairo_arc_negative(cr, x + hRadius, (y + vRadius) * reverseScaleFactor, hRadius, -fa * M_PI/180, -falen * M_PI/180); 449 distance = static_cast<int>((M_PI * hRadius) / 2.0); 451 distance = static_cast<int>((M_PI * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0)) / 2.0);
|