/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
gensig.c | 68 double omega = 2 * M_PI / size; 95 double omega = 2 * M_PI / size; 128 double omega = 2 * M_PI / size;
|
/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;
|
/external/libopus/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)
|
/external/chromium_org/media/base/ |
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/chromium_org/third_party/webrtc/common_audio/resampler/ |
sinusoidal_linear_chirp_source.cc | 11 // MSVC++ requires this to be set before any other includes to get M_PI. 46 sin(2 * M_PI * (kMinFrequency * t + (k_ / 2) * t * t));
|
/frameworks/base/media/mca/filterfw/native/core/ |
statistics.cpp | 43 pdf_denom_ = sqrtf(M_PI * exp_denom_);
|
/external/eigen/test/ |
geo_quaternion.cpp | 33 if(theta_tot>M_PI) 34 theta_tot = Scalar(2.*M_PI)-theta_tot; 67 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)), 68 b = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 85 if (refangle>Scalar(M_PI)) 86 refangle = Scalar(2)*Scalar(M_PI) - refangle; 159 q2 = AngleAxisx(b+Scalar(M_PI), v1.normalized()); 182 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)) [all...] |
/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
|
/external/libvorbis/lib/ |
os.h | 44 #ifndef M_PI 45 # define M_PI (3.1415926536f)
|
/external/mesa3d/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...] |
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 16 // This define makes Microsoft pickup things like M_PI 78 #ifndef M_PI 79 #define M_PI 3.14159265358979
|
/hardware/invensense/60xx/mlsdk/mllite/ |
mlMathFunc.c | 346 /** Wraps angle from (-M_PI,M_PI] 348 * @return Wrapped angle from (-M_PI,M_PI] 352 if (ang > M_PI) 353 return ang - 2 * (float)M_PI; 354 else if (ang <= -(float)M_PI) 355 return ang + 2 * (float)M_PI; 361 * is between [-M_PI,M_PI] [all...] |
/hardware/invensense/60xx/mlsdk/platform/include/ |
mlmath.h | 28 // This define makes Microsoft pickup things like M_PI 90 #ifndef M_PI 91 #define M_PI 3.14159265358979
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
mlmath.h | 16 // This define makes Microsoft pickup things like M_PI 78 #ifndef M_PI 79 #define M_PI 3.14159265358979
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 16 // This define makes Microsoft pickup things like M_PI 78 #ifndef M_PI 79 #define M_PI 3.14159265358979
|
/external/aac/libFDK/src/ |
FDK_trigFcts.cpp | 188 at = FL2FXCONST_DBL( +M_PI/2 / ATO_SCALE); 195 at = FL2FXCONST_DBL( -M_PI/2 / ATO_SCALE); 218 ret = at2 + FL2FXCONST_DBL( M_PI / AT2O_SCALE); 220 ret = at2 - FL2FXCONST_DBL( M_PI / AT2O_SCALE); 226 ret = FL2FXCONST_DBL( +M_PI/2 / AT2O_SCALE); 229 ret = FL2FXCONST_DBL( -M_PI/2 / AT2O_SCALE);
|
/external/chromium_org/third_party/webrtc/common_audio/ |
wav_writer_unittest.cc | 11 // MSVC++ requires this to be set before any other includes to get M_PI. 123 std::numeric_limits<int16_t>::max() * std::sin(t * kToneHz * 2 * M_PI); 124 samples[i] = std::pow(std::sin(t * 2 * 2 * M_PI), 10) * x; 125 samples[i + 1] = std::pow(std::cos(t * 2 * 2 * M_PI), 10) * x;
|
/external/chromium_org/third_party/opus/src/celt/ |
modes.c | 72 #ifndef M_PI 73 #define M_PI 3.141592653 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/libopus/celt/ |
modes.c | 72 #ifndef M_PI 73 #define M_PI 3.141592653 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))));
|
/frameworks/base/libs/hwui/ |
Interpolator.cpp | 34 return (float)(cosf((input + 1) * M_PI) / 2.0f) + 0.5f; 75 return sinf(2 * mCycles * M_PI * input);
|
/external/chromium_org/media/audio/ |
simple_sources.cc | 4 // MSVC++ requires this to be set before any other includes to get M_PI. 43 audio_bus->channel(0)[i] = sin(2.0 * M_PI * f_ * time_state_++);
|