Searched refs:DegreesToRadians (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | array_util_unittest.cc | 158 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()
|
D | array_util.h | 106 T DegreesToRadians(T angle_degrees) { in DegreesToRadians() function
|
D | nonlinear_beamformer.cc | 181 const float NonlinearBeamformer::kHalfBeamWidthRadians = DegreesToRadians(20.f);
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audioproc_float.cc | 112 SphericalPointf(DegreesToRadians(FLAGS_target_angle_degrees), 0.f, in main()
|
/external/opencv3/modules/videoio/src/ |
D | cap_ios_video_camera.mm | 37 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/ |
D | audio_processing_performance_unittest.cc | 570 SphericalPointf(DegreesToRadians(90), 0.f, 1.f))); in SetUp()
|