Home
last modified time | relevance | path

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

12345678910

/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/interfaces/audio/common/all-versions/util/include/common/all-versions/
DHidlSupport.h28 hidl_enum_range<Enum> values; in isValidHidlEnum() local
29 return std::find(values.begin(), values.end(), e) != values.end(); in isValidHidlEnum()
/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/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/interfaces/boot/1.1/vts/functional/
DVtsHalBootV1_1TargetTest.cpp53 std::vector<MergeStatus> values; in ValidMergeStatusValues() local
58 values.push_back(value); in ValidMergeStatusValues()
60 return values; in ValidMergeStatusValues()
67 auto values = ValidMergeStatusValues(); in TEST_P() local
69 EXPECT_THAT(values, Contains(status)); in TEST_P()
/hardware/google/pixel/thermal/utils/
Dconfig_parser.cpp119 Json::Value values = sensors[i]["HotThreshold"]; in ParseSensorInfo() local
120 if (values.size() != kThrottlingSeverityCount) { in ParseSensorInfo()
122 << "Sensor[" << name << "]'s HotThreshold count" << values.size(); in ParseSensorInfo()
128 hot_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo()
144 values = sensors[i]["HotHysteresis"]; in ParseSensorInfo()
145 if (values.size() != kThrottlingSeverityCount) { in ParseSensorInfo()
150 hot_hysteresis[j] = getFloatFromValue(values[j]); in ParseSensorInfo()
162 values = sensors[i]["ColdThreshold"]; in ParseSensorInfo()
163 if (values.size() != kThrottlingSeverityCount) { in ParseSensorInfo()
169 cold_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo()
[all …]
/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/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/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/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/google/pixel/pixelstats/
DUeventListener.cpp147 std::vector<VendorAtom::Value> values(charge_stats_fields.size()); in ReportChargeStats() local
159 values[charge_stats_fields[i] - kVendorAtomOffset] = val; in ReportChargeStats()
164 .values = values}; in ReportChargeStats()
187 std::vector<VendorAtom::Value> values(voltage_tier_stats_fields.size()); in ReportVoltageTierStats() local
200 values[voltage_tier_stats_fields[0] - kVendorAtomOffset] = val; in ReportVoltageTierStats()
202 values[voltage_tier_stats_fields[1] - kVendorAtomOffset] = val; in ReportVoltageTierStats()
205 values[voltage_tier_stats_fields[i] - kVendorAtomOffset] = val; in ReportVoltageTierStats()
210 .values = values}; in ReportVoltageTierStats()
/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/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/interfaces/wifi/supplicant/1.2/
DISupplicantStaNetwork.hal29 /** Possble mask of values for KeyMgmt param. */
50 /** Possble mask of values for PairwiseCipher param. */
56 /** Possble mask of values for GroupCipher param. */
62 /** Possble mask of values for GroupMgmtCipher param. */
78 * Combination of |KeyMgmtMask| values.
95 * @return keyMgmtMask Combination of |KeyMgmtMask| values.
104 * Combination of |PairwiseCipherMask| values.
122 * @return pairwiseCipherMask Combination of |PairwiseCipherMask| values.
132 * Combination of |GroupCipherMask| values.
150 * @return groupCipherMask Combination of |GroupCipherMask| 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/ti/am57x/libhwcomposer/
Ddisplay.cpp234 int HWCDisplay::get_display_attributes(uint32_t cfg, const uint32_t* attributes, int32_t* values) in get_display_attributes() argument
236 if (!attributes || !values) in get_display_attributes()
249 values[i] = 1000000000 / config->fps; in get_display_attributes()
252 values[i] = config->xres; in get_display_attributes()
255 values[i] = config->yres; in get_display_attributes()
258 values[i] = 1000 * config->xdpi; in get_display_attributes()
261 values[i] = 1000 * config->ydpi; in get_display_attributes()
/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/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 …]

12345678910