OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:M_PI
(Results
101 - 125
of
307
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium_org/third_party/mesa/src/src/mesa/main/
compiler.h
344
#ifndef
M_PI
345
#define
M_PI
(3.14159265358979323846)
/external/eigen/unsupported/test/
matrix_function.cpp
116
if (maxImagPartOfSpectrum >= 0.9 *
M_PI
)
117
scaledA = A * 0.9 *
M_PI
/ maxImagPartOfSpectrum;
/external/mesa3d/src/mesa/main/
compiler.h
344
#ifndef
M_PI
345
#define
M_PI
(3.14159265358979323846)
/frameworks/av/services/audioflinger/tests/
test_utils.h
194
double y = sin(2. *
M_PI
* freq * t);
220
double y = sin(2. *
M_PI
* (k * t + minfreq) * t);
/frameworks/base/libs/hwui/
AmbientShadow.cpp
28
// For the whole polygon, the sum of all the deltas b/t normals is 2 *
M_PI
,
33
#define CORNER_RADIANS_DIVISOR (
M_PI
/ EXTRA_CORNER_VERTEX_PER_PI)
43
#define EDGE_RADIANS_DIVISOR (
M_PI
/ EXTRA_EDGE_VERTEX_PER_PI)
89
// The output is ranged from 0 to
M_PI
.
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
datalogger_outputs.c
185
*mag_north = atan2f((float) t1, (float) t2) * 180.f / (float)
M_PI
;
191
*true_north = atan2f((float) t1, (float) t2) * 180.f / (float)
M_PI
;
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
MatrixLogarithm.h
14
#ifndef
M_PI
15
#define
M_PI
3.141592653589793238462643383279503L
117
int unwindingNumber = static_cast<int>(ceil((imag(logA11 - logA00) -
M_PI
) / (2*
M_PI
)));
119
result(0,1) = A(0,1) * (Scalar(2) * numext::atanh2(y,x) + Scalar(0,2*
M_PI
*unwindingNumber)) / y;
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
cmssm.c
108
a = (atan2(y, x) * 180.0) /
M_PI
;
150
sin_alpha = sin((
M_PI
* sp ->alpha) / 180.0);
151
cos_alpha = cos((
M_PI
* sp ->alpha) / 180.0);
152
sin_theta = sin((
M_PI
* sp ->theta) / 180.0);
153
cos_theta = cos((
M_PI
* sp ->theta) / 180.0);
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c
88
#define ANGLE_FROM_FLOAT(x) (Angle)((x)*ANGLE_PI/
M_PI
)
89
#define ANGLE_TO_FLOAT(x) ((x)*
M_PI
/ANGLE_PI)
105
double radians = nn*
M_PI
/ANGLE_PI;
/development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c
93
#define ANGLE_FROM_FLOAT(x) (Angle)((x)*ANGLE_PI/
M_PI
)
94
#define ANGLE_TO_FLOAT(x) ((x)*
M_PI
/ANGLE_PI)
110
double radians = nn*
M_PI
/ANGLE_PI;
/external/chromium_org/third_party/speex/libspeex/
quant_lsp.c
40
#ifndef
M_PI
41
#define
M_PI
3.14159265358979323846
67
#define LSP_PI
M_PI
lsp.c
91
#ifndef
M_PI
92
#define
M_PI
3.14159265358979323846 /* pi */
633
if (lsp[len-1]>LSP_SCALING*(
M_PI
-margin))
634
lsp[len-1]=LSP_SCALING*(
M_PI
-margin);
/external/libvorbis/lib/
lsp.c
68
float wdel=
M_PI
/ln;
150
for(i=0;i<m;i++)ilsp[i]=vorbis_coslook_i(lsp[i]/
M_PI
*65536.f+.5f);
251
float wdel=
M_PI
/ln;
/external/speex/libspeex/
quant_lsp.c
40
#ifndef
M_PI
41
#define
M_PI
3.14159265358979323846
67
#define LSP_PI
M_PI
lsp.c
91
#ifndef
M_PI
92
#define
M_PI
3.14159265358979323846 /* pi */
633
if (lsp[len-1]>LSP_SCALING*(
M_PI
-margin))
634
lsp[len-1]=LSP_SCALING*(
M_PI
-margin);
/device/generic/goldfish/camera/fake-pipeline2/
Scene.cpp
370
const float Scene::kHorizShakeFreq1 = 2 *
M_PI
* 2 / 1e9; // 2 Hz
371
const float Scene::kHorizShakeFreq2 = 2 *
M_PI
* 13 / 1e9; // 13 Hz
372
const float Scene::kVertShakeFreq1 = 2 *
M_PI
* 3 / 1e9; // 3 Hz
373
const float Scene::kVertShakeFreq2 = 2 *
M_PI
* 11 / 1e9; // 1 Hz
/external/chromium_org/content/browser/device_sensors/
data_fetcher_shared_memory_mac.cc
63
const double kRad2deg = 180.0 /
M_PI
;
/external/chromium_org/content/browser/renderer_host/input/
motion_event_web.cc
5
// MSVC++ requires this to be set before any other includes to get
M_PI
.
125
*
M_PI
/ 180.f;
/external/chromium_org/ui/compositor/
debug_utils.cc
5
#define _USE_MATH_DEFINES // For VC++ to get
M_PI
. This has to be first.
96
*out << std::acos(decomp.quaternion[3]) * 360.0 /
M_PI
;
/external/chromium_org/ui/events/gestures/
motion_event_aura_unittest.cc
5
// MSVC++ requires this to be set before any other includes to get
M_PI
.
265
EXPECT_FLOAT_EQ(rotation_angle, event.GetOrientation(0) * 180 /
M_PI
+ 90);
279
EXPECT_FLOAT_EQ(rotation_angle, event.GetOrientation(1) * 180 /
M_PI
);
291
rotation_angle, raw_clone_aura->GetOrientation(1) * 180 /
M_PI
);
306
EXPECT_FLOAT_EQ(rotation_angle, event.GetOrientation(1) * 180 /
M_PI
);
/external/chromium_org/ui/gfx/
transform.cc
5
// MSVC++ requires this to be set before any other includes to get
M_PI
.
31
double radians = degrees *
M_PI
/ 180;
99
double radians = degrees *
M_PI
/ 180;
116
double radians = degrees *
M_PI
/ 180;
135
double radians = degrees *
M_PI
/ 180;
/external/chromium_org/ui/ozone/demo/
ozone_demo.cc
144
float fraction = (sinf(iteration_ * 2 *
M_PI
/ kAnimationSteps) + 1) / 2;
/hardware/ti/omap4xxx/camera/
SensorListener.cpp
36
static const float RADIANS_2_DEG = (float) (180 /
M_PI
);
/external/aac/libSYS/include/
genericStds.h
105
#ifndef
M_PI
106
#define
M_PI
3.14159265358979323846 /*! Pi. Only used in example projects. */
/external/chromium_org/media/base/
sinc_resampler_unittest.cc
5
// MSVC++ requires this to be set before any other includes to get
M_PI
.
183
destination[i] = sin(2 *
M_PI
* (kMinFrequency * t + (k_ / 2) * t * t));
252
resampler.SetRatio(
M_PI
);
Completed in 1621 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>