Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 58) sorted by relevance

123

/hardware/libhardware/modules/camera/3_4/metadata/
Dtypes.h59 StreamConfiguration(const RawStreamConfiguration& raw) in StreamConfiguration()
60 : spec({raw[0], raw[1], raw[2]}), direction(raw[3]) {} in StreamConfiguration()
70 StreamStallDuration(const RawStreamStallDuration& raw) in StreamStallDuration()
71 : spec({static_cast<int32_t>(raw[0]), in StreamStallDuration()
72 static_cast<int32_t>(raw[1]), in StreamStallDuration()
73 static_cast<int32_t>(raw[2])}), in StreamStallDuration()
74 duration(raw[3]) {}
Dmetadata_reader_test.cpp325 std::vector<int32_t> raw; in TEST_F() local
327 raw.push_back(input_outputs.first); in TEST_F()
328 raw.push_back(input_outputs.second.size()); in TEST_F()
329 raw.insert( in TEST_F()
330 raw.end(), input_outputs.second.begin(), input_outputs.second.end()); in TEST_F()
333 metadata_.get(), reprocess_formats_tag_, raw), in TEST_F()
344 std::vector<int32_t> raw{1, 0}; in TEST_F() local
346 metadata_.get(), reprocess_formats_tag_, raw), in TEST_F()
356 std::vector<int32_t> raw{1, 3, 0, 0}; in TEST_F() local
358 metadata_.get(), reprocess_formats_tag_, raw), in TEST_F()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c54 memcpy(values, &pg->raw, sizeof(short) * 3); in inv_get_sensor_type_gyro_raw_short()
68 long raw[3]; in inv_get_sensor_type_gyro_raw_body_float() local
71 raw[0] = (long) pg->raw[0] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float()
72 raw[1] = (long) pg->raw[1] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float()
73 raw[2] = (long) pg->raw[2] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float()
75 raw, raw_body); in inv_get_sensor_type_gyro_raw_body_float()
112 memcpy(values, &pa->raw, sizeof(short) * 3); in inv_get_sensor_type_accel_raw_short()
146 memcpy(values, &pc->raw, sizeof(short) * 3); in inv_get_sensor_type_compass_raw_short()
Dmain.c411 short raw[3]; in fifo_callback() local
412 inv_get_sensor_type_gyro_raw_short(raw, NULL); in fifo_callback()
413 PRINT_3ELM_ARRAY_INT(6, raw); in fifo_callback()
433 short raw[3]; in fifo_callback() local
434 inv_get_sensor_type_accel_raw_short(raw, NULL); in fifo_callback()
435 PRINT_3ELM_ARRAY_INT(6, raw); in fifo_callback()
444 short raw[3]; in fifo_callback() local
445 inv_get_sensor_type_compass_raw_short(raw, NULL); in fifo_callback()
446 PRINT_3ELM_ARRAY_INT(6, raw); in fifo_callback()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c254 short raw[3]; in inv_read_q16() local
256 count = inv_read_raw(names, (long*)raw, timestamp); in inv_read_q16()
258 data[0] = (long)(raw[0] * (65536.f / scale)); in inv_read_q16()
259 data[1] = (long)(raw[1] * (65536.f / scale)); in inv_read_q16()
260 data[2] = (long)(raw[2] * (65536.f / scale)); in inv_read_q16()
275 short raw; in inv_read_temp_q16() local
284 count += inv_read_temperature_raw(names, &raw, timestamp); in inv_read_temp_q16()
285 data[0] = (long)((35 + ((float)(raw - offset) / scale)) * 65536.f); in inv_read_temp_q16()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c248 short raw[3]; in inv_read_q16() local
250 count = inv_read_raw(names, (long*)raw, timestamp); in inv_read_q16()
252 data[0] = (long)(raw[0] * (65536.f / scale)); in inv_read_q16()
253 data[1] = (long)(raw[1] * (65536.f / scale)); in inv_read_q16()
254 data[2] = (long)(raw[2] * (65536.f / scale)); in inv_read_q16()
269 short raw; in inv_read_temp_q16() local
278 count += inv_read_temperature_raw(names, &raw, timestamp); in inv_read_temp_q16()
279 data[0] = (long)((35 + ((float)(raw - offset) / scale)) * 65536.f); in inv_read_temp_q16()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleObjectPool_test.cpp60 void* raw = valuePool->obtain(VehiclePropertyType::INT32).get(); in TEST_F() local
62 ASSERT_EQ(raw, valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
64 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::FLOAT).get()); in TEST_F()
74 void* raw = vs.get(); in TEST_F() local
79 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::STRING).get()); in TEST_F()
/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/
DAudioBufferManager.impl.h67 if (mHalBuffer.raw != nullptr) { in init()
76 mHalBuffer.raw = static_cast<void*>(mHidlMemory->getPointer()); in init()
77 if (mHalBuffer.raw == nullptr) { in init()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c88 void inv_get_raw_compass(short *raw) in inv_get_raw_compass() argument
90 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw)); in inv_get_raw_compass()
491 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration()
492 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration()
493 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration()
793 sensors.accel.raw[0] = (short)accel[0]; in inv_build_accel()
794 sensors.accel.raw[1] = (short)accel[1]; in inv_build_accel()
795 sensors.accel.raw[2] = (short)accel[2]; in inv_build_accel()
831 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short)); in inv_build_gyro()
867 sensors.compass.raw[0] = (short)data[0]; in inv_build_compass()
[all …]
Ddata_builder.h84 short raw[3]; member
107 long raw[4]; member
119 long raw[3]; member
302 void inv_get_raw_compass(short *raw);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.h86 short raw[3]; member
109 long raw[4]; member
122 long raw[3]; member
306 void inv_get_raw_compass(short *raw);
Ddata_builder.c89 void inv_get_raw_compass(short *raw) in inv_get_raw_compass() argument
91 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw)); in inv_get_raw_compass()
696 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration()
697 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration()
698 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration()
1019 sensors.accel.raw[0] = (short)accel[0]; in inv_build_accel()
1020 sensors.accel.raw[1] = (short)accel[1]; in inv_build_accel()
1021 sensors.accel.raw[2] = (short)accel[2]; in inv_build_accel()
1057 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short)); in inv_build_gyro()
1093 sensors.compass.raw[0] = (short)data[0]; in inv_build_compass()
[all …]
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal85 * Imports a raw buffer handle to create an imported buffer handle for use
88 * A buffer handle is considered raw when it is cloned (e.g., with
90 * received from another HAL server/client or another process. A raw
94 * This function must at least validate the raw handle before creating the
95 * imported handle. It must also support importing the same raw handle
100 * Because of passthrough HALs, a raw buffer handle received from a HAL
102 * such a handle as if it is raw and must not return BAD_BUFFER. The
106 * @param rawHandle is the raw buffer handle to import.
108 * BAD_BUFFER when the raw handle is invalid.
109 * NO_RESOURCES when the raw handle cannot be imported at
/hardware/interfaces/radio/deprecated/1.0/
DIOemHook.hal39 * This request passes raw byte arrays between framework and vendor code.
42 * @param data data passed as raw bytes
DIOemHookIndication.hal29 * @param data data passed as raw bytes
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleObjectPool.h120 recyclable_ptr<T> wrap(T* raw) { in wrap() argument
121 return recyclable_ptr<T> { raw, getDeleter() }; in wrap()
/hardware/interfaces/media/omx/1.0/vts/functional/
DREADME.md17 … testing audio encoder and decoder components such as simple encoding of a raw clip or decoding of…
26 … testing video encoder and decoder components such as simple encoding of a raw clip or decoding of…
/hardware/interfaces/graphics/allocator/2.0/
DIAllocator.hal47 * @return buffers is an array of raw handles to the newly allocated
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal180 /** Station icon - raw (int32_t for HAL 1.1) */
182 /** Album art - raw (int32_t for HAL 1.1) */
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c1275 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1284 if (raw) in init_uart()
1373 int n=0,send_break=0,raw=0; in hw_config_ath3k() local
1381 n = init_uart(port_name, &u, send_break, raw); in hw_config_ath3k()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c1269 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1278 if (raw) in init_uart()
1367 int n=0,send_break=0,raw=0; in hw_config_ath3k() local
1375 n = init_uart(port_name, &u, send_break, raw); in hw_config_ath3k()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_ar3k.c1269 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1278 if (raw) in init_uart()
1367 int n=0,send_break=0,raw=0; in hw_config_ath3k() local
1375 n = init_uart(port_name, &u, send_break, raw); in hw_config_ath3k()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_ar3k.c1277 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1286 if (raw) in init_uart()
1375 int n=0,send_break=0,raw=0; in hw_config_ath3k() local
1383 n = init_uart(port_name, &u, send_break, raw); in hw_config_ath3k()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_ar3k.c1273 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1282 if (raw) in init_uart()
1371 int n=0,send_break=0,raw=0; in hw_config_ath3k() local
1379 n = init_uart(port_name, &u, send_break, raw); in hw_config_ath3k()
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c503 if (inBuffer == NULL || inBuffer->raw == NULL || in fx_process()
504 outBuffer == NULL || outBuffer->raw == NULL) { in fx_process()

123