|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
29 #ifndef DW_SENSORS_COMMON_SENSORSERIALIZER_H_
30 #define DW_SENSORS_COMMON_SENSORSERIALIZER_H_
116 DW_DEPRECATED(
"This API is deprecated and will be removed in the next major release")
137 DW_DEPRECATED("This
API is deprecated and will be removed in the next major release")
166 DW_DEPRECATED("This
API is deprecated and will be removed in the next major release")
351 #endif // DW_SENSORS_COMMON_SENSORSERIALIZER_H_
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
const dwSensorHandle_t sensor
DW_API_PUBLIC dwStatus dwSensorSerializer_initialize(dwSensorSerializerHandle_t *const serializer, dwSerializerParams const *const params, dwSensorHandle_t const sensor)
Initializes a sensor serializer with the parameters provided.
DW_API_PUBLIC dwStatus dwSensorSerializer_stop(dwSensorSerializerHandle_t const serializer)
Starts serialization of sensor.
DW_API_PUBLIC dwStatus dwSensorSerializer_start(dwSensorSerializerHandle_t const serializer)
Starts serialization of sensor.
DW_API_PUBLIC dwStatus dwSensorSerializer_release(dwSensorSerializerHandle_t const serializer)
Releases a sensor serializer.
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwSensorSerializer_getStats(dwSerializerStats *const outStats, dwSensorSerializerHandle_t const serializer)
Gets serializer statistics (if available).
#define DW_DEPRECATED(msg)
Holds the available statistics for a serializer.
DW_API_PUBLIC dwStatus dwSensorSerializer_serializeCameraFrameAsync(dwCameraFrameHandle_t const frame, dwSensorSerializerHandle_t const serializer)
Pushes a camera frame to the serializer.
DW_API_PUBLIC dwStatus dwSensorSerializer_attachTo(dwSensorSerializerHandle_t const serializer, dwSensorSerializerHandle_t const masterSerializer)
Starts and stops serialization of a sensor with a master serializer.
Holds the parameters for sensor serializer creation.
struct dwCameraFrame * dwCameraFrameHandle_t
Handle to captured frame.
Defines the properties of the image.
DW_API_PUBLIC dwStatus dwSensorSerializer_appendAllocationAttributes(dwImageProperties *const imgProps, dwSensorSerializerHandle_t const serializer)
Append the allocation attribute such that images allocated by the application and given to the serial...
DW_API_PUBLIC dwStatus dwSensorSerializer_serializeDataAsync(uint8_t const *const data, size_t const size, dwSensorSerializerHandle_t const serializer)
Pushes data to the serializer.
NvError Use NvRmMemQueryHandleParams API
DW_API_PUBLIC dwStatus dwSensorSerializer_isAttached(bool *const isAttached, dwSensorSerializerHandle_t const serializer)
Query method to check whether the serializer is attached to another.
struct dwSensorSerializerObject * dwSensorSerializerHandle_t
Handle representing a sensor serializer.
DW_API_PUBLIC dwStatus dwSensorSerializer_serializeData(uint8_t const *const data, size_t const size, dwSensorSerializerHandle_t const serializer)
Pushes data to the serializer.
DW_API_PUBLIC dwStatus dwSensorSerializer_detachFrom(dwSensorSerializerHandle_t const serializer, dwSensorSerializerHandle_t const masterSerializer)
This method detaches the serializer previously attached with dwSensorSerializer_attachTo().
DW_API_PUBLIC dwStatus dwSensorSerializer_serializeCameraFrame(dwCameraFrameHandle_t const frame, dwSensorSerializerHandle_t const serializer)
Pushes a camera frame to the serializer.This method must only be used if 'dwSensorSerializer_start' i...