HomeSort by relevance Sort by last modified time
    Searched refs:M_PI (Results 51 - 75 of 307) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/speex/libspeex/
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 */
323 x = M_PI-x;
  /external/libvorbis/lib/
tone.c 40 val+=amp[j]*sin(i/44100.f*f[j]*2*M_PI);
  /external/speex/libspeex/
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 */
323 x = M_PI-x;
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;
  /frameworks/base/libs/hwui/
ShadowTessellator.h 65 #define MINIMAL_DELTA_THETA (M_PI / 180 / 1000)
  /external/eigen/demos/opengl/
quaternion_demo.cpp 61 M_PI, 0.*M_PI,
62 M_PI, 0.5*M_PI,
63 M_PI, 1.*M_PI,
64 M_PI, 1.5*M_PI
430 Quaternionf q = AngleAxisf( dx*M_PI, Vector3f::UnitY())
431 * AngleAxisf(-dy*M_PI, Vector3f::UnitX())
    [all...]
gpuhelper.cpp 67 float angle = 180.f/M_PI * acos(tmp.z());
88 float angle = 180.f/M_PI * acos(tmp.z());
  /external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
cmspcs.c 306 return (deg * M_PI) / 180.;
321 h *= (180. / M_PI);
351 cmsFloat64Number h = (LCh -> h * M_PI) / 180.0;
516 t = 0.627+(0.055*cos((Aveh-254)/(180/M_PI))-
517 0.040*cos((2*Aveh-136)/(180/M_PI))+
518 0.070*cos((3*Aveh-31)/(180/M_PI))+
519 0.049*cos((4*Aveh+114)/(180/M_PI))-
520 0.015*cos((5*Aveh-103)/(180/M_PI)));
523 rh = -0.260*cos((Aveh-308)/(180/M_PI))-
524 0.379*cos((2*Aveh-160)/(180/M_PI))
    [all...]
  /hardware/invensense/60xx/libsensors_iio/software/core/mllite/
ml_math_func.c 242 return acos(quat0)*2*180/M_PI;
508 /** Wraps angle from (-M_PI,M_PI]
510 * @return Wrapped angle from (-M_PI,M_PI]
514 if (ang > M_PI)
515 return ang - 2 * (float)M_PI;
516 else if (ang <= -(float)M_PI)
517 return ang + 2 * (float)M_PI;
523 * is between [-M_PI,M_PI
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/flock/
flock.cc 28 const double kGooseHeadingIncrement = (5.0 * M_PI) / 180.0;
80 heading = M_PI * 2.0 + heading;
  /external/chromium_org/remoting/codec/
audio_encoder_opus_unittest.cc 5 // MSVC++ requires this to get M_PI.
25 const double kChannelPhaseShift = 2 * M_PI / 3;
59 double angle = pos * 2 * M_PI * frequency_hz / rate +
  /external/chromium_org/third_party/angle/samples/angle/particle_system/
ParticleSystem.cpp 101 float endAngle = RandomBetween(0, 2.0f * float(M_PI));
107 float startAngle = RandomBetween(0, 2.0f * float(M_PI));
  /external/pixman/pixman/
pixman-compiler.h 70 #ifndef M_PI
71 # define M_PI 3.14159265358979323846
pixman-filter.c 67 return exp (- x * x / (2 * SIGMA * SIGMA)) / (SIGMA * sqrt (2.0 * M_PI));
76 return sin (M_PI * x) / (M_PI * x);
  /frameworks/av/tools/resampler_tools/
fir.cpp 252 double x = (2.0 * M_PI * ix * Fcr) / M;
280 double x = 2.0 * M_PI * Fcr * (i + p);
  /bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
b_tgamma.c 292 z = sin(M_PI*z);
294 z = cos(M_PI*(0.5-z));
301 lsine = __log__D(M_PI/z); /* = TRUNC(log(u)) + small */
316 return (M_PI / (y*z));
  /cts/apps/CtsVerifier/lib/colorchecker/
imagetesthandler.cpp 88 float angleRad = static_cast<float>(angle) * M_PI / 180.0;
  /external/chromium_org/ui/gfx/geometry/
matrix3_f.cc 11 #ifndef M_PI
12 #define M_PI 3.14159265358979323846
165 phi = M_PI / 3;
171 static_cast<float>(cos(phi + 2.0 * M_PI / 3.0));
  /external/eigen/doc/special_examples/
Tutorial_sparse_example_details.cpp 22 Eigen::ArrayXd boundary = Eigen::ArrayXd::LinSpaced(n, 0,M_PI).sin().pow(2);
  /frameworks/av/cmds/stagefright/
SineSource.cpp 76 const double k = kFrequency / mSampleRate * (2.0 * M_PI);
  /frameworks/native/services/sensorservice/
OrientationSensor.cpp 47 const float rad2deg = 180 / M_PI;
  /external/chromium_org/media/base/
sinc_resampler.cc 76 // MSVC++ requires this to be set before any other includes to get M_PI.
181 const float pre_sinc = M_PI * (i - kKernelSize / 2 - subsample_offset);
187 kA0 - kA1 * cos(2.0 * M_PI * x) + kA2 * cos(4.0 * M_PI * x);
  /external/chromium_org/third_party/webrtc/common_audio/resampler/
sinc_resampler.cc 85 // MSVC++ requires this to be set before any other includes to get M_PI.
226 static_cast<float>(M_PI * (i - kKernelSize / 2 - subsample_offset));
231 const float window = static_cast<float>(kA0 - kA1 * cos(2.0 * M_PI * x) +
232 kA2 * cos(4.0 * M_PI * x));
  /frameworks/rs/
rsScriptC_Lib.cpp 44 const float A = 1.0f / (2.0f * M_PI);
61 x += float(M_PI / 2);
63 const float A = 1.0f / (2.0f * M_PI);
  /external/chromium_org/ppapi/tests/
test_media_stream_audio_track.cc 375 angle = M_PI - angle;
378 angle += 2 * M_PI;
380 return round(angle * period / (2 * M_PI));
455 double angle = (2.0 * M_PI * ((sample_time + left_start) % left_period)) /
462 angle = (2 * M_PI * ((sample_time + right_start) % right_period)) /

Completed in 2664 milliseconds

1 23 4 5 6 7 8 91011>>