Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 25 of 154) sorted by relevance

1234567

/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Dubgears.c131 static GLfloat angle = 0.0; variable
152 GLfloat angle, da; in gear() local
169 angle = i * 2.0 * M_PI / teeth; in gear()
170 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); in gear()
171 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); in gear()
173 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); in gear()
174 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), in gear()
183 angle = i * 2.0 * M_PI / teeth; in gear()
185 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); in gear()
186 glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5); in gear()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform.cpp20 static double _normalizeAngle(double angle, double anchorAngle) in _normalizeAngle() argument
22 if (std::isnan(angle) || std::isnan(anchorAngle)) { in _normalizeAngle()
26 angle = util::wrap(angle, -M_PI, M_PI); in _normalizeAngle()
27 if (angle == -M_PI) angle = M_PI; in _normalizeAngle()
28 double diff = std::abs(angle - anchorAngle); in _normalizeAngle()
29 if (std::abs(angle - util::M2PI - anchorAngle) < diff) { in _normalizeAngle()
30 angle -= util::M2PI; in _normalizeAngle()
32 if (std::abs(angle + util::M2PI - anchorAngle) < diff) { in _normalizeAngle()
33 angle += util::M2PI; in _normalizeAngle()
36 return angle; in _normalizeAngle()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/xcore/base/
H A Dxcam_common.h104 format_angle (float angle) in format_angle() argument
106 if (angle < 0.0f) in format_angle()
107 angle += 360.0f; in format_angle()
108 if (angle >= 360.0f) in format_angle()
109 angle -= 360.0f; in format_angle()
111 XCAM_ASSERT (angle >= 0.0f && angle < 360.0f); in format_angle()
112 return angle; in format_angle()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/qvm/
H A Dmat_operations.hpp1113 rot_mat_( V const & axis, Angle angle ) in rot_mat_()
1121 scalar_type const s = sin<Angle>(angle); in rot_mat_()
1122 scalar_type const c = cos<Angle>(angle); in rot_mat_()
1225 rot_mat( A const & axis, Angle angle ) in rot_mat() argument
1227 return qvm_detail::rot_mat_<Dim,A>(axis,angle); in rot_mat()
1238 set_rot( A & a, B const & axis, Angle angle )
1240 assign(a,rot_mat<mat_traits<A>::rows>(axis,angle));
1251 rotate( A & a, B const & axis, Angle angle )
1253 a *= rot_mat<mat_traits<A>::rows>(axis,angle);
1308 get( T const & angle ) in get()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_projection.hpp29 : point(point_), angle(angle_), tileDistance(std::move(tileDistance_)) in PlacedGlyph()
32 … : point(std::move(other.point)), angle(other.angle), tileDistance(std::move(other.tileDistance)) in PlacedGlyph()
35 … : point(std::move(other.point)), angle(other.angle), tileDistance(std::move(other.tileDistance)) in PlacedGlyph()
38 float angle; member
/OK3568_Linux_fs/kernel/lib/math/
H A Dcordic.c49 s32 angle, valtmp; in cordic_calc_iq() local
56 angle = 0; in cordic_calc_iq()
72 if (theta > angle) { in cordic_calc_iq()
75 angle += arctan_table[iter]; in cordic_calc_iq()
79 angle -= arctan_table[iter]; in cordic_calc_iq()
/OK3568_Linux_fs/kernel/drivers/iio/position/
H A Diqs624-pos.c30 u16 angle; member
57 u16 angle = event_data->ui_data; in iqs624_pos_notifier() local
68 angle = event_data->interval; in iqs624_pos_notifier()
81 } else if (iqs624_pos->angle_en && (angle != iqs624_pos->angle)) { in iqs624_pos_notifier()
88 iqs624_pos->angle = angle; in iqs624_pos_notifier()
201 iqs624_pos->angle = val; in iqs624_pos_write_event_config()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/serialassistant/
H A Drollswitchwidget.cpp27 QPoint getPoint(int r, int angle) in getPoint() argument
29 int x1 = r * qCos(angle * M_PI / 180); in getPoint()
30 int y1 = r * qSin(angle * M_PI /180); in getPoint()
125 QPointF RollSwitchWidget::getPoint(const QRect &rect, int angle) in getPoint() argument
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/external/camera_engine_rkaiq/rkisp_demo/demo/include/
H A Ddrmrga.h126 static inline void rga_set_rotation(rga_info_t *info, int angle) in rga_set_rotation() argument
128 if (angle == 90) in rga_set_rotation()
130 else if (angle == 180) in rga_set_rotation()
132 else if (angle == 270) in rga_set_rotation()
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/cairo/cairo/
H A DCVE-2019-6462.patch26 return table[i].angle;
31 angle = M_PI / i++;
32 error = _arc_error_normalized (angle);
36 return angle;
/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/qopenglwidget/
H A Dglwidget.cpp463 qreal angle = i * sectorAngle; in createGeometry() local
464 qreal x5 = 0.30 * sin(angle); in createGeometry()
465 qreal y5 = 0.30 * cos(angle); in createGeometry()
466 qreal x6 = 0.20 * sin(angle); in createGeometry()
467 qreal y6 = 0.20 * cos(angle); in createGeometry()
469 angle += sectorAngle; in createGeometry()
470 qreal x7 = 0.20 * sin(angle); in createGeometry()
471 qreal y7 = 0.20 * cos(angle); in createGeometry()
472 qreal x8 = 0.30 * sin(angle); in createGeometry()
473 qreal y8 = 0.30 * cos(angle); in createGeometry()
/OK3568_Linux_fs/app/forlinx/forlinx_qt/qopenglwidget/
H A Dglwidget.cpp463 qreal angle = i * sectorAngle; in createGeometry() local
464 qreal x5 = 0.30 * sin(angle); in createGeometry()
465 qreal y5 = 0.30 * cos(angle); in createGeometry()
466 qreal x6 = 0.20 * sin(angle); in createGeometry()
467 qreal y6 = 0.20 * cos(angle); in createGeometry()
469 angle += sectorAngle; in createGeometry()
470 qreal x7 = 0.20 * sin(angle); in createGeometry()
471 qreal y7 = 0.20 * cos(angle); in createGeometry()
472 qreal x8 = 0.30 * sin(angle); in createGeometry()
473 qreal y8 = 0.30 * cos(angle); in createGeometry()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/transform/
H A Dmatrix_transformers.hpp349 inline rad_rotate_transformer(CalculationType const& angle) in rad_rotate_transformer() argument
351 cos(angle), sin(angle), 0, in rad_rotate_transformer()
352 -sin(angle), cos(angle), 0, in rad_rotate_transformer()
384 inline rotate_transformer(CalculationType const& angle) in rotate_transformer() argument
388 >(detail::as_radian<DegreeOrRadian>::get(angle)) in rotate_transformer()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqquickgeomapgesturearea_p.h75 Q_PROPERTY(qreal angle READ angle) in Q_PROPERTY()
82 QGeoMapPinchEvent(const QPointF &center, qreal angle, in Q_PROPERTY()
85 : QObject(), m_center(center), m_angle(angle), in Q_PROPERTY()
96 qreal angle() const { return m_angle; } in angle() function
97 void setAngle(qreal angle) { m_angle = angle; } in setAngle() argument
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/
H A Ddrmrga.h231 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument
232 if (angle == 90) in rga_set_rotation()
234 else if (angle == 180) in rga_set_rotation()
236 else if (angle == 270) in rga_set_rotation()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/map/
H A Dcamera.hpp32 optional<double> angle; member
44 && a.angle == b.angle in operator ==()
/OK3568_Linux_fs/kernel/drivers/input/sensors/angle/
H A DKconfig7 tristate "angle device support"
15 tristate "angle kxtik"
21 tristate "angle lis3dh"
/OK3568_Linux_fs/kernel/drivers/iio/common/cros_ec_sensors/
H A DKconfig26 tristate "ChromeOS EC Sensor for lid angle"
29 Module to report the angle between lid and base for some
31 This module is loaded when the EC can calculate the angle between the base
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqdoublematrix4x4.cpp492 void QDoubleMatrix4x4::rotate(double angle, const QDoubleVector3D& vector) in rotate() argument
494 rotate(angle, vector.x(), vector.y(), vector.z()); in rotate()
497 void QDoubleMatrix4x4::rotate(double angle, double x, double y, double z) in rotate() argument
499 if (angle == 0.0) in rotate()
502 if (angle == 90.0 || angle == -270.0) { in rotate()
505 } else if (angle == -90.0 || angle == 270.0) { in rotate()
508 } else if (angle == 180.0 || angle == -180.0) { in rotate()
512 double a = qDegreesToRadians(angle); in rotate()
601 void QDoubleMatrix4x4::projectedRotate(double angle, double x, double y, double z) in projectedRotate() argument
605 if (angle == 0.0) in projectedRotate()
[all …]
/OK3568_Linux_fs/external/linux-rga/include/
H A Ddrmrga.h347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument
348 if (angle == 90) in rga_set_rotation()
350 else if (angle == 180) in rga_set_rotation()
352 else if (angle == 270) in rga_set_rotation()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/
H A Ddrmrga.h347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument
348 if (angle == 90) in rga_set_rotation()
350 else if (angle == 180) in rga_set_rotation()
352 else if (angle == 270) in rga_set_rotation()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/
H A Ddrmrga.h347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument
348 if (angle == 90) in rga_set_rotation()
350 else if (angle == 180) in rga_set_rotation()
352 else if (angle == 270) in rga_set_rotation()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/
H A Ddrmrga.h347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument
348 if (angle == 90) in rga_set_rotation()
350 else if (angle == 180) in rga_set_rotation()
352 else if (angle == 270) in rga_set_rotation()
/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkbgeom.h105 short angle; member
121 short angle; member
138 short angle; member
160 short angle; member
177 short angle; member
224 short angle; member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dquads.cpp69 const float angle = shapedIcon.angle(); in getIconQuad() local
71 if (angle) { in getIconQuad()
73 float angle_sin = std::sin(angle); in getIconQuad()
74 float angle_cos = std::cos(angle); in getIconQuad()

1234567