/frameworks/rs/driver/runtime/ |
rs_cl.c | 345 return acos(v) / M_PI; 356 return asin(v) / M_PI; 370 return atan(v) / M_PI; 376 return atan2(y, x) / M_PI; 396 return cos(v * M_PI); 625 return sin(v * M_PI); 636 return tan(v * M_PI); 778 return radians * (180.f / M_PI); 781 return radians * (180.f / M_PI); 784 return radians * (180.f / M_PI); [all...] |
/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 | 117 if (maxImagPartOfSpectrum >= 0.9 * M_PI) 118 scaledA = A * 0.9 * M_PI / maxImagPartOfSpectrum;
|
/external/mesa3d/src/mesa/main/ |
compiler.h | 344 #ifndef M_PI 345 #define M_PI (3.14159265358979323846)
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixLogarithm.h | 14 #ifndef M_PI 15 #define M_PI 3.141592653589793238462643383279503L 129 int unwindingNumber = static_cast<int>(ceil((imag(logA11 - logA00) - M_PI) / (2*M_PI))); 131 result(0,1) = A(0,1) * (Scalar(2) * atanh(z) + Scalar(0,2*M_PI*unwindingNumber)) / (A(1,1) - A(0,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/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;
|
envelope.c | 48 e->mdct_win[i]=sin(i/(n-1.)*M_PI); 65 e->band[j].window[i]=sin((i+.5)/n*M_PI);
|
/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);
|
resample.c | 81 #ifndef M_PI 82 #define M_PI 3.14159263 285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); 298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); [all...] |
/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
|
/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/ui/gfx/ |
interpolated_transform.cc | 9 #ifndef M_PI 10 #define M_PI 3.14159265358979323846
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 387 float rad2deg = (float)(180.0 / M_PI);
417 float rad2deg = (float)(180.0 / M_PI);
448 float rad2deg = (float)(180.0 / M_PI);
|
/external/chromium_org/media/base/ |
sinc_resampler_unittest.cc | 5 // MSVC++ requires this to be set before any other includes to get M_PI. 261 destination[i] = sin(2 * M_PI * (kMinFrequency * t + (k_ / 2) * t * t)); 330 resampler.SetRatio(M_PI);
|
/external/chromium_org/skia/ext/ |
image_operations.cc | 58 float xpi = x * static_cast<float>(M_PI); 84 const float xpi = x * static_cast<float>(M_PI);
|
/frameworks/rs/ |
rsMatrix4x4.cpp | 209 rot *= float(M_PI / 180.0f); 295 float top = near * tan((float) (fovy * M_PI / 360.0f));
|
/frameworks/rs/scriptc/ |
rs_types.rsh | 50 #define M_PI 3.141592653589793238462643383279502884f /* pi */
|
/prebuilts/sdk/renderscript/include/ |
rs_types.rsh | 50 #define M_PI 3.141592653589793238462643383279502884f /* pi */
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
colorcheckertest.cpp | 159 / (M_PI / 4); 298 * M_PI / 180.0f; 522 ang1 = static_cast<float>(line1[0]) / 180.0f * M_PI; 523 ang2 = static_cast<float>(line2[0]) / 180.0f * M_PI; [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1);
|
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 217 float radians = 45.0f * (M_PI / 180.0f);
|