Home
last modified time | relevance | path

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

12345

/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.cpp321 std::vector<int32_t> raw; in TEST_F() local
323 raw.push_back(input_outputs.first); in TEST_F()
324 raw.push_back(input_outputs.second.size()); in TEST_F()
325 raw.insert( in TEST_F()
326 raw.end(), input_outputs.second.begin(), input_outputs.second.end()); in TEST_F()
329 metadata_.get(), reprocess_formats_tag_, raw), in TEST_F()
340 std::vector<int32_t> raw{1, 0}; in TEST_F() local
342 metadata_.get(), reprocess_formats_tag_, raw), in TEST_F()
352 std::vector<int32_t> raw{1, 3, 0, 0}; in TEST_F() local
354 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.cpp61 void* raw = value.get(); in TEST_F() local
64 ASSERT_EQ(raw, valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
66 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::FLOAT).get()); in TEST_F()
76 void* raw = vs.get(); in TEST_F() local
81 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::STRING).get()); in TEST_F()
/hardware/interfaces/audio/effect/all-versions/default/
DAudioBufferManager.cpp67 if (mHalBuffer.raw != nullptr) { in init()
76 mHalBuffer.raw = static_cast<void*>(mHidlMemory->getPointer()); in init()
77 if (mHalBuffer.raw == nullptr) { in init()
/hardware/interfaces/audio/6.0/
DIStreamOutEventCallback.hal80 * [ sizeof(Primitive_Value) in raw bytes ]
88 * [ (length) raw bytes ]
92 * [ raw bytes "hi" ] = 0x68 0x69 "hi"
96 * [ raw bytes (entry 1) Key (Payload<String>)
105 * [ raw bytes "hello" ] = 0x68 0x65 0x6c 0x6c 0x6f "hello"
112 * [ raw bytes "world" ] = 0x77 0x6f 0x72 0x6c 0x64 "world"
115 * [ raw bytes "value" ] = 0x76 0x61 0x6c 0x75 0x65 "value"
120 * [ raw bytes 1000 ] = 0xe8 0x03 0x00 0x00 1000
/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/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehicleObjectPoolTest.cpp153 void* raw = value.get(); in TEST_P() local
156 ASSERT_EQ(mValuePool->obtain(info.type, info.vecSize).get(), raw); in TEST_P()
179 void* raw = value.get(); in TEST_F() local
182 ASSERT_EQ(mValuePool->obtain(VehiclePropertyType::INT32).get(), raw); in TEST_F()
184 ASSERT_NE(mValuePool->obtain(VehiclePropertyType::FLOAT).get(), raw); in TEST_F()
194 void* raw = stringProp.get(); in TEST_F() local
200 ASSERT_NE(mValuePool->obtain(VehiclePropertyType::STRING).get(), raw); in TEST_F()
/hardware/interfaces/audio/7.0/
DIStreamOutEventCallback.hal99 * [ sizeof(Primitive_Value) in raw bytes ]
107 * [ (length) raw bytes ]
111 * [ raw bytes "hi" ] = 0x68 0x69 "hi"
115 * [ raw bytes (entry 1) Key (Payload<String>)
124 * [ raw bytes "hello" ] = 0x68 0x65 0x6c 0x6c 0x6f "hello"
131 * [ raw bytes "world" ] = 0x77 0x6f 0x72 0x6c 0x64 "world"
134 * [ raw bytes "value" ] = 0x76 0x61 0x6c 0x75 0x65 "value"
139 * [ raw bytes 1000 ] = 0xe8 0x03 0x00 0x00 1000
/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/graphics/mapper/3.0/
DIMapper.hal87 * Imports a raw buffer handle to create an imported buffer handle for use
90 * A buffer handle is considered raw when it is cloned (e.g., with
92 * is received from another HAL server/client or another process. A raw
96 * This function must at least validate the raw handle before creating the
97 * imported handle. It must also support importing the same raw handle
102 * Because of passthrough HALs, a raw buffer handle received from a HAL
104 * such a handle as if it is raw and must not return `BAD_BUFFER`. The
111 * - `BAD_BUFFER` if the raw handle is invalid.
112 * - `NO_RESOURCES` if the raw handle cannot be imported due to
156 * raw buffer handle with the process-local runtime data appended. This
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp104 {"gsm", gsm}, {"raw", raw}, {"flac", flac}, in SetUp()
136 {raw, OMX_AUDIO_CodingPCM}, in SetUp()
242 raw, enumerator
432 {AudioDecHidlTest::standardComp::raw, "bbb_raw_1ch_8khz_s32le.raw", in GetURLForComponent()
504 comp != AudioDecHidlTest::standardComp::raw) { in portReconfiguration()
730 if (compName == raw) in TEST_P()
740 if (compName != vorbis && compName != opus && compName != raw) { in TEST_P()
796 if (compName == raw) in TEST_P()
806 if (compName != vorbis && compName != opus && compName != raw) { in TEST_P()
880 if (compName == raw) in TEST_P()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/
Dprinter.cpp111 const auto raw = attr.data<uint8_t>(); in toStream() local
112 ss << "{len=" << raw.getRaw().len(); in toStream()
113 ss << ", crc=" << std::hex << std::setw(4) << crc16(raw) << std::dec; in toStream()
/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
/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/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleObjectPool.h121 recyclable_ptr<T> wrap(T* raw) { in wrap() argument
122 return recyclable_ptr<T> { raw, getDeleter() }; in wrap()
/hardware/google/graphics/common/libv4l2/
Dmedia.h87 __u8 raw[184]; member
/hardware/google/gchips/include/
Dmedia.h87 __u8 raw[184]; member
/hardware/google/gfxstream/
D.gitignore162 /pc-bios/optionrom/linuxboot.raw
166 /pc-bios/optionrom/linuxboot_dma.raw
170 /pc-bios/optionrom/multiboot.raw
174 /pc-bios/optionrom/kvmvapic.raw

12345