HomeSort by relevance Sort by last modified time
    Searched refs:M_PI (Results 1 - 25 of 212) sorted by null

1 2 3 4 5 6 7 8 9

  /external/eigen/doc/snippets/
Cwise_cos.cpp 1 Array3d v(M_PI, M_PI/2, M_PI/3);
Cwise_sin.cpp 1 Array3d v(M_PI, M_PI/2, M_PI/3);
Cwise_tan.cpp 1 Array3d v(M_PI, M_PI/2, M_PI/3);
AngleAxis_mimic_euler.cpp 2 m = AngleAxisf(0.25*M_PI, Vector3f::UnitX())
3 * AngleAxisf(0.5*M_PI, Vector3f::UnitY())
4 * AngleAxisf(0.33*M_PI, Vector3f::UnitZ());
Tutorial_AdvancedInitialization_LinSpaced.cpp 3 table.col(1) = M_PI / 180 * table.col(0);
  /external/chromium_org/third_party/libjingle/source/talk/base/
mathutils.h 33 #ifndef M_PI
34 #define M_PI 3.14159265359f
  /external/flac/libFLAC/
window.c 43 #ifndef M_PI
45 #define M_PI 3.14159265358979323846
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 * n / N) - 0.388f * cos(6.0f * M_PI * n / N) + 0.0322f * cos(8.0f * M_PI * n / N))
    [all...]
  /external/libvorbis/test/
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/
os.h 55 #ifndef M_PI
56 # define M_PI (3.1415926536f)
  /external/chromium_org/ppapi/examples/audio/
audio.cc 5 // Needed on Windows to get |M_PI| from math.h.
79 double delta_l = 2.0 * M_PI * kLeftFrequency / sample_rate_ /
81 double delta_r = 2.0 * M_PI * kRightFrequency / sample_rate_ /
92 // Add delta, keep within -2 * M_PI .. 2 * M_PI to preserve precision.
94 if (wave_l > 2.0 * M_PI)
95 wave_l -= 2.0 * M_PI;
97 if (wave_r > 2.0 * M_PI)
98 wave_r -= 2.0 * M_PI;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_test_arit.c 170 -5*M_PI/4,
171 -4*M_PI/4,
172 -4*M_PI/4,
173 -3*M_PI/4,
174 -2*M_PI/4,
175 -1*M_PI/4,
176 1*M_PI/4,
177 2*M_PI/4,
178 3*M_PI/4,
179 4*M_PI/4
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_test_arit.c 170 -5*M_PI/4,
171 -4*M_PI/4,
172 -4*M_PI/4,
173 -3*M_PI/4,
174 -2*M_PI/4,
175 -1*M_PI/4,
176 1*M_PI/4,
177 2*M_PI/4,
178 3*M_PI/4,
179 4*M_PI/4
    [all...]
  /external/aac/libFDK/include/
FDK_trigFcts.h 100 #ifndef M_PI
101 #define M_PI (3.14159265358979323846f)
152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI));
156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2;
  /external/chromium_org/media/base/
audio_hash.cc 5 // MSVC++ requires this to be set before any other includes to get M_PI.
36 channel[i] + sin(2.0 * M_PI * M_PI * kSampleIndex);
fake_audio_render_callback.cc 5 // MSVC++ requires this to be set before any other includes to get M_PI.
33 audio_bus->channel(0)[i] = sin(2 * M_PI * (x_ + step_ * i));
  /external/eigen/demos/opengl/
trackball.cpp 47 double sinx = sin(M_PI * x * 0.5);
48 double siny = sin(M_PI * y * 0.5);
  /external/srec/srec/include/
all_defs.h 105 #ifndef M_PI
106 #define M_PI 3.14159265358979323846
107 #endif /* M_PI */
  /frameworks/native/opengl/libagl/
fp.cpp 58 const float A = 1.0f / (2.0f*M_PI);
76 return sinef(x + float(M_PI/2));
  /external/pixman/pixman/
pixman-conical-gradient.c 43 t += 2 * M_PI;
45 while (t >= 2 * M_PI)
46 t -= 2 * M_PI;
48 return 1 - t * (1 / (2 * M_PI)); /* Scale t to [0, 1] and
208 conical->angle = (pixman_fixed_to_double (angle) / 180.0) * M_PI;
  /external/chromium_org/third_party/opus/src/celt/tests/
test_unit_dft.c 48 #ifndef M_PI
49 #define M_PI 3.141592653
66 double phase = -2*M_PI*bin*k/nfft;
test_unit_mdct.c 49 #ifndef M_PI
50 #define M_PI 3.141592653
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;
  /development/ndk/platforms/android-18/samples/gles3jni/jni/
gles3jni.h 45 #define TWO_PI (2.0 * M_PI)
  /frameworks/base/media/mca/filterfw/native/core/
statistics.cpp 43 pdf_denom_ = sqrtf(M_PI * exp_denom_);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
i915_fpc_translate.c 44 #ifndef M_PI
45 #define M_PI 3.14159265358979323846
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_PI / (5 * 4 * 3 * 2 * 1)
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
All.h 6 #ifndef M_PI
7 #define M_PI 3.14159265358979323846

Completed in 555 milliseconds

1 2 3 4 5 6 7 8 9