/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/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/simple_features/ |
D | simple_features_generator.cc | 36 constexpr float kPi = 3.14159265358979323846f; variable 54 real += time_series[j] * cos(j * i * kPi * 2 / time_series_size); in CalculateDiscreteFourierTransform() 58 imaginary -= time_series[j] * sin(j * i * kPi * 2 / time_series_size); in CalculateDiscreteFourierTransform() 69 window_function[i] = 0.5 - 0.5 * cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()
|
/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 | 37 const double kPi = 3.141592653589793238462643383279502884; variable 43 out[k] += in[n] * cos(kPi * (2 * n + 1) * k / 64.0); in reference_32x32_dct_1d()
|
D | fdct8x8_test.cc | 35 const double kPi = 3.141592653589793238462643383279502884; variable 56 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/tensorflow/tensorflow/compiler/xla/tests/ |
D | exhaustive_op_test.cc | 111 float kPi = M_PI; in HostDigamma() local 134 reflection = kPi / std::tan(kPi * reflection); in HostDigamma()
|
/external/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 32 static constexpr double kPi = 3.14159265358979323846264338327950288; variable 166 auto possibleWindow = static_cast<int>(floor(sigma * 3 * sqrt(2 * kPi) / 4 + 0.5)); in calculate_window()
|
/external/skqp/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 32 static constexpr double kPi = 3.14159265358979323846264338327950288; variable 166 auto possibleWindow = static_cast<int>(floor(sigma * 3 * sqrt(2 * kPi) / 4 + 0.5)); in calculate_window()
|
/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()
|
/external/skia/src/core/ |
D | SkMaskBlurFilter.cpp | 22 static const double kPi = 3.14159265358979323846264338327950288; variable 27 auto possibleWindow = static_cast<int>(floor(sigma * 3 * sqrt(2 * kPi) / 4 + 0.5)); in PlanGauss()
|
/external/skqp/src/core/ |
D | SkMaskBlurFilter.cpp | 22 static const double kPi = 3.14159265358979323846264338327950288; variable 27 auto possibleWindow = static_cast<int>(floor(sigma * 3 * sqrt(2 * kPi) / 4 + 0.5)); in PlanGauss()
|
/external/flatbuffers/src/ |
D | idl_parser.cpp | 28 const double kPi = 3.14159265358979323846; variable 1419 FLATBUFFERS_FN_DOUBLE("deg", x / kPi * 180); in ParseSingleValue() 1420 FLATBUFFERS_FN_DOUBLE("rad", x * kPi / 180); in ParseSingleValue()
|