/external/tesseract/ccstruct/ |
D | linlsq.cpp | 27 #define M_PI 3.14159265359 macro 209 if (error > M_PI / 2) { in fit() 210 error -= M_PI; in fit() 211 angle += M_PI; in fit() 213 if (error < -M_PI / 2) { in fit() 214 error += M_PI; in fit() 215 angle -= M_PI; in fit() 217 if (error > M_PI * pdlsq_threshold_angleavg in fit() 218 || error < -M_PI * pdlsq_threshold_angleavg) in fit() 221 ang = (inT16) (angle * MODULUS / (2 * M_PI)); in fit()
|
/external/webkit/WebCore/platform/wx/wxcode/win/ |
D | 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; } in DegToRad() 53 static inline double RadToDeg(double deg) { return (deg * 180.0) / M_PI; } in RadToDeg()
|
/external/tremor/Tremor/ |
D | os.h | 35 #ifndef M_PI 36 # define M_PI (3.1415926536f) macro
|
/external/speex/libspeex/ |
D | 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 */ macro 323 x = M_PI-x; in spx_cos()
|
D | 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)) ); in speex_decorrelate_new() 231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707; in speex_decorrelate()
|
D | lsp.c | 91 #ifndef M_PI 92 #define M_PI 3.14159265358979323846 /* pi */ macro 633 if (lsp[len-1]>LSP_SCALING*(M_PI-margin)) in lsp_enforce_margin() 634 lsp[len-1]=LSP_SCALING*(M_PI-margin); in lsp_enforce_margin()
|
D | quant_lsp.c | 40 #ifndef M_PI 41 #define M_PI 3.14159265358979323846 macro 67 #define LSP_PI M_PI
|
D | resample.c | 81 #ifndef M_PI 82 #define M_PI 3.14159263 macro 281 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); in sinc() 294 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); in sinc()
|
D | mdf.c | 79 #ifndef M_PI 80 #define M_PI 3.14159265358979323846 macro 479 st->window[i] = .5-.5*cos(2*M_PI*i/N); in speex_echo_state_init_mc()
|
D | preprocess.c | 71 #ifndef M_PI 72 #define M_PI 3.14159263 macro
|
D | sb_celp.c | 107 #ifndef M_PI 108 #define M_PI 3.14159265358979323846 /* pi */ macro
|
D | nb_celp.c | 57 #ifndef M_PI 58 #define M_PI 3.14159265358979323846 /* pi */ macro
|
/external/srec/srec/include/ |
D | all_defs.h | 105 #ifndef M_PI 106 #define M_PI 3.14159265358979323846 macro
|
/external/webkit/JavaScriptCore/wtf/ |
D | MathExtras.h | 53 #ifndef M_PI 57 const double piDouble = M_PI; 58 const float piFloat = static_cast<float>(M_PI);
|
/external/webkit/WebCore/platform/graphics/cairo/ |
D | GraphicsContextCairo.cpp | 59 #ifndef M_PI 60 #define M_PI 3.14159265358979323846 macro 282 cairo_arc(cr, 0., 0., 1., 0., 2 * M_PI); in drawEllipse() 322 …e(cr, x + hRadius, (y + vRadius) * reverseScaleFactor, hRadius, -fa * M_PI/180, -falen * M_PI/180); in strokeArc() 349 distance = static_cast<int>((M_PI * hRadius) / 2.0); in strokeArc() 351 … distance = static_cast<int>((M_PI * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0)) / 2.0); in strokeArc()
|
/external/webkit/WebCore/platform/graphics/filters/ |
D | FEColorMatrix.cpp | 95 double cosHue = cos(hue * M_PI / 180); in huerotate() 96 double sinHue = sin(hue * M_PI / 180); in huerotate()
|
/external/webkit/WebCore/platform/graphics/qt/ |
D | PathQt.cpp | 47 #ifndef M_PI 48 # define M_PI 3.14159265358979323846 macro 239 #define DEGREES(t) ((t) * 180.0 / M_PI)
|
D | GraphicsContextQt.cpp | 66 #ifndef M_PI 67 #define M_PI 3.14159265358979323846 macro 1036 m_data->p()->rotate(180/M_PI*radians); in rotate() 1040 m_data->currentPath = m_data->currentPath * matrix.rotate(-180/M_PI*radians); in rotate()
|
/external/tesseract/training/ |
D | mftraining.cpp | 60 #ifndef M_PI 61 #define M_PI 3.14159265358979323846 macro 138 double angle = OrientationOf(prototype->Mean) * 2 * M_PI; in DisplayProtoList()
|
/external/srec/srec/cfront/ |
D | frontobj.c | 498 f = (2 * M_PI) / win_len; in hamming_window() 626 f = (float)(M_PI / num_fb); in setup_cep_object()
|
/external/tesseract/liblept/ |
D | freetype.c | 314 angle = angle * (M_PI/180); in pixWriteTTFText()
|
/external/qemu/android/skin/ |
D | trackball.c | 106 #define ANGLE_FACTOR (M_PI/200)
|
/external/bluetooth/glib/ |
D | ChangeLog.pre-2-0 | 5605 G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
|
/external/webkit/JavaScriptCore/ |
D | ChangeLog-2007-10-14 | 1720 Add custom piDouble and piFloat constants to use instead of M_PI.
|
/external/webkit/WebCore/ |
D | ChangeLog-2007-10-14 | 19862 Use new piDouble and piFloat constants instead of M_PI.
|