/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/ImageMagick/Magick++/lib/ |
D | Options.cpp | 25 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro 831 affine.sx=cos(DegreesToRadians(fmod(angle_,360.0))); in transformRotation() 832 affine.rx=(-sin(DegreesToRadians(fmod(angle_,360.0)))); in transformRotation() 833 affine.ry=sin(DegreesToRadians(fmod(angle_,360.0))); in transformRotation() 834 affine.sy=cos(DegreesToRadians(fmod(angle_,360.0))); in transformRotation() 882 affine.ry=tan(DegreesToRadians(fmod(skewx_,360.0))); in transformSkewX() 907 affine.rx=tan(DegreesToRadians(fmod(skewy_,360.0))); in transformSkewY()
|
D | Image.cpp | 29 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro 1904 affine.sx=cos(DegreesToRadians(fmod(degrees_,360.0))); in annotate() 1905 affine.rx=sin(DegreesToRadians(fmod(degrees_,360.0))); in annotate() 1906 affine.ry=(-sin(DegreesToRadians(fmod(degrees_,360.0)))); in annotate() 1907 affine.sy=cos(DegreesToRadians(fmod(degrees_,360.0))); in annotate()
|
/external/ImageMagick/MagickCore/ |
D | image-private.h | 56 static inline double DegreesToRadians(const double degrees) in DegreesToRadians() function
|
D | draw.c | 2511 affine.sx=cos(DegreesToRadians(fmod((double) angle,360.0))); in DrawImage() 2512 affine.rx=sin(DegreesToRadians(fmod((double) angle,360.0))); in DrawImage() 2513 affine.ry=(-sin(DegreesToRadians(fmod((double) angle,360.0)))); in DrawImage() 2514 affine.sy=cos(DegreesToRadians(fmod((double) angle,360.0))); in DrawImage() 2548 affine.ry=sin(DegreesToRadians(angle)); in DrawImage() 2557 affine.rx=(-tan(DegreesToRadians(angle)/2.0)); in DrawImage() 3347 v.x=(double) (((x-gradient->center.x)*cos(DegreesToRadians( in GetStopColorOffset() 3348 gradient->angle)))+((y-gradient->center.y)*sin(DegreesToRadians( in GetStopColorOffset() 3350 v.y=(double) (((x-gradient->center.x)*sin(DegreesToRadians( in GetStopColorOffset() 3351 gradient->angle)))-((y-gradient->center.y)*cos(DegreesToRadians( in GetStopColorOffset() [all …]
|
D | shear.c | 645 affine_matrix.sx=cos(DegreesToRadians(fmod((double) degrees,360.0))); in DeskewImage() 646 affine_matrix.rx=sin(DegreesToRadians(fmod((double) degrees,360.0))); in DeskewImage() 647 affine_matrix.ry=(-sin(DegreesToRadians(fmod((double) degrees,360.0)))); in DeskewImage() 648 affine_matrix.sy=cos(DegreesToRadians(fmod((double) degrees,360.0))); in DeskewImage() 1616 shear.x=(-tan(DegreesToRadians(fmod(x_shear,360.0)))); in ShearImage() 1617 shear.y=tan(DegreesToRadians(fmod(y_shear,360.0))); in ShearImage() 1762 shear.x=(-tan((double) DegreesToRadians(angle)/2.0)); in ShearRotateImage() 1763 shear.y=sin((double) DegreesToRadians(angle)); in ShearRotateImage()
|
D | feature.c | 1932 radius=(((double) x-center.x)*cos(DegreesToRadians((double) i)))+ in HoughLineImage() 1933 (((double) y-center.y)*sin(DegreesToRadians((double) i))); in HoughLineImage() 2040 (image->columns/2.0))*cos(DegreesToRadians((double) x))))/ in HoughLineImage() 2041 sin(DegreesToRadians((double) x))+(image->rows/2.0); in HoughLineImage() 2044 (image->columns/2.0))*cos(DegreesToRadians((double) x))))/ in HoughLineImage() 2045 sin(DegreesToRadians((double) x))+(image->rows/2.0); in HoughLineImage() 2054 (image->rows/2.0))*sin(DegreesToRadians((double) x))))/ in HoughLineImage() 2055 cos(DegreesToRadians((double) x))+(image->columns/2.0); in HoughLineImage() 2058 (image->rows/2.0))*sin(DegreesToRadians((double) x))))/ in HoughLineImage() 2059 cos(DegreesToRadians((double) x))+(image->columns/2.0); in HoughLineImage()
|
D | distort.c | 734 a=DegreesToRadians(a); cosine=cos(a); sine=sin(a); in GenerateCoefficients() 1145 coeff[1] = DegreesToRadians(arguments[0]); in GenerateCoefficients() 1149 coeff[0] += DegreesToRadians(arguments[1]); in GenerateCoefficients() 1207 coeff[4] = DegreesToRadians(arguments[4]); in GenerateCoefficients() 1210 coeff[5] = DegreesToRadians(arguments[5]); in GenerateCoefficients() 1291 coeff[0] = DegreesToRadians(arguments[0]); in GenerateCoefficients() 2827 shear.x=(-tan((double) DegreesToRadians(angle)/2.0)); in RotateImage() 2828 shear.y=sin((double) DegreesToRadians(angle)); in RotateImage()
|
D | effect.c | 2064 point.x=(double) width*sin(DegreesToRadians(angle)); in MotionBlurImage() 2065 point.y=(double) width*cos(DegreesToRadians(angle)); in MotionBlurImage() 2833 n=(size_t) fabs(4.0*DegreesToRadians(angle)*sqrt((double) blur_radius)+2UL); in RotationalBlurImage() 2834 theta=DegreesToRadians(angle)/(double) (n-1); in RotationalBlurImage() 3435 light.x=(double) QuantumRange*cos(DegreesToRadians(azimuth))* in ShadeImage() 3436 cos(DegreesToRadians(elevation)); in ShadeImage() 3437 light.y=(double) QuantumRange*sin(DegreesToRadians(azimuth))* in ShadeImage() 3438 cos(DegreesToRadians(elevation)); in ShadeImage() 3439 light.z=(double) QuantumRange*sin(DegreesToRadians(elevation)); in ShadeImage()
|
D | paint.c | 552 sine=sin((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage() 553 cosine=cos((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage()
|
D | composite.c | 839 angle=DegreesToRadians(geometry_info.xi); 850 angle_start=DegreesToRadians(geometry_info.xi); 851 angle_range=DegreesToRadians(geometry_info.psi)-angle_start;
|
D | accelerate.c | 4632 cossin_theta_size=(unsigned int) fabs(4.0*DegreesToRadians(angle)*sqrt( in ComputeRotationalBlurImage() 4645 theta=DegreesToRadians(angle)/(MagickRealType) (cossin_theta_size-1); in ComputeRotationalBlurImage()
|
D | fx.c | 5158 degrees=(double) DegreesToRadians(degrees); in SwirlImage()
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audioproc_float.cc | 112 SphericalPointf(DegreesToRadians(FLAGS_target_angle_degrees), 0.f, in main()
|
/external/ImageMagick/coders/ |
D | svg.c | 1376 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement() 1377 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement() 1378 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in SVGStartElement() 1379 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement() 1404 affine.ry=tan(DegreesToRadians(fmod( in SVGStartElement() 1413 affine.rx=tan(DegreesToRadians(fmod( in SVGStartElement() 2004 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement() 2005 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement() 2006 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in SVGStartElement() 2007 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement() [all …]
|
D | msl.c | 927 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() 928 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() 929 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in MSLStartElement() 930 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() 952 affine.ry=tan(DegreesToRadians(fmod((double) angle, in MSLStartElement() 959 affine.rx=tan(DegreesToRadians(fmod((double) angle, in MSLStartElement() 2558 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() 2559 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() 2560 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in MSLStartElement() 2561 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() [all …]
|
/external/ImageMagick/PerlMagick/ |
D | Magick.xs | 75 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro 8443 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8444 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8445 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in Mogrify() 8446 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8454 affine.ry=tan(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8462 affine.rx=tan(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8957 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8958 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in Mogrify() 8959 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in Mogrify() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_performance_unittest.cc | 570 SphericalPointf(DegreesToRadians(90), 0.f, 1.f))); in SetUp()
|
/external/ImageMagick/PerlMagick/quantum/ |
D | quantum.xs.in | 75 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro 8443 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); 8444 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); 8445 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); 8446 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); 8454 affine.ry=tan(DegreesToRadians(fmod(angle,360.0))); 8462 affine.rx=tan(DegreesToRadians(fmod(angle,360.0))); 8957 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); 8958 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); 8959 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); [all …]
|
/external/ImageMagick/MagickWand/ |
D | operation.c | 1780 _draw_info->affine.sx=cos(DegreesToRadians( in CLISimpleOperatorImage() 1782 _draw_info->affine.rx=sin(DegreesToRadians( in CLISimpleOperatorImage() 1784 _draw_info->affine.ry=(-sin(DegreesToRadians( in CLISimpleOperatorImage() 1786 _draw_info->affine.sy=cos(DegreesToRadians( in CLISimpleOperatorImage()
|
D | mogrify.c | 852 draw_info->affine.sx=cos(DegreesToRadians( in MogrifyImage() 854 draw_info->affine.rx=sin(DegreesToRadians( in MogrifyImage() 856 draw_info->affine.ry=(-sin(DegreesToRadians( in MogrifyImage() 858 draw_info->affine.sy=cos(DegreesToRadians( in MogrifyImage()
|
D | magick-image.c | 617 draw_info->affine.sx=cos((double) DegreesToRadians(fmod(angle,360.0))); in MagickAnnotateImage() 618 draw_info->affine.rx=sin((double) DegreesToRadians(fmod(angle,360.0))); in MagickAnnotateImage() 619 draw_info->affine.ry=(-sin((double) DegreesToRadians(fmod(angle,360.0)))); in MagickAnnotateImage() 620 draw_info->affine.sy=cos((double) DegreesToRadians(fmod(angle,360.0))); in MagickAnnotateImage()
|