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

12

/external/chromium_org/third_party/webrtc/base/
H A Dmathutils.h16 #ifndef M_PI
17 #define M_PI 3.14159265359f macro
/external/tremolo/Tremolo/
H A Dos.h55 #ifndef M_PI
56 # define M_PI (3.1415926536f) macro
/external/libvorbis/lib/
H A Dos.h44 #ifndef M_PI
45 # define M_PI (3.1415926536f) macro
/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_dft.c48 #ifndef M_PI
49 #define M_PI 3.141592653 macro
66 double phase = -2*M_PI*bin*k/nfft;
H A Dtest_unit_mdct.c49 #ifndef M_PI
50 #define M_PI 3.141592653 macro
64 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft;
94 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft;
/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/libopus/celt/tests/
H A Dtest_unit_dft.c48 #ifndef M_PI
49 #define M_PI 3.141592653 macro
66 double phase = -2*M_PI*bin*k/nfft;
H A Dtest_unit_mdct.c49 #ifndef M_PI
50 #define M_PI 3.141592653 macro
64 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft;
94 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft;
/external/pixman/pixman/
H A Dpixman-compiler.h70 #ifndef M_PI
71 # define M_PI 3.14159265358979323846 macro
/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.h105 #ifndef M_PI
106 #define M_PI 3.14159265358979323846 /*! Pi. Only used in example projects. */ macro
/external/chromium_org/third_party/opus/src/celt/
H A Dmodes.c72 #ifndef M_PI
73 #define M_PI 3.141592653 macro
374 window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap));
377 window[i] = MIN32(32767,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap))));
/external/chromium_org/third_party/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;
/external/chromium_org/ui/gfx/geometry/
H A Dmatrix3_f.cc11 #ifndef M_PI
12 #define M_PI 3.14159265358979323846 macro
165 phi = M_PI / 3;
171 static_cast<float>(cos(phi + 2.0 * M_PI / 3.0));
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DAll.h6 #ifndef M_PI
7 #define M_PI 3.14159265358979323846 macro
/external/libopus/celt/
H A Dmodes.c72 #ifndef M_PI
73 #define M_PI 3.141592653 macro
374 window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap));
377 window[i] = MIN32(32767,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap))));
/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;
/external/chromium_org/chrome/browser/thumbnails/
H A Dcontent_analysis_unittest.cc28 #ifndef M_PI
29 #define M_PI 3.14159265358979323846 macro
453 float y = std::sin(M_PI * i / 250.0f);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dcompiler.h344 #ifndef M_PI
345 #define M_PI (3.14159265358979323846) macro
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixLogarithm.h14 #ifndef M_PI
15 #define M_PI 3.141592653589793238462643383279503L macro
117 int unwindingNumber = static_cast<int>(ceil((imag(logA11 - logA00) - M_PI) / (2*M_PI)));
119 result(0,1) = A(0,1) * (Scalar(2) * numext::atanh2(y,x) + Scalar(0,2*M_PI*unwindingNumber)) / y;
/external/mesa3d/src/mesa/main/
H A Dcompiler.h344 #ifndef M_PI
345 #define M_PI (3.14159265358979323846) macro
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestpalette.c14 #ifndef M_PI
15 #define M_PI 3.14159265358979323846 macro
326 cmap[red].r = (int)(255 * sin(redphase * M_PI / 63));
/external/srec/srec/include/
H A Dall_defs.h105 #ifndef M_PI
106 #define M_PI 3.14159265358979323846 macro
107 #endif /* M_PI */

Completed in 6752 milliseconds

12