NVIDIA DRIVE OS Linux API Reference5.1.0.2 Release |
Defines the public data structures and interfaces for NvSIPL DeviceBlock.
Definition at line 214 of file NvSIPLDeviceBlock.hpp.
Data Structures | |
struct | CameraModuleProperty |
Defines camera module properties. More... | |
struct | DeviceBlockProperty |
Defines DeviceBlock properties. More... | |
struct | Version |
Defines NvSIPL DeviceBlock (libnvsipl_devblk.so) version information. More... | |
Public Member Functions | |
virtual SIPLStatus | SetConfig (const DeviceBlockInfo *deviceBlockInfo)=0 |
Sets the configuration for DeviceBlockInfo. More... | |
virtual SIPLStatus | Init (void)=0 |
Initializes NvSIPL DeviceBlock (libnvsipl_devblk.so) for the selected configuration. More... | |
virtual SIPLStatus | Start (void)=0 |
Starts the streaming from sensors. More... | |
virtual SIPLStatus | Stop (void)=0 |
Stops the streaming from sensors. More... | |
virtual SIPLStatus | Deinit (void)=0 |
De-initializes NvSIPL DeviceBlock (libnvsipl_devblk.so). More... | |
virtual SIPLStatus | GetProperty (DeviceBlockProperty &property) const =0 |
Gets the properties of the NvSIPL DeviceBlock (libnvsipl_devblk.so) after initializing with specific DeviceBlockInfo configuration. More... | |
virtual SIPLStatus | WaitForError (void)=0 |
Wait for an error to occur. More... | |
virtual SIPLStatus | DetectErrors (std::uint8_t &cameraModules)=0 |
Detect errors on the cameras device(s). More... | |
virtual SIPLStatus | ReconfigureModule (std::uint8_t cameraModules)=0 |
Recover from a camera module error. More... | |
virtual | ~INvSIPLDeviceBlock ()=default |
Default destructor. More... | |
Static Public Member Functions | |
static void | GetVersion (Version &version) |
Gets the version of the library. More... | |
static std::unique_ptr < INvSIPLDeviceBlock > | Create (void) |
Creates an instance of INvSIPLDeviceBlock implementation. More... | |
Static Public Attributes | |
static constexpr std::uint32_t | MAJOR_VER = 0U |
Indicates a major revision. More... | |
static constexpr std::uint32_t | MINOR_VER = 0U |
Indicates a minor revision. More... | |
static constexpr std::uint32_t | PATCH_VER = 0U |
Indicates a patch revision. More... | |
|
virtualdefault |
Default destructor.
|
static |
Creates an instance of INvSIPLDeviceBlock implementation.
Static function to create an instance of implementation class and to return a handle. The object is automatically destroyed when the variable holding the return value goes out of scope.
|
pure virtual |
De-initializes NvSIPL DeviceBlock (libnvsipl_devblk.so).
|
pure virtual |
Detect errors on the cameras device(s).
Function to detect errors on the camera module(s).
The output can be used to recover an error found on the camera module(s).
[out] | cameraModules | Holds camera module(s) that have an error. |
|
pure virtual |
Gets the properties of the NvSIPL DeviceBlock (libnvsipl_devblk.so) after initializing with specific DeviceBlockInfo configuration.
The output properties can be used to create and manage image processing pipelines.
[out] | property | A reference to a DeviceBlockProperty. |
|
static |
Gets the version of the library.
[out] | version | A reference to the object containing the version information. |
|
pure virtual |
Initializes NvSIPL DeviceBlock (libnvsipl_devblk.so) for the selected configuration.
This function must be called after SetConfig().
|
pure virtual |
Recover from a camera module error.
Function to recover camera module(s) that have an error.
Must be called after DetectErrors
[in] | cameraModules | Holds camera module(s) to recover from an error. |
|
pure virtual |
Sets the configuration for DeviceBlockInfo.
[in] | deviceBlockInfo | A const pointer to a DeviceBlockInfo object. |
|
pure virtual |
Starts the streaming from sensors.
This function must be called after Init().
|
pure virtual |
Stops the streaming from sensors.
|
pure virtual |
Wait for an error to occur.
A blocking function call that waits for an error to occour on the camera modules.
|
static |
Indicates a major revision.
Definition at line 284 of file NvSIPLDeviceBlock.hpp.
|
static |
Indicates a minor revision.
Definition at line 285 of file NvSIPLDeviceBlock.hpp.
|
static |
Indicates a patch revision.
Definition at line 286 of file NvSIPLDeviceBlock.hpp.