Home
last modified time | relevance | path

Searched refs:DegreesToRadians (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util_unittest.cc158 TEST(ArrayUtilTest, DegreesToRadians) { in TEST() argument
159 EXPECT_FLOAT_EQ(0.f, DegreesToRadians(0.f)); in TEST()
160 EXPECT_FLOAT_EQ(static_cast<float>(M_PI) / 6.f, DegreesToRadians(30.f)); in TEST()
161 EXPECT_FLOAT_EQ(-static_cast<float>(M_PI) / 4.f, DegreesToRadians(-45.f)); in TEST()
162 EXPECT_FLOAT_EQ(static_cast<float>(M_PI) / 3.f, DegreesToRadians(60.f)); in TEST()
163 EXPECT_FLOAT_EQ(-static_cast<float>(M_PI) / 2.f, DegreesToRadians(-90.f)); in TEST()
165 DegreesToRadians(120.f)); in TEST()
167 DegreesToRadians(-135.f)); in TEST()
169 DegreesToRadians(150.f)); in TEST()
170 EXPECT_FLOAT_EQ(-static_cast<float>(M_PI), DegreesToRadians(-180.f)); in TEST()
Darray_util.h106 T DegreesToRadians(T angle_degrees) { in DegreesToRadians() function
Dnonlinear_beamformer.cc181 const float NonlinearBeamformer::kHalfBeamWidthRadians = DegreesToRadians(20.f);
/external/webrtc/webrtc/modules/audio_processing/test/
Daudioproc_float.cc112 SphericalPointf(DegreesToRadians(FLAGS_target_angle_degrees), 0.f, in main()
/external/opencv3/modules/videoio/src/
Dcap_ios_video_camera.mm37 static CGFloat DegreesToRadians(CGFloat degrees) {return degrees * M_PI / 180;} function
204 layer.affineTransform = CGAffineTransformMakeRotation( DegreesToRadians(rotation_angle) );
268 layer.affineTransform = CGAffineTransformMakeRotation( DegreesToRadians(rotation_angle) );
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_performance_unittest.cc570 SphericalPointf(DegreesToRadians(90), 0.f, 1.f))); in SetUp()