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

12

/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/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/skia/ext/
H A Dimage_operations_unittest.cc644 #ifndef M_PI
645 // No M_PI in math.h on windows? No problem.
646 #define M_PI 3.14159265358979323846 macro
651 x *= M_PI;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_fpc_translate.c44 #ifndef M_PI
45 #define M_PI 3.14159265358979323846 macro
95 static const float sin_constants[4] = { 2.0 * M_PI,
96 -8.0f * M_PI * M_PI * M_PI / (3 * 2 * 1),
97 32.0f * M_PI * M_PI * M_PI * M_PI * M_P
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.c38 #ifndef M_PI
39 #define M_PI 3.14159265358979323846 macro
44 static const VGfloat two_pi = M_PI * 2;
140 rot *= M_PI/180.0;
208 return (sina>=0 ? acos(cosa) : 2*M_PI - acos(cosa));
279 angle = 2*M_PI - vector_angles(vec0, vec1);
284 angle = M_PI;
308 if ((lambda2 - lambda1 > M_PI) && (arc->eta2 - arc->eta1 < M_PI)) {
309 arc->eta2 += 2 * M_PI;
[all...]
/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/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/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/chromium_org/third_party/opus/src/src/
H A Danalysis.c44 #ifndef M_PI
45 #define M_PI 3.141592653 macro
117 #define cE ((float)M_PI/2)
212 const float pi4 = (float)(M_PI*M_PI*M_PI*M_PI);
278 angle = (float)(.5f/M_PI)*fast_atan2f(X1i, X1r);
282 angle2 = (float)(.5f/M_PI)*fast_atan2f(X2i, X2r);
/external/chromium_org/third_party/speex/libspeex/
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 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 Dnb_celp.c57 #ifndef M_PI
58 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dquant_lsp.c40 #ifndef M_PI
41 #define M_PI 3.14159265358979323846 macro
67 #define LSP_PI M_PI
H A Dresample.c81 #ifndef M_PI
82 #define M_PI 3.14159263 macro
281 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func));
294 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func);
H A Dsb_celp.c107 #ifndef M_PI
108 #define M_PI 3.14159265358979323846 /* pi */ macro
/external/chromium_org/third_party/webrtc/base/
H A Dmathutils.h16 #ifndef M_PI
17 #define M_PI 3.14159265359f macro
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dfft.c142 #ifndef M_PI
143 # define M_PI 3.14159265358979323846264338327950288 macro
291 REAL pi2 = M_PI; /* use PI first, 2 PI later */
/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/chromium_org/ui/gfx/
H A Dinterpolated_transform.cc9 #ifndef M_PI
10 #define M_PI 3.14159265358979323846 macro
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DAll.h6 #ifndef M_PI
7 #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/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/libexif/libexif/
H A Dexif-entry.c35 #ifndef M_PI
36 #define M_PI 3.14159265358979323846 macro
1123 1. / (M_PI * 0.3048 * 0.3048) * pow (2, d));

Completed in 2822 milliseconds

12