Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 195) sorted by relevance

12345678

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c49 void inv_get_sensor_type_gyro_raw_short(short *values, inv_time_t *timestamp) in inv_get_sensor_type_gyro_raw_short() argument
53 if (values) in inv_get_sensor_type_gyro_raw_short()
54 memcpy(values, &pg->raw, sizeof(short) * 3); in inv_get_sensor_type_gyro_raw_short()
64 void inv_get_sensor_type_gyro_raw_body_float(float *values, in inv_get_sensor_type_gyro_raw_body_float() argument
76 if (values) { in inv_get_sensor_type_gyro_raw_body_float()
77 values[0] = inv_q16_to_float(raw_body[0]); in inv_get_sensor_type_gyro_raw_body_float()
78 values[1] = inv_q16_to_float(raw_body[1]); in inv_get_sensor_type_gyro_raw_body_float()
79 values[2] = inv_q16_to_float(raw_body[2]); in inv_get_sensor_type_gyro_raw_body_float()
91 void inv_get_sensor_type_gyro_float(float *values, int8_t *accuracy, in inv_get_sensor_type_gyro_float() argument
97 values[0] = (float)gyro[0] / 65536.f; in inv_get_sensor_type_gyro_float()
[all …]
Ddatalogger_outputs.h23 void inv_get_sensor_type_gyro_float(float *values, int8_t *accuracy,
25 void inv_get_sensor_type_accel_float(float *values, int8_t *accuracy,
28 float *values, int8_t *accuracy, inv_time_t *timestamp);
29 void inv_get_sensor_type_quat_float(float *values, int *accuracy,
31 void inv_get_sensor_type_gravity_float(float *values, int *accuracy,
33 void inv_get_sensor_type_rotation_vector_float(float *values, int *accuracy,
37 void inv_get_sensor_type_gyro_raw_short(short *values,
39 void inv_get_sensor_type_gyro_raw_body_float(float *values,
41 void inv_get_sensor_type_accel_raw_short(short *values,
43 void inv_get_sensor_type_compass_raw_short(short *values,
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c74 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, in inv_get_sensor_type_accelerometer() argument
83 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
84 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
85 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
90 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1], in inv_get_sensor_type_accelerometer()
91 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
103 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument
114 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
115 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
116 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
[all …]
Dhal_outputs.h16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy,
18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy,
22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy,
24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy,
26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy,
28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy,
31 int inv_get_sensor_type_linear_acceleration(float *values,
34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy,
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c122 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, in inv_get_sensor_type_accelerometer() argument
131 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
132 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
133 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
138 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1], in inv_get_sensor_type_accelerometer()
139 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
151 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument
162 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
163 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
164 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
[all …]
Dhal_outputs.h16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy,
18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy,
22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy,
24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy,
26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy,
28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy,
31 int inv_get_sensor_type_linear_acceleration(float *values,
34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy,
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_exif.c83 uint8_t *values = (uint8_t *)malloc(count); in addExifEntry() local
84 if (values == NULL) { in addExifEntry()
88 memcpy(values, data, count); in addExifEntry()
89 p_info_data[numOfEntries].tag_entry.data._bytes = values; in addExifEntry()
111 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); in addExifEntry() local
112 if (values == NULL) { in addExifEntry()
116 memcpy(values, data, count * sizeof(uint16_t)); in addExifEntry()
117 p_info_data[numOfEntries].tag_entry.data._shorts = values; in addExifEntry()
126 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); in addExifEntry() local
127 if (values == NULL) { in addExifEntry()
[all …]
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceUtils.h205 C2SupportedRange(const C2FieldSupportedValues &values);
381 C2SupportedFlags<T>(const C2FieldSupportedValues &values) {
382 if (values.type == C2FieldSupportedValues::FLAGS) {
383 _mValues.insert(_mValues.end(), values.values.begin(), values.values.end());
438 C2SupportedFlags(std::vector<C2Value::Primitive> &&values)
439 : _mValues(values) {
492 static inline C2SupportedValueSet<T> OneOf(const std::initializer_list<T> values) {
493 return C2SupportedValueSet(values);
501 static inline C2SupportedValueSet<T> OneOf(const std::vector<T> &values) {
502 return C2SupportedValueSet(values);
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DDummyDevice.cpp135 int32_t *values) in getDisplayAttributes() argument
139 if ((configs > 0) || !attributes || !values) { in getDisplayAttributes()
153 values[i] = 1e9 / 60; in getDisplayAttributes()
156 values[i] = 1280; in getDisplayAttributes()
159 values[i] = 720; in getDisplayAttributes()
162 values[i] = 0; in getDisplayAttributes()
165 values[i] = 0; in getDisplayAttributes()
DExternalDevice.cpp327 int32_t *values) in getDisplayAttributes() argument
330 return PhysicalDevice::getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
333 return PhysicalDevice::getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
334 if (!attributes || !values) in getDisplayAttributes()
340 values[i] = 1e9 / 60; in getDisplayAttributes()
343 values[i] = 1920; in getDisplayAttributes()
346 values[i] = 1080; in getDisplayAttributes()
349 values[i] = 1; in getDisplayAttributes()
352 values[i] = 1; in getDisplayAttributes()
DPhysicalDevice.cpp213 int32_t *values) in getDisplayAttributes() argument
224 if (!attributes || !values) { in getDisplayAttributes()
240 values[i] = 1e9 / configChosen->getRefreshRate(); in getDisplayAttributes()
243 values[i] = 0; in getDisplayAttributes()
247 values[i] = configChosen->getWidth(); in getDisplayAttributes()
250 values[i] = configChosen->getHeight(); in getDisplayAttributes()
253 values[i] = configChosen->getDpiX() * 1000.0f; in getDisplayAttributes()
256 values[i] = configChosen->getDpiY() * 1000.0f; in getDisplayAttributes()
/hardware/google/easel/amber/camera/include/
DHdrPlusTypes.h217 void appendVectorOrArrayToString(std::string *strOut, T values);
220 void appendVectorOrArrayToString(std::string *strOut, const char* key, T values);
224 std::vector<std::array<T, SIZE>> values);
228 std::array<T, SIZE> values);
469 void appendVectorOrArrayToString(std::string *strOut, T values) { in appendVectorOrArrayToString() argument
471 for (size_t i = 0; i < values.size(); i++) { in appendVectorOrArrayToString()
472 (*strOut) += std::to_string(values[i]); in appendVectorOrArrayToString()
473 if (i != values.size() - 1) { in appendVectorOrArrayToString()
487 void appendVectorOrArrayToString(std::string *strOut, const char* key, T values) { in appendVectorOrArrayToString() argument
490 appendVectorOrArrayToString(strOut, values); in appendVectorOrArrayToString()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Darray_vector.h42 void push_back(const std::array<T, N>& values) { in push_back() argument
43 mItems.insert(mItems.end(), values.begin(), values.end()); in push_back()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_null.cpp101 int32_t *values) { in GetDisplayAttributes() argument
107 values[i] = INT32(1000000000L / NULL_DISPLAY_FPS); in GetDisplayAttributes()
110 values[i] = static_cast<int32_t>(x_res_); in GetDisplayAttributes()
113 values[i] = static_cast<int32_t>(y_res_); in GetDisplayAttributes()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_null.cpp101 int32_t *values) { in GetDisplayAttributes() argument
107 values[i] = INT32(1000000000L / NULL_DISPLAY_FPS); in GetDisplayAttributes()
110 values[i] = static_cast<int32_t>(x_res_); in GetDisplayAttributes()
113 values[i] = static_cast<int32_t>(y_res_); in GetDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_null.cpp101 int32_t *values) { in GetDisplayAttributes() argument
107 values[i] = INT32(1000000000L / NULL_DISPLAY_FPS); in GetDisplayAttributes()
110 values[i] = static_cast<int32_t>(x_res_); in GetDisplayAttributes()
113 values[i] = static_cast<int32_t>(y_res_); in GetDisplayAttributes()
/hardware/google/av/codec2/vndk/util/
DC2InterfaceUtils.cpp71 C2SupportedRange<T>::C2SupportedRange(const C2FieldSupportedValues &values) { in C2SupportedRange() argument
72 if (values.type == C2FieldSupportedValues::RANGE) { in C2SupportedRange()
73 _mMin = values.range.min.ref<ValueType>(); in C2SupportedRange()
74 _mMax = values.range.max.ref<ValueType>(); in C2SupportedRange()
75 _mStep = values.range.step.ref<ValueType>(); in C2SupportedRange()
76 _mNum = values.range.num.ref<ValueType>(); in C2SupportedRange()
77 _mDenom = values.range.denom.ref<ValueType>(); in C2SupportedRange()
170 std::vector<C2Value::Primitive> values; in limitedTo() local
171 return C2SupportedFlags(std::move(values)); in limitedTo()
213 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() local
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.h105 const std::vector<Type>& values);
108 hexagon_nn_input createValues(const std::vector<Type>& values);
177 const std::vector<Type>& values) { in createTensor() argument
178 return createTensorInternal(B, H, W, D, reinterpret_cast<const uint8_t*>(values.data()), in createTensor()
179 values.size() * sizeof(Type)); in createTensor()
183 hexagon_nn_input Model::createValues(const std::vector<Type>& values) { in createValues() argument
184 return createTensor(1, 1, 1, values.size(), values); in createValues()
/hardware/google/interfaces/media/c2/1.0/
Dtypes.hal151 // Generic way to describe supported numeric values for Codec 2.0 interfaces.
160 * Generic supported values for a field.
162 * This can be either a range or a set of values. The range can be linear or
163 * geometric with clear minimum and maximum values, and can have an optional
176 /** No supported values */
180 /** List of values */
188 * Type of the supported values. The framework may not recognize `OTHER`.
192 * Codec2.0 type code of the supported values.
196 * * For all other values of #type, #typeOther is not used.
206 * If #type = RANGE, #range will specify the range of possible values.
[all …]
/hardware/google/av/media/codecs/base/
DSimpleC2Interface.cpp149 .withFields({ C2F(mInputAllocators, m.values[0]).any(), in BaseParams()
150 C2F(mInputAllocators, m.values).inRange(0, 1) }) in BaseParams()
157 .withFields({ C2F(mOutputAllocators, m.values[0]).any(), in BaseParams()
158 C2F(mOutputAllocators, m.values).inRange(0, 1) }) in BaseParams()
165 .withFields({ C2F(mOutputPoolIds, m.values[0]).any(), in BaseParams()
166 C2F(mOutputPoolIds, m.values).inRange(0, 1) }) in BaseParams()
174 .withFields({ C2F(mSubscribedParamIndices, m.values[0]).any(), in BaseParams()
175 C2F(mSubscribedParamIndices, m.values).any() }) in BaseParams()
/hardware/interfaces/drm/1.1/
Dtypes.hal42 * values[0] {
47 * values[1] {
73 * The type field indicates which of the following values is used.
82 * A value of the metric. A metric may have multiple values. The
90 * The type field indicates which of the following values is used.
106 // A Metric may have one or more values. Multiple values are useful
109 vec<Value> values;
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp174 if (profileQuery[0].values.type == C2FieldSupportedValues::VALUES) { in buildMediaCodecList()
175 for (C2Value::Primitive profile : profileQuery[0].values.values) { in buildMediaCodecList()
187 if (levelQuery[0].values.type == C2FieldSupportedValues::VALUES in buildMediaCodecList()
188 && levelQuery[0].values.values.size() > 0) { in buildMediaCodecList()
189 C2Value::Primitive level = levelQuery[0].values.values.back(); in buildMediaCodecList()
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal33 * The component values are unsigned normalized to the range [0, 1], whose
42 * The component values are unsigned normalized to the range [0, 1], whose
51 * The depth component values are unsigned normalized to the range [0, 1],
52 * whose interpretation is defined by the dataspace. The stencil values are
60 * The component values are signed floats, whose interpretation is defined
69 * The depth component values are signed floats, whose interpretation is
78 * The component values are unsigned integers, whose interpretation is
106 * The component values are unsigned normalized to the range [0, 1], whose
144 * counterparts is that, with legacy dataspaces, the pixel values may have
150 * is allowed, the pixel values can be interpreted freely by
[all …]
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal211 * calculated values.</p>
265 * latest calculated values.</p>
348 * <p>Maximum and minimum exposure compensation values for
786 * <p>List of aperture size values for ANDROID_LENS_APERTURE that are
795 * <p>List of neutral density filter values for
910 * values.</p>
1208 * <p>A matrix that transforms color values from CIE XYZ color space to
1215 * <p>A matrix that transforms color values from CIE XYZ color space to
1780 * to its current values, or is free to vary.</p>
1864 /** android.colorCorrection.mode enumeration values
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DPhysicalDevice.cpp214 int32_t *values) in getDisplayAttributes() argument
225 if (!attributes || !values) { in getDisplayAttributes()
241 values[i] = 1e9 / configChosen->getRefreshRate(); in getDisplayAttributes()
244 values[i] = 0; in getDisplayAttributes()
248 values[i] = configChosen->getWidth(); in getDisplayAttributes()
251 values[i] = configChosen->getHeight(); in getDisplayAttributes()
254 values[i] = configChosen->getDpiX() * 1000.0f; in getDisplayAttributes()
257 values[i] = configChosen->getDpiY() * 1000.0f; in getDisplayAttributes()

12345678