OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:M_PI
(Results
1 - 25
of
124
) sorted by null
1
2
3
4
5
/external/flac/libFLAC/
window.c
43
#ifndef
M_PI
45
#define
M_PI
3.14159265358979323846
74
window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N+0.5f) + 0.38f * cos(2.0f *
M_PI
* ((float)n/(float)N+0.5f)));
83
window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f *
M_PI
* n / N) + 0.08f * cos(4.0f *
M_PI
* n / N));
93
window[n] = (FLAC__real)(0.35875f - 0.48829f * cos(2.0f *
M_PI
* n / N) + 0.14128f * cos(4.0f *
M_PI
* n / N) - 0.01168f * cos(6.0f *
M_PI
* n / N));
115
window[n] = (FLAC__real)(1.0f - 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 * n / N) + 0.0322f * cos(8.0f * M_PI * n / N))
[
all
...]
/cts/apps/CtsVerifier/jni/audioquality/
GenerateSinusoid.cpp
50
double arg =
M_PI
* 2.0 * freq / sampleRate;
57
float gain = (0.5 - (0.5 * cos((0.5 + i) *
M_PI
/ numRamp)));
62
*
M_PI
/ numRamp)));
Window.cpp
32
double arg =
M_PI
* 2.0 / size;
/external/tremolo/Tremolo/
os.h
55
#ifndef
M_PI
56
# define
M_PI
(3.1415926536f)
/device/samsung/crespo/libsensors/
sensors.h
103
#define RANGE_GYRO (2000.0f*(float)
M_PI
/180.0f)
104
#define CONVERT_GYRO ((70.0f / 1000.0f) * ((float)
M_PI
/ 180.0f))
/external/srec/srec/include/
all_defs.h
105
#ifndef
M_PI
106
#define
M_PI
3.14159265358979323846
107
#endif /*
M_PI
*/
/frameworks/base/opengl/libagl/
fp.cpp
58
const float A = 1.0f / (2.0f*
M_PI
);
76
return sinef(x + float(
M_PI
/2));
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp
43
const double RAD2DEG = 180.0 /
M_PI
;
52
static inline double DegToRad(double deg) { return (deg *
M_PI
) / 180.0; }
53
static inline double RadToDeg(double deg) { return (deg * 180.0) /
M_PI
; }
/system/media/mca/filterfw/native/core/
statistics.cpp
43
pdf_denom_ = sqrtf(
M_PI
* exp_denom_);
/device/moto/stingray/sensors/
nusensors.h
109
#define MAX_RANGE_G (2000.0f * ((float)(
M_PI
/180.0f)))
110
#define CONVERT_G ((70.0f/1000.0f) * ((float)(
M_PI
/180.0f)))
/hardware/invensense/mlsdk/mllite/
mlMathFunc.c
346
/** Wraps angle from (-
M_PI
,
M_PI
]
348
* @return Wrapped angle from (-
M_PI
,
M_PI
]
352
if (ang >
M_PI
)
353
return ang - 2 * (float)
M_PI
;
354
else if (ang <= -(float)
M_PI
)
355
return ang + 2 * (float)
M_PI
;
361
* is between [-
M_PI
,
M_PI
]
[
all
...]
/hardware/invensense/mlsdk/platform/include/
mlmath.h
28
// This define makes Microsoft pickup things like
M_PI
90
#ifndef
M_PI
91
#define
M_PI
3.14159265358979
/external/quake/quake/src/QW/client/
mathlib.h
30
#ifndef
M_PI
31
#define
M_PI
3.14159265358979323846 // matches value in gcc v2 math.h
/external/quake/quake/src/WinQuake/
mathlib.h
30
#ifndef
M_PI
31
#define
M_PI
3.14159265358979323846 // matches value in gcc v2 math.h
chase.cpp
87
r_refdef.viewangles[PITCH] = -atan(stop[2] / dist) /
M_PI
* 180;
snd_android.cpp
480
static const float p = 2 *
M_PI
* 440.0f / SAMPLE_RATE;
486
const float A = 1.0f / (2.0f*
M_PI
);
515
if (left > 2*
M_PI
) {
516
left -= 2*
M_PI
;
522
if (right > 2*
M_PI
) {
523
right -= 2*
M_PI
;
/external/speex/libspeex/
math_approx.h
45
#define spx_cos_norm(x) (cos((.5f*
M_PI
)*(x)))
305
#ifndef
M_PI
306
#define
M_PI
3.14159265358979323846 /* pi */
323
x =
M_PI
-x;
scal.c
105
st->vorbis_win[i] = sin(.5*
M_PI
* sin(
M_PI
*i/(2*frame_size))*sin(
M_PI
*i/(2*frame_size)) );
231
float coef =
M_PI
*0.075063 * 0.93763 * amount * .8 * 0.707;
/external/chromium/chrome/browser/ui/gtk/
theme_install_bubble_view_gtk.cc
172
M_PI
, 3 * M_PI_2);
178
M_PI_2,
M_PI
);
/bionic/libm/bsdsrc/
b_tgamma.c
291
z = sin(
M_PI
*z);
293
z = cos(
M_PI
*(0.5-z));
300
lsine = __log__D(
M_PI
/z); /* = TRUNC(log(u)) + small */
315
return (
M_PI
/ (y*z));
/frameworks/base/cmds/stagefright/
SineSource.cpp
76
const double k = kFrequency / mSampleRate * (2.0 *
M_PI
);
/frameworks/base/services/sensorservice/
OrientationSensor.cpp
44
const float rad2deg = 180 /
M_PI
;
/external/webkit/Source/JavaScriptCore/wtf/
MathExtras.h
51
#ifndef
M_PI
55
const double piDouble =
M_PI
;
56
const float piFloat = static_cast<float>(
M_PI
);
/frameworks/base/libs/rs/
rsScriptC_Lib.cpp
41
const float A = 1.0f / (2.0f *
M_PI
);
58
x += float(
M_PI
/ 2);
60
const float A = 1.0f / (2.0f *
M_PI
);
/frameworks/base/libs/rs/scriptc/
rs_quaternion.rsh
91
rot *= (float)(
M_PI
/ 180.0f) * 0.5f;
215
scale = sin(
M_PI
* (0.5f - t));
216
invScale = sin(
M_PI
* t);
Completed in 588 milliseconds
1
2
3
4
5