Searched defs:M_PI (Results 1 - 17 of 17) sorted by relevance

/external/tremolo/Tremolo/
H A Dos.h55 #ifndef M_PI
56 # define M_PI (3.1415926536f) macro
/external/quake/quake/src/QW/client/
H A Dmathlib.h30 #ifndef M_PI
31 #define M_PI 3.14159265358979323846 // matches value in gcc v2 math.h macro
/external/quake/quake/src/WinQuake/
H A Dmathlib.h30 #ifndef M_PI
31 #define M_PI 3.14159265358979323846 // matches value in gcc v2 math.h macro
/external/flac/libFLAC/
H A Dwindow.c43 #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/aac/libFDK/include/
H A DFDK_trigFcts.h100 #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/aac/libSYS/include/
H A DgenericStds.h108 #ifndef M_PI
109 #define M_PI 3.14159265358979323846 /*! Pi. Only used in example projects. */ macro
/external/speex/libspeex/
H A Dquant_lsp.c40 #ifndef M_PI
41 #define M_PI 3.14159265358979323846 macro
67 #define LSP_PI M_PI
H A Dmath_approx.h45 #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 Dlsp.c91 #ifndef M_PI
92 #define M_PI 3.14159265358979323846 /* pi */ macro
633 if (lsp[len-1]>LSP_SCALING*(M_PI-margin))
634 lsp[len-1]=LSP_SCALING*(M_PI-margin);
H A Dsb_celp.c107 #ifndef M_PI
108 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dnb_celp.c57 #ifndef M_PI
58 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dmdf.c79 #ifndef M_PI
80 #define M_PI 3.14159265358979323846 macro
479 st->window[i] = .5-.5*cos(2*M_PI*i/N);
H A Dpreprocess.c71 #ifndef M_PI
72 #define M_PI 3.14159263 macro
H A Dresample.c81 #ifndef M_PI
82 #define M_PI 3.14159263 macro
285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func));
298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func);
/external/mesa3d/src/mesa/main/
H A Dcompiler.h353 #ifndef M_PI
354 #define M_PI (3.1415926536) macro
/external/srec/srec/include/
H A Dall_defs.h105 #ifndef M_PI
106 #define M_PI 3.14159265358979323846 macro
107 #endif /* M_PI */
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DGraphicsContextCairo.cpp67 #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);

Completed in 281 milliseconds