Searched refs:values (Results 1 - 25 of 107) sorted by relevance

12345

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A 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,
[all...]
H A Ddatalogger_outputs.c46 * @param[out] values raw angular velocity in LSB.
49 void inv_get_sensor_type_gyro_raw_short(short *values, inv_time_t *timestamp) argument
53 if (values)
54 memcpy(values, &pg->raw, sizeof(short) * 3);
61 * @param[out] values raw angular velocity in dps.
64 void inv_get_sensor_type_gyro_raw_body_float(float *values, argument
76 if (values) {
77 values[0] = inv_q16_to_float(raw_body[0]);
78 values[1] = inv_q16_to_float(raw_body[1]);
79 values[
91 inv_get_sensor_type_gyro_float(float *values, int8_t *accuracy, inv_time_t *timestamp) argument
107 inv_get_sensor_type_accel_raw_short(short *values, inv_time_t *timestamp) argument
125 inv_get_sensor_type_accel_float(float *values, int8_t *accuracy, inv_time_t *timestamp) argument
141 inv_get_sensor_type_compass_raw_short(short *values, inv_time_t *timestamp) argument
160 inv_get_sensor_type_compass_float(float *mag_north, float *true_north, float *values, int8_t *accuracy, inv_time_t *timestamp) argument
251 inv_get_sensor_type_quat_float(float *values, int *accuracy, inv_time_t *timestamp) argument
269 inv_get_sensor_type_gravity_float(float *values, int *accuracy, inv_time_t * timestamp) argument
310 inv_get_sensor_type_rotation_vector_float(float *values, int *accuracy, inv_time_t * timestamp) argument
[all...]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A 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_
[all...]
H A Dhal_outputs.c115 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
122 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, argument
131 values[0] = accel[0] * ACCEL_CONVERSION;
132 values[1] = accel[1] * ACCEL_CONVERSION;
133 values[2] = accel[2] * ACCEL_CONVERSION;
138 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1],
139 values[2], status, *timestamp);
144 * @param[out] values Linea
151 inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
176 inv_get_sensor_type_gravity(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
201 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
227 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
271 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
293 inv_get_sensor_type_rotation_vector_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
338 inv_get_sensor_type_geomagnetic_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
374 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
402 inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
538 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
547 inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
559 inv_get_sensor_type_orientation_geomagnetic(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A 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_
[all...]
H A Dhal_outputs.c67 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
74 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, argument
83 values[0] = accel[0] * ACCEL_CONVERSION;
84 values[1] = accel[1] * ACCEL_CONVERSION;
85 values[2] = accel[2] * ACCEL_CONVERSION;
90 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1],
91 values[2], status, *timestamp);
96 * @param[out] values Linea
103 inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
132 inv_get_sensor_type_gravity(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
162 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
188 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
232 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
253 inv_get_sensor_type_rotation_vector_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
296 inv_get_sensor_type_geomagnetic_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
328 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
356 inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
492 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
503 inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
517 inv_get_sensor_type_orientation_geomagnetic(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
[all...]
/hardware/libhardware/modules/camera/3_4/metadata/
H A Darray_vector.h42 void push_back(const std::array<T, N>& values) { argument
43 mItems.insert(mItems.end(), values.begin(), values.end());
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
H A DDummyDevice.cpp135 int32_t *values)
139 if ((configs > 0) || !attributes || !values) {
153 values[i] = 1e9 / 60;
156 values[i] = 1280;
159 values[i] = 720;
162 values[i] = 0;
165 values[i] = 0;
133 getDisplayAttributes(uint32_t configs, const uint32_t *attributes, int32_t *values) argument
H A DExternalDevice.cpp327 int32_t *values)
330 return PhysicalDevice::getDisplayAttributes(config, attributes, values);
333 return PhysicalDevice::getDisplayAttributes(config, attributes, values);
334 if (!attributes || !values)
340 values[i] = 1e9 / 60;
343 values[i] = 1920;
346 values[i] = 1080;
349 values[i] = 1;
352 values[i] = 1;
325 getDisplayAttributes(uint32_t config, const uint32_t *attributes, int32_t *values) argument
H A DPhysicalDevice.cpp213 int32_t *values)
224 if (!attributes || !values) {
240 values[i] = 1e9 / configChosen->getRefreshRate();
243 values[i] = 0;
247 values[i] = configChosen->getWidth();
250 values[i] = configChosen->getHeight();
253 values[i] = configChosen->getDpiX() * 1000.0f;
256 values[i] = configChosen->getDpiY() * 1000.0f;
211 getDisplayAttributes(uint32_t config, const uint32_t *attributes, int32_t *values) argument
/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dhwc_display_null.cpp101 int32_t *values) {
107 values[i] = INT32(1000000000L / NULL_DISPLAY_FPS);
110 values[i] = static_cast<int32_t>(x_res_);
113 values[i] = static_cast<int32_t>(y_res_);
100 GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, int32_t *values) argument
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dhwc_display_null.cpp101 int32_t *values) {
107 values[i] = INT32(1000000000L / NULL_DISPLAY_FPS);
110 values[i] = static_cast<int32_t>(x_res_);
113 values[i] = static_cast<int32_t>(y_res_);
100 GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, int32_t *values) argument
/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dhwc_display_null.cpp101 int32_t *values) {
107 values[i] = INT32(1000000000L / NULL_DISPLAY_FPS);
110 values[i] = static_cast<int32_t>(x_res_);
113 values[i] = static_cast<int32_t>(y_res_);
100 GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, int32_t *values) argument
/hardware/google/av/codec2/vndk/include/util/
H A DC2InterfaceUtils.h29 * Helper class to map underlying types to C2Value types as well as to print field values. This is
68 * Constructs an empty range with no supported values.
78 * Constructs a range with all values supported.
94 * Constructs a range with supported values greater than a given value.
106 * Constructs a range with supported values greater than or equal to a given value.
115 * Constructs a range with supported values greater than or equal to (aka not less than) a given
125 * Constructs a range with supported values less than or equal to a given value.
134 * Constructs a range with supported values less than or equal to (aka not greater than) a given
144 * Constructs a range with supported values less than a given value.
156 * Constructs a continuous or arithmetic range between two values
381 C2SupportedFlags(const C2FieldSupportedValues &values) argument
438 C2SupportedFlags(std::vector<C2Value::Primitive> &&values) argument
492 OneOf(const std::initializer_list<T> values) argument
501 OneOf(const std::vector<T> &values) argument
511 C2SupportedValueSet(const C2FieldSupportedValues &values) argument
577 C2SupportedValueSet(std::vector<C2Value::Primitive> &&values) argument
586 C2SupportedValueSet(const std::vector<T> &values) argument
597 C2SupportedValueSet(const std::initializer_list<T> values) argument
750 oneOf(const std::initializer_list<T> values) argument
757 oneOf(const std::vector<T> &values) argument
[all...]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_exif.c83 uint8_t *values = (uint8_t *)malloc(count); local
84 if (values == NULL) {
88 memcpy(values, data, count);
89 p_info_data[numOfEntries].tag_entry.data._bytes = values;
111 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); local
112 if (values == NULL) {
116 memcpy(values, data, count * sizeof(uint16_t));
117 p_info_data[numOfEntries].tag_entry.data._shorts = values;
126 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); local
127 if (values
141 rat_t *values = (rat_t *)malloc(count * sizeof(rat_t)); local
155 uint8_t *values = (uint8_t *)malloc(count); local
167 int32_t *values = (int32_t *)malloc(count * sizeof(int32_t)); local
182 srat_t *values = (srat_t *)malloc(count * sizeof(srat_t)); local
[all...]
/hardware/google/easel/amber/camera/include/
H A 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);
463 * Append a vector or an array of values to a string.
465 * strOut is the string to append a key and values to.
466 * values is a vector or an array containing values to append to the string.
469 void appendVectorOrArrayToString(std::string *strOut, T values) { argument
471 for (size_t i = 0; i < values
487 appendVectorOrArrayToString(std::string *strOut, const char* key, T values) argument
502 appendVectorArrayToString(std::string *strOut, const char* key, std::vector<std::array<T, SIZE>> values) argument
523 appendArrayArrayToString(std::string *strOut, const char* key, std::array<T, SIZE> values) argument
[all...]
/hardware/google/av/media/codecs/base/
H A DSimpleC2Interface.cpp149 .withFields({ C2F(mInputAllocators, m.values[0]).any(),
150 C2F(mInputAllocators, m.values).inRange(0, 1) })
157 .withFields({ C2F(mOutputAllocators, m.values[0]).any(),
158 C2F(mOutputAllocators, m.values).inRange(0, 1) })
165 .withFields({ C2F(mOutputPoolIds, m.values[0]).any(),
166 C2F(mOutputPoolIds, m.values).inRange(0, 1) })
174 .withFields({ C2F(mSubscribedParamIndices, m.values[0]).any(),
175 C2F(mSubscribedParamIndices, m.values).any() })
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DHexagonModel.h105 const std::vector<Type>& values);
108 hexagon_nn_input createValues(const std::vector<Type>& values);
177 const std::vector<Type>& values) {
178 return createTensorInternal(B, H, W, D, reinterpret_cast<const uint8_t*>(values.data()),
179 values.size() * sizeof(Type));
183 hexagon_nn_input Model::createValues(const std::vector<Type>& values) { argument
184 return createTensor(1, 1, 1, values.size(), values);
176 createTensor(uint32_t B, uint32_t H, uint32_t W, uint32_t D, const std::vector<Type>& values) argument
/hardware/google/av/codec2/vndk/util/
H A DC2InterfaceUtils.cpp44 * Helper class for supported values range calculations.
71 C2SupportedRange<T>::C2SupportedRange(const C2FieldSupportedValues &values) { argument
72 if (values.type == C2FieldSupportedValues::RANGE) {
73 _mMin = values.range.min.ref<ValueType>();
74 _mMax = values.range.max.ref<ValueType>();
75 _mStep = values.range.step.ref<ValueType>();
76 _mNum = values.range.num.ref<ValueType>();
77 _mDenom = values.range.denom.ref<ValueType>();
93 // simple ranges contain all values between min and max
157 // float flags are not supported, but define a few methods to support generic supported values cod
170 std::vector<C2Value::Primitive> values; local
213 std::vector<C2Value::Primitive> values = _mValues; // make a copy local
[all...]
/hardware/google/av/media/sfplugin/
H A DCodec2InfoBuilder.cpp60 // debug.stagefright.ccodec supports 5 values.
160 // if we don't know the media type, pass through all values unmapped
163 // e.g. H.263 level 45 and level 30 could be two values for highest level as
174 if (profileQuery[0].values.type == C2FieldSupportedValues::VALUES) {
175 for (C2Value::Primitive profile : profileQuery[0].values.values) {
187 if (levelQuery[0].values.type == C2FieldSupportedValues::VALUES
188 && levelQuery[0].values.values.size() > 0) {
189 C2Value::Primitive level = levelQuery[0].values
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/devices/
H A DPhysicalDevice.cpp214 int32_t *values)
225 if (!attributes || !values) {
241 values[i] = 1e9 / configChosen->getRefreshRate();
244 values[i] = 0;
248 values[i] = configChosen->getWidth();
251 values[i] = configChosen->getHeight();
254 values[i] = configChosen->getDpiX() * 1000.0f;
257 values[i] = configChosen->getDpiY() * 1000.0f;
212 getDisplayAttributes(uint32_t config, const uint32_t *attributes, int32_t *values) argument
/hardware/interfaces/drm/1.1/
H A 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/codec2/tests/
H A DC2SampleComponent_test.cpp191 query.values = C2FieldSupportedValues(
280 if (sv.values.size()) {
283 for (const C2FieldSupportedValues::Primitive &p : sv.values) {
413 dumpFSV(q.values, &domainInfo.value);
420 std::vector<C2FieldSupportedValues> values; local
421 values.push_back(C2FieldSupportedValues(0, 10, 1)); // min, max, step
422 values.push_back(C2FieldSupportedValues(1, 64, 2, 1)); // min, max, num, den
423 values.push_back(C2FieldSupportedValues(false, {1, 2, 3})); // flags, std::initializer_list
426 values.push_back(C2FieldSupportedValues(false, v)); // flags, std::vector
428 for (const C2FieldSupportedValues &sv : values) {
[all...]
/hardware/nxp/secure_element/libese-spi/p73/utils/
H A Dconfig.cpp29 vector<string> values = Split(in, ":"); local
30 if (values.size() == 0) return false;
31 for (string value : values) {
/hardware/google/interfaces/media/c2/1.0/
H A 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...]

Completed in 1415 milliseconds

12345