Home
last modified time | relevance | path

Searched refs:M_PI (Results 1 – 25 of 64) sorted by relevance

123

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dconstants.hpp29 constexpr double DEG2RAD = M_PI / 180.0;
30 constexpr double RAD2DEG = 180.0 / M_PI;
31 constexpr double M2PI = M_PI * 2;
36 constexpr double PITCH_MAX = M_PI / 3;
H A Dprojection.hpp68 …std::atan(std::exp(projectedMeters.northing() / util::EARTH_RADIUS_M)) - (M_PI / 2.0)) * util::RAD… in latLngForProjectedMeters()
89 …util::DEGREES_MAX / M_PI * std::atan(std::exp((util::LONGITUDE_MAX - p2.y) * util::DEG2RAD)) - 90.… in unproject()
100 …util::LONGITUDE_MAX - util::RAD2DEG * std::log(std::tan(M_PI / 4 + latitude * M_PI / util::DEGREES… in project_()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dbend.c169 expct = 2. * M_PI * (double) stepSize / (double) p->fftFrameSize; in flow()
195 progress = 1 - cos(M_PI * progress); in flow()
204 window = -.5 * cos(2 * M_PI * k / (double) p->fftFrameSize) + .5; in flow()
229 qpd = tmp / M_PI; in flow()
233 tmp -= M_PI * (double) qpd; in flow()
236 tmp = p->ovsamp * tmp / (2. * M_PI); in flow()
263 tmp = 2. * M_PI * tmp / p->ovsamp; /* take p->ovsamp into account */ in flow()
280 -.5 * cos(2. * M_PI * (double) k / (double) p->fftFrameSize) + .5; in flow()
H A Deffects_i_dsp.c259 double x = 2 * M_PI * i / m; in lsx_apply_hann_f()
268 double x = 2 * M_PI * i / m; in lsx_apply_hann()
277 double x = 2 * M_PI * i / m; in lsx_apply_hamming()
294 double x = 2 * M_PI * i / m; in lsx_apply_blackman()
303 double x = 2 * M_PI * i / m; in lsx_apply_blackman_nutall()
369 double z = i - .5 * m, x = z * M_PI, y = z * mult1; in lsx_make_lpf()
382 att = att < 60? (att - 7.95) / (2.285 * M_PI * 2) : in lsx_kaiser_params()
439 double detect = 2 * M_PI; in lsx_fir_to_phase()
445 detect = M_PI; in lsx_fir_to_phase()
480 for (i = 0; i <= (int)(pi_wraps[work_len >> 1] / M_PI + .5); ++i) { in lsx_fir_to_phase()
[all …]
H A Dband.h41 p->a2 = exp(-2 * M_PI * bw_Hz / effp->in_signal.rate);
42 p->a1 = -4 * p->a2 / (1 + p->a2) * cos(2 * M_PI * p->fc / effp->in_signal.rate);
H A Dutil.h155 #ifndef M_PI
156 #define M_PI 3.14159265358979323846 macro
H A Dbiquads.c180 w0 = 2 * M_PI * p->fc / effp->in_signal.rate; in start()
184 if (w0 > M_PI) { in start()
213 alpha = tan(M_PI * p->width / effp->in_signal.rate); in start()
379 double y = 2 * M_PI * 1000 / effp->in_signal.rate; in start()
H A Dmcompand_xover.h43 double w0 = 2 * M_PI * frequency / effp->in_signal.rate; in crossover_setup()
48 if (w0 > M_PI) { in crossover_setup()
H A Dspectrogram.c327 *p++ = cos(2 * M_PI * j * i / n); in rdft_init()
328 *p++ = sin(2 * M_PI * j * i / n); in rdft_init()
636 case 2: c[j] = sin((7 * x - phase_num) * M_PI / 2); break; in make_palette()
637 case 3: c[j] = cos((7 * x - phase_num) * M_PI / 2); break; in make_palette()
649 else if (x < .73) c[0] = 1 * sin((x - .13) / .60 * M_PI / 2); in make_palette()
652 else if (x < .91) c[1] = 1 * sin((x - .60) / .31 * M_PI / 2); in make_palette()
654 if (x < .60) c[2] = .5 * sin((x - .00) / .60 * M_PI); in make_palette()
H A Dsynth.c351 d = (d * cos(2 * M_PI * decay_f / effp->in_signal.rate) - 1) / (d - 1); in start()
365 chan->c2 = exp(-2 * M_PI * 10 / effp->in_signal.rate); in start()
386 chan->buffer[j] = sin(2 * M_PI * j / chan->buffer_len); in start()
413 log(chan->c0)/ -2 / M_PI * effp->in_signal.rate, in start()
492 synth_out = sin(2 * M_PI * phase); in flow()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/poly2tri/common/
H A Dutils.h41 #ifndef M_PI
42 #define M_PI (3.14159265358979323846) macro
47 const double PI_3div4 = 3 * M_PI / 4;
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Dubgears.c61 #ifndef M_PI
62 #define M_PI 3.14159265 macro
160 da = 2.0 * M_PI / teeth / 4.0; in gear()
169 angle = i * 2.0 * M_PI / teeth; in gear()
183 angle = i * 2.0 * M_PI / teeth; in gear()
201 angle = i * 2.0 * M_PI / teeth; in gear()
214 da = 2.0 * M_PI / teeth / 4.0; in gear()
216 angle = i * 2.0 * M_PI / teeth; in gear()
232 angle = i * 2.0 * M_PI / teeth; in gear()
271 angle = i * 2.0 * M_PI / teeth; in gear()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcheck_max_angle.cpp59 angleDelta = std::fabs(std::fmod(angleDelta + 3 * M_PI, M_PI * 2) - M_PI); in checkMaxAngle()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/serialassistant/
H A Drollswitchwidget.cpp29 int x1 = r * qCos(angle * M_PI / 180); in getPoint()
30 int y1 = r * qSin(angle * M_PI /180); in getPoint()
133 int x1 = r * qCos(angle * M_PI / 180); in getPoint()
134 int y1 = r * qSin(angle * M_PI /180); in getPoint()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp40 const double groundAngle = M_PI / 2.0 + getPitch(); in getProjMatrix()
41 …faceDistance = std::sin(halfFov) * getCameraToCenterDistance() / std::sin(M_PI - groundAngle - hal… in getProjMatrix()
45 …const double furthestDistance = std::cos(M_PI / 2 - getPitch()) * topHalfSurfaceDistance + getCame… in getProjMatrix()
112 angleOrientation += M_PI / 2.0f; in getNorthOrientationAngle()
114 angleOrientation += M_PI; in getNorthOrientationAngle()
116 angleOrientation -= M_PI / 2.0f; in getNorthOrientationAngle()
137 util::RAD2DEG * (2 * std::atan(std::exp(y / Cc)) - 0.5 * M_PI), in getLatLng()
H A Dtransform.cpp26 angle = util::wrap(angle, -M_PI, M_PI); in _normalizeAngle()
27 if (angle == -M_PI) angle = M_PI; in _normalizeAngle()
144 state.angle = util::wrap(util::interpolate(startAngle, angle, t), -M_PI, M_PI); in easeTo()
305 state.angle = util::wrap(util::interpolate(startAngle, angle, k), -M_PI, M_PI); in flyTo()
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/cairo/cairo/
H A DCVE-2019-6461.patch19 if (angle_max - angle_min > 2 * M_PI * MAX_FULL_CIRCLES) {
20 angle_max = fmod (angle_max - angle_min, 2 * M_PI);
H A DCVE-2019-6462.patch19 { M_PI / 11.0, 9.81410988043554039085e-09 },
31 angle = M_PI / i++;
/OK3568_Linux_fs/buildroot/package/dieharder/
H A D0003-Add-_GNU_SOURCE-for-uint-and-M_PI-with-musl-libc.patch4 Subject: [PATCH] Add _GNU_SOURCE for uint and M_PI with musl libc
7 to provide uint type and M_PI macro
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqwebmercator.cpp53 const double pi = M_PI; in coordToMercator()
72 const double pi = M_PI; in mercatorToCoord()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/geojsonvt/
H A Dconvert.hpp19 const double sine = std::sin(p.y * M_PI / 180); in operator ()()
22 std::max(std::min(0.5 - 0.25 * std::log((1 + sine) / (1 - sine)) / M_PI, 1.0), 0.0); in operator ()()
/OK3568_Linux_fs/buildroot/dl/sox/git/test/
H A Dmodel.c138 thx = cos(frq*M_PI); in bigcalc()
139 thy = sin(frq*M_PI); in bigcalc()
147 a = 0.5*(1 + cos(M_PI * u)); in bigcalc()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dmath.hpp30 static_cast<T>(2 * M_PI - c[0]), in flip()
31 static_cast<T>(2 * M_PI - c[1]) in flip()
H A Dgeo.cpp14 const double n = M_PI - 2.0 * M_PI * y / std::pow(2.0, z); in lat_()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/tile/
H A Dgeometry_tile_data.cpp111 360.0 / M_PI * std::atan(std::exp(y2 * M_PI / 180)) - 90.0 in convertGeometry()

123