Searched refs:kPi (Results 1 – 13 of 13) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | file_utils_unittest.cc | 35 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 …]
|
D | transient_detector.cc | 122 const float horizontal_scaling = ts::kPi / kDetectThreshold; in Detect() 123 const float kHorizontalShift = ts::kPi; in Detect()
|
D | common.h | 16 static const float kPi = 3.14159265358979323846f; variable
|
D | transient_suppressor.cc | 377 const float phase = 2 * ts::kPi * WebRtcSpl_RandU(&seed_) / in HardRestoration()
|
/external/webrtc/webrtc/base/ |
D | random.cc | 75 const double kPi = 3.14159265358979323846; in Gaussian() local 78 return mean + standard_deviation * sqrt(-2 * log(u1)) * cos(2 * kPi * u2); in Gaussian()
|
D | random_unittest.cc | 286 const double kPi = 3.14159265358979323846; in TEST() local 287 const double kScale = 1 / (kStddev * sqrt(2.0 * kPi)); in TEST()
|
/external/libvpx/libvpx/test/ |
D | idct8x8_test.cc | 27 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()
|
D | dct32x32_test.cc | 35 const double kPi = 3.141592653589793238462643383279502884; variable 41 out[k] += in[n] * cos(kPi * (2 * n + 1) * k / 64.0); in reference_32x32_dct_1d()
|
D | fdct8x8_test.cc | 34 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/ |
D | fake_network_pipe.cc | 23 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/ |
D | constants-expected.cc | 15 const float kPi = 3.141592654; variable
|
D | constants-original.cc | 15 const float kPi = 3.141592654; variable
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_framework.cc | 424 const double kPi = 3.1415926535897932; in MeanUs() local 427 static_cast<double>(stddev_jitter_us_) / sqrt(kPi / 2.0); in MeanUs()
|