/external/flac/libFLAC/ |
D | window.c | 71 …window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N-0.5f) - 0.38f * cos(2.0f * M_PI * … in FLAC__window_bartlett_hann() 80 …window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N… in FLAC__window_blackman() 90 …l)(0.35875f - 0.48829f * cos(2.0f * M_PI * n / N) + 0.14128f * cos(4.0f * M_PI * n / N) - 0.01168f… in FLAC__window_blackman_harris_4term_92db_sidelobe() 112 … 1.93f * cos(2.0f * M_PI * n / N) + 1.29f * cos(4.0f * M_PI * n / N) - 0.388f * cos(6.0f * M_PI * … in FLAC__window_flattop() 133 window[n] = (FLAC__real)(0.54f - 0.46f * cos(2.0f * M_PI * n / N)); in FLAC__window_hamming() 142 window[n] = (FLAC__real)(0.5f - 0.5f * cos(2.0f * M_PI * n / N)); in FLAC__window_hann() 151 …C__real)(0.402f - 0.498f * cos(2.0f * M_PI * n / N) + 0.098f * cos(4.0f * M_PI * n / N) - 0.001f *… in FLAC__window_kaiser_bessel() 160 …C__real)(0.3635819f - 0.4891775f*cos(2.0f*M_PI*n/N) + 0.1365995f*cos(4.0f*M_PI*n/N) - 0.0106411f*c… in FLAC__window_nuttall() 203 window[n] = (FLAC__real)(0.5f - 0.5f * cos(M_PI * n / Np)); in FLAC__window_tukey() 204 window[L-Np-1+n] = (FLAC__real)(0.5f - 0.5f * cos(M_PI * (n+Np) / Np)); in FLAC__window_tukey() [all …]
|
/external/eigen/test/ |
D | geo_eulerangles.cpp | 29 …if( (i!=k || ea[1]!=0) && (i==k || !internal::isApprox(abs(ea[1]),Scalar(M_PI/2),test_precision<Sc… in verify_euler() 34 VERIFY_IS_APPROX_OR_LESS_THAN(eabis[0], Scalar(M_PI)); in verify_euler() 35 VERIFY_IS_APPROX_OR_LESS_THAN(-Scalar(M_PI), eabis[1]); in verify_euler() 36 VERIFY_IS_APPROX_OR_LESS_THAN(eabis[1], Scalar(M_PI)); in verify_euler() 37 VERIFY_IS_APPROX_OR_LESS_THAN(-Scalar(M_PI), eabis[2]); in verify_euler() 38 VERIFY_IS_APPROX_OR_LESS_THAN(eabis[2], Scalar(M_PI)); in verify_euler() 67 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); in eulerangles() 87 ea = (Array3::Random() + Array3(1,0,0))*Scalar(M_PI)*Array3(0.5,1,1); in eulerangles() 90 ea[2] = ea[0] = internal::random<Scalar>(0,Scalar(M_PI)); in eulerangles() 93 ea[0] = ea[1] = internal::random<Scalar>(0,Scalar(M_PI)); in eulerangles()
|
D | geo_quaternion.cpp | 33 if(theta_tot>M_PI) in check_slerp() 34 theta_tot = Scalar(2.*M_PI)-theta_tot; in check_slerp() 67 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)), in quaternion() 68 b = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); in quaternion() 85 if (refangle>Scalar(M_PI)) in quaternion() 86 refangle = Scalar(2)*Scalar(M_PI) - refangle; in quaternion() 159 q2 = AngleAxisx(b+Scalar(M_PI), v1.normalized()); in quaternion() 182 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); in mapQuaternion()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 170 -5*M_PI/4, 171 -4*M_PI/4, 172 -4*M_PI/4, 173 -3*M_PI/4, 174 -2*M_PI/4, 175 -1*M_PI/4, 176 1*M_PI/4, 177 2*M_PI/4, 178 3*M_PI/4, 179 4*M_PI/4, [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 170 -5*M_PI/4, 171 -4*M_PI/4, 172 -4*M_PI/4, 173 -3*M_PI/4, 174 -2*M_PI/4, 175 -1*M_PI/4, 176 1*M_PI/4, 177 2*M_PI/4, 178 3*M_PI/4, 179 4*M_PI/4, [all …]
|
/external/chromium_org/ppapi/examples/audio/ |
D | audio.cc | 79 double delta_l = 2.0 * M_PI * kLeftFrequency / sample_rate_ / in SineWaveCallback() 81 double delta_r = 2.0 * M_PI * kRightFrequency / sample_rate_ / in SineWaveCallback() 94 if (wave_l > 2.0 * M_PI) in SineWaveCallback() 95 wave_l -= 2.0 * M_PI; in SineWaveCallback() 97 if (wave_r > 2.0 * M_PI) in SineWaveCallback() 98 wave_r -= 2.0 * M_PI; in SineWaveCallback()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 44 #ifndef M_PI 45 #define M_PI 3.14159265358979323846 macro 95 static const float sin_constants[4] = { 2.0 * M_PI, 96 -8.0f * M_PI * M_PI * M_PI / (3 * 2 * 1), 97 32.0f * M_PI * M_PI * M_PI * M_PI * M_PI / (5 * 4 * 3 * 2 * 1), 98 -128.0f * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI / (7 * 6 * 5 * 4 * 3 * 2 * 1) 103 -4.0f * M_PI * M_PI / (2 * 1), 104 16.0f * M_PI * M_PI * M_PI * M_PI / (4 * 3 * 2 * 1), 105 -64.0f * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI / (6 * 5 * 4 * 3 * 2 * 1) 548 src0, i915_emit_const1f(p, 1.0f / (float) (M_PI * 2.0)), 0); in i915_translate_instruction() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 44 #ifndef M_PI 45 #define M_PI 3.14159265358979323846 macro 95 static const float sin_constants[4] = { 2.0 * M_PI, 96 -8.0f * M_PI * M_PI * M_PI / (3 * 2 * 1), 97 32.0f * M_PI * M_PI * M_PI * M_PI * M_PI / (5 * 4 * 3 * 2 * 1), 98 -128.0f * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI / (7 * 6 * 5 * 4 * 3 * 2 * 1) 103 -4.0f * M_PI * M_PI / (2 * 1), 104 16.0f * M_PI * M_PI * M_PI * M_PI / (4 * 3 * 2 * 1), 105 -64.0f * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI / (6 * 5 * 4 * 3 * 2 * 1) 548 src0, i915_emit_const1f(p, 1.0f / (float) (M_PI * 2.0)), 0); in i915_translate_instruction() [all …]
|
/external/eigen/doc/snippets/ |
D | Cwise_tan.cpp | 1 Array3d v(M_PI, M_PI/2, M_PI/3);
|
D | Cwise_cos.cpp | 1 Array3d v(M_PI, M_PI/2, M_PI/3);
|
D | Cwise_sin.cpp | 1 Array3d v(M_PI, M_PI/2, M_PI/3);
|
D | AngleAxis_mimic_euler.cpp | 2 m = AngleAxisf(0.25*M_PI, Vector3f::UnitX()) 3 * AngleAxisf(0.5*M_PI, Vector3f::UnitY()) 4 * AngleAxisf(0.33*M_PI, Vector3f::UnitZ());
|
/external/aac/libFDK/src/ |
D | FDK_trigFcts.cpp | 188 at = FL2FXCONST_DBL( +M_PI/2 / ATO_SCALE); in fixp_atan2() 195 at = FL2FXCONST_DBL( -M_PI/2 / ATO_SCALE); in fixp_atan2() 218 ret = at2 + FL2FXCONST_DBL( M_PI / AT2O_SCALE); in fixp_atan2() 220 ret = at2 - FL2FXCONST_DBL( M_PI / AT2O_SCALE); in fixp_atan2() 226 ret = FL2FXCONST_DBL( +M_PI/2 / AT2O_SCALE); in fixp_atan2() 229 ret = FL2FXCONST_DBL( -M_PI/2 / AT2O_SCALE); in fixp_atan2()
|
/external/pixman/pixman/ |
D | pixman-conical-gradient.c | 43 t += 2 * M_PI; in coordinates_to_parameter() 45 while (t >= 2 * M_PI) in coordinates_to_parameter() 46 t -= 2 * M_PI; in coordinates_to_parameter() 48 return 1 - t * (1 / (2 * M_PI)); /* Scale t to [0, 1] and in coordinates_to_parameter() 208 conical->angle = (pixman_fixed_to_double (angle) / 180.0) * M_PI; in pixman_image_create_conical_gradient()
|
/external/eigen/Eigen/src/Geometry/ |
D | EulerAngles.h | 58 res[0] = (res[0] > Scalar(0)) ? res[0] - Scalar(M_PI) : res[0] + Scalar(M_PI); in eulerAngles() 87 res[0] = (res[0] > Scalar(0)) ? res[0] - Scalar(M_PI) : res[0] + Scalar(M_PI); in eulerAngles()
|
/external/aac/libFDK/include/ |
D | FDK_trigFcts.h | 100 #ifndef M_PI 101 #define M_PI (3.14159265358979323846f) macro 152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI)); in fixp_sin_cos_residual_inline() 156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2; in fixp_sin_cos_residual_inline()
|
/external/chromium_org/third_party/webrtc/base/ |
D | mathutils.h | 16 #ifndef M_PI 17 #define M_PI 3.14159265359f macro
|
/external/libopus/celt/ |
D | modes.c | 72 #ifndef M_PI 73 #define M_PI 3.141592653 macro 374 …window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overl… in opus_custom_mode_create() 377 …window[i] = MIN32(32767,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_… in opus_custom_mode_create()
|
/external/chromium_org/third_party/opus/src/celt/ |
D | modes.c | 72 #ifndef M_PI 73 #define M_PI 3.141592653 macro 374 …window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overl… in opus_custom_mode_create() 377 …window[i] = MIN32(32767,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_… in opus_custom_mode_create()
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmspcs.c | 306 return (deg * M_PI) / 180.; in RADIANS() 321 h *= (180. / M_PI); in atan2deg() 351 cmsFloat64Number h = (LCh -> h * M_PI) / 180.0; in cmsLCh2Lab() 516 t = 0.627+(0.055*cos((Aveh-254)/(180/M_PI))- in cmsBFDdeltaE() 517 0.040*cos((2*Aveh-136)/(180/M_PI))+ in cmsBFDdeltaE() 518 0.070*cos((3*Aveh-31)/(180/M_PI))+ in cmsBFDdeltaE() 519 0.049*cos((4*Aveh+114)/(180/M_PI))- in cmsBFDdeltaE() 520 0.015*cos((5*Aveh-103)/(180/M_PI))); in cmsBFDdeltaE() 523 rh = -0.260*cos((Aveh-308)/(180/M_PI))- in cmsBFDdeltaE() 524 0.379*cos((2*Aveh-160)/(180/M_PI))- in cmsBFDdeltaE() [all …]
|
/external/libopus/celt/tests/ |
D | test_unit_mdct.c | 49 #ifndef M_PI 50 #define M_PI 3.141592653 macro 64 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; in check() 94 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; in check_inv()
|
/external/chromium_org/third_party/opus/src/celt/tests/ |
D | test_unit_mdct.c | 49 #ifndef M_PI 50 #define M_PI 3.141592653 macro 64 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; in check() 94 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; in check_inv()
|
/external/libvorbis/test/ |
D | util.c | 38 { data [k] = sin (2.0 * k * M_PI * 1.0 / 32.0 + 0.4) ; in gen_windowed_sine() 41 data [k] *= maximum * (0.5 - 0.5 * cos (2.0 * M_PI * k / ((len) - 1))) ; in gen_windowed_sine()
|
/external/tremolo/Tremolo/ |
D | os.h | 55 #ifndef M_PI 56 # define M_PI (3.1415926536f) macro
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
D | gensig.c | 68 double omega = 2 * M_PI / size; in GenerateTestSignalAndFFT() 95 double omega = 2 * M_PI / size; in GenerateTestSignalAndFFT() 128 double omega = 2 * M_PI / size; in GenerateTestSignalAndFFT()
|