1 /* Copyright (C) 2016 SurroundIO
2 * Author: Martin Kelly <martin@surround.io>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
20 #ifndef _GST_AHSCAPS_H__
21 #define _GST_AHSCAPS_H__
25 #define GST_SENSOR_FORMATS_ALL "{" \
27 "ambient-temperature, " \
28 "game-rotation-vector, " \
29 "geomagnetic-rotation-vector, " \
32 "gyroscope-uncalibrated, " \
35 "linear-acceleration, " \
37 "magnetic-field-uncalibrated, " \
41 "relative-humidity, " \
43 "significant-motion, " \
48 #define GST_SENSOR_CAPS_MAKE(format) \
49 "application/sensor, " \
50 "type = (string) " format
52 typedef struct GstAHSAccelerometerValues
57 } GstAHSAccelerometerValues;
59 typedef struct GstAHSAmbientTemperatureValues
62 } GstAHSAmbientTemperatureValues;
64 typedef struct GstAHSGameRotationVectorValues
71 } GstAHSGameRotationVectorValues;
73 typedef struct GstAHSGeomagneticRotationVectorValues
80 } GstAHSGeomagneticRotationVectorValues;
82 typedef struct GstAHSGravityValues
87 } GstAHSGravityValues;
89 typedef struct GstAHSGyroscopeValues
94 } GstAHSGyroscopeValues;
96 typedef struct GstAHSGyroscopeUncalibratedValues
104 } GstAHSGyroscopeUncalibratedValues;
106 typedef struct GstAHSHeartRateValues
109 } GstAHSHeartRateValues;
111 typedef struct GstAHSLightValues
116 typedef struct GstAHSLinearAccelerationValues
121 } GstAHSLinearAccelerationValues;
123 typedef struct GstAHSMagneticFieldValues
128 } GstAHSMagneticFieldValues;
130 typedef struct GstAHSMagneticFieldUncalibratedValues
138 } GstAHSMagneticFieldUncalibratedValues;
140 typedef struct GstAHSOrientationValues
145 } GstAHSOrientationValues;
147 typedef struct GstAHSProximity
150 } GstAHSProximityValues;
152 typedef struct GstAHSPressureValues
155 } GstAHSPressureValues;
157 typedef struct GstAHSRelativeHumidityValues
160 } GstAHSRelativeHumidityValues;
162 typedef struct GstAHSRotationVectorValues
169 } GstAHSRotationVectorValues;
171 typedef struct GstAHSStepCounterValues
174 } GstAHSStepCounterValues;
176 typedef struct GstAHSStepDetectorValues
179 } GstAHSStepDetectorValues;