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

1 23 4 5 6 7 8 9

  /external/eigen/doc/special_examples/
Tutorial_sparse_example_details.cpp 22 Eigen::ArrayXd boundary = Eigen::ArrayXd::LinSpaced(n, 0,M_PI).sin().pow(2);
  /external/speex/libspeex/
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/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.
207 const float pre_sinc = M_PI * (i - kKernelSize / 2 - subsample_offset);
212 const float window = kA0 - kA1 * cos(2.0 * M_PI * x) + kA2
213 * cos(4.0 * M_PI * x);
  /external/pixman/pixman/
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/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/third_party/mesa/src/src/gallium/state_trackers/vega/
arc.c 38 #ifndef M_PI
39 #define M_PI 3.14159265358979323846
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/mesa3d/src/gallium/state_trackers/vega/
arc.c 38 #ifndef M_PI
39 #define M_PI 3.14159265358979323846
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/gallium/state_trackers/d3d1x/progs/d3d11gears/
d3d11gears.cpp 111 da = (float)(2.0 * M_PI / (teeth * segs * divs));
271 view_rotx = (float)(M_PI / 9.0);
272 view_roty = (float)(M_PI / 6.0);
304 float mod_speed = M_PI * 70.0f / 180.0f * speed;
523 gears[0].t0 = 0.0 * M_PI / 180.0f;
528 gears[1].t0 = -9.0f * (float)M_PI / 180.0f;
533 gears[2].t0 = -25.0f * (float)M_PI / 180.0f;
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
d3d11gears.cpp 111 da = (float)(2.0 * M_PI / (teeth * segs * divs));
271 view_rotx = (float)(M_PI / 9.0);
272 view_roty = (float)(M_PI / 6.0);
304 float mod_speed = M_PI * 70.0f / 180.0f * speed;
523 gears[0].t0 = 0.0 * M_PI / 180.0f;
528 gears[1].t0 = -9.0f * (float)M_PI / 180.0f;
533 gears[2].t0 = -25.0f * (float)M_PI / 180.0f;
  /external/libvorbis/lib/
mdct.c 66 T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i)));
67 T[i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i)));
68 T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1)));
69 T[n2+i*2+1]=FLOAT_CONV(sin((M_PI/(2*n))*(2*i+1)));
72 T[n+i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i+2))*.5);
73 T[n+i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i+2))*.5);
  /frameworks/rs/scriptc/
rs_quaternion.rsh 91 rot *= (float)(M_PI / 180.0f) * 0.5f;
215 scale = sin(M_PI * (0.5f - t));
216 invScale = sin(M_PI * t);
  /prebuilts/sdk/renderscript/include/
rs_quaternion.rsh 91 rot *= (float)(M_PI / 180.0f) * 0.5f;
215 scale = sin(M_PI * (0.5f - t));
216 invScale = sin(M_PI * t);
  /external/chromium_org/third_party/WebKit/Source/wtf/
MathExtras.h 47 #ifndef M_PI
51 const double piDouble = M_PI;
52 const float piFloat = static_cast<float>(M_PI);
  /external/qemu/distrib/sdl-1.2.15/test/
testpalette.c 14 #ifndef M_PI
15 #define M_PI 3.14159265358979323846
326 cmap[red].r = (int)(255 * sin(redphase * M_PI / 63));
  /cts/suite/audio_quality/lib/src/audio/
AudioSignalFactory.cpp 32 double multiplier = 2.0 * M_PI * (double)signalFreq / samplingRate;
  /external/chromium_org/ui/compositor/
debug_utils.cc 5 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first.
81 *out << std::acos(decomp.quaternion[3]) * 360.0 / M_PI;
  /external/chromium_org/ui/gfx/
transform.cc 5 // MSVC++ requires this to be set before any other includes to get M_PI.
29 double radians = degrees * M_PI / 180;
78 double radians = degrees * M_PI / 180;
95 double radians = degrees * M_PI / 180;
114 double radians = degrees * M_PI / 180;
  /frameworks/base/media/tests/audiotests/
shared_mem_test.cpp 178 double dPhi = 2 * M_PI / SIN_SZ;
  /external/eigen/test/eigen2/
eigen2_geometry.cpp 46 Scalar a = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
71 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0);
82 if (refangle>Scalar(M_PI))
83 refangle = Scalar(2)*Scalar(M_PI) - refangle;
136 a = ei_random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI));
192 Scalar a3 = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
eigen2_geometry_with_eigen2_prefix.cpp 48 Scalar a = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
73 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0);
84 if (refangle>Scalar(M_PI))
85 refangle = Scalar(2)*Scalar(M_PI) - refangle;
138 a = ei_random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI));
194 Scalar a3 = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
  /external/eigen/test/
geo_transformations.cpp 43 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
113 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
117 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0);
159 a = internal::random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI));
205 Scalar a3 = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
  /hardware/invensense/65xx/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...]
  /frameworks/ex/carousel/java/com/android/ex/carousel/
carousel.rs 160 static const float TILT_MIN_ANGLE = M_PI / 315.0f;
161 static const float TILT_MAX_BIAS = M_PI / 8.0f;
162 static const float TILT_MAX_ANGLE = M_PI / 8.0f;
389 return slots * 2.0f * M_PI / slotCount;
432 return -angle * slotCount / ( 2.0f * M_PI );
461 float top = near * tan((float) (fovy * M_PI / 360.0f));
621 const float range = M_PI * 2./3.; // How far we can deviate from center, peak-to-peak
721 const float wedgeAngle = 2.0f * M_PI / slotCount;
    [all...]

Completed in 595 milliseconds

1 23 4 5 6 7 8 9