Home
last modified time | relevance | path

Searched refs:kPi (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/transient/
Dfile_utils_unittest.cc35 static const double kPi = 3.14159265358979323846; variable
70 EXPECT_FLOAT_EQ(kPi, value); in TEST_F()
88 EXPECT_DOUBLE_EQ(kPi, value); in TEST_F()
105 EXPECT_EQ(0, ConvertFloatToByteArray(kPi, bytes.get())); in TEST_F()
123 EXPECT_EQ(0, ConvertDoubleToByteArray(kPi, bytes.get())); in TEST_F()
292 EXPECT_FLOAT_EQ(kPi, buffer[0]); in TEST_F()
306 EXPECT_FLOAT_EQ(kPi, buffer[0]); in TEST_F()
334 EXPECT_DOUBLE_EQ(kPi, buffer[0]); in TEST_F()
348 EXPECT_DOUBLE_EQ(kPi, buffer[0]); in TEST_F()
422 written_buffer[0] = kPi; in TEST_F()
[all …]
Dtransient_detector.cc122 const float horizontal_scaling = ts::kPi / kDetectThreshold; in Detect()
123 const float kHorizontalShift = ts::kPi; in Detect()
Dcommon.h16 static const float kPi = 3.14159265358979323846f; variable
Dtransient_suppressor.cc377 const float phase = 2 * ts::kPi * WebRtcSpl_RandU(&seed_) / in HardRestoration()
/external/webrtc/webrtc/base/
Drandom.cc75 const double kPi = 3.14159265358979323846; in Gaussian() local
78 return mean + standard_deviation * sqrt(-2 * log(u1)) * cos(2 * kPi * u2); in Gaussian()
Drandom_unittest.cc286 const double kPi = 3.14159265358979323846; in TEST() local
287 const double kScale = 1 / (kStddev * sqrt(2.0 * kPi)); in TEST()
/external/libvpx/libvpx/test/
Didct8x8_test.cc27 const double kPi = 3.141592653589793238462643383279502884; in reference_dct_1d() local
32 output[k] += input[n] * cos(kPi * (2 * n + 1) * k / 16.0); in reference_dct_1d()
Ddct32x32_test.cc35 const double kPi = 3.141592653589793238462643383279502884; variable
41 out[k] += in[n] * cos(kPi * (2 * n + 1) * k / 64.0); in reference_32x32_dct_1d()
Dfdct8x8_test.cc34 const double kPi = 3.141592653589793238462643383279502884; variable
55 out[k] += in[n] * cos(kPi * (2 * n + 1) * k / 16.0); in reference_8x8_dct_1d()
/external/webrtc/webrtc/test/
Dfake_network_pipe.cc23 const double kPi = 3.14159265; variable
31 sqrt(-2 * log(uniform1)) * cos(2 * kPi * uniform2)); in GaussianRandom()
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dconstants-expected.cc15 const float kPi = 3.141592654; variable
Dconstants-original.cc15 const float kPi = 3.141592654; variable
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc424 const double kPi = 3.1415926535897932; in MeanUs() local
427 static_cast<double>(stddev_jitter_us_) / sqrt(kPi / 2.0); in MeanUs()