![]() |
NVIDIA DRIVE OS Linux SDK API Reference5.1.6.0 Release |
Defines public data structures and describes the interfaces for NvSIPLCamera.
Definition at line 44 of file NvSIPLCamera.hpp.
Public Member Functions | |
virtual SIPLStatus | SetPlatformCfg (const PlatformCfg *platformCfg)=0 |
Sets a platform configuration. More... | |
virtual const PlatformCfg * | GetPlatformCfg (void) const =0 |
Gets the camera platform configuration set by SetPlatformCfg. More... | |
virtual SIPLStatus | SetNotifier (std::uint32_t uIndex, NvSIPLPipelineNotifier *pNotifier)=0 |
Sets a handler for events from an image processing pipeline. More... | |
virtual SIPLStatus | SetImageGroupWriterCallback (std::uint32_t uIndex, NvSIPLImageGroupWriter *pImageGroupWriter)=0 |
Sets an image group writer for an image processing pipeline. More... | |
virtual SIPLStatus | SetOutputDesc (std::vector< INvSIPLClient::ConsumerDesc > vDescs)=0 |
Sets a vector of INvSIPLClient::ConsumerDesc of consumers of image processing pipeline(s). More... | |
virtual SIPLStatus | SetImagePoolAttributes (std::uint32_t index, INvSIPLClient::ConsumerDesc::OutputType outType, uint32_t numOfImages, const NvSIPLImageAttr &imageAttr)=0 |
Sets attributes of the image pool used by ICP and ISP components of an image processing pipeline. More... | |
virtual SIPLStatus | Init (void)=0 |
Initializes NvSIPL Camera (libnvsipl.so) for the selected platform configuration. More... | |
virtual INvSIPLClient::ClientDesc * | GetClientDesc (std::uint32_t index, INvSIPLClient::ConsumerDesc::OutputType outType)=0 |
Gets NvSIPL Client (libnvsipl.so) descriptor for an image processing pipeline output. More... | |
virtual SIPLStatus | Start (void)=0 |
Starts NvSIPL Camera (libnvsipl.so) for the selected platform configuration. More... | |
virtual SIPLStatus | Stop (void)=0 |
Stops NvSIPL Camera (libnvsipl.so) for the selected platform configuration. More... | |
virtual SIPLStatus | Deinit (void)=0 |
De-initializes NvSIPL Camera (libnvsipl.so) for the selected platform configuration. More... | |
virtual | ~INvSIPLCamera (void)=default |
Default destructor. More... | |
Static Public Member Functions | |
static std::unique_ptr < INvSIPLCamera > | GetInstance (void) |
Gets a handle to INvSIPLCamera instance. More... | |
|
virtualdefault |
Default destructor.
|
pure virtual |
De-initializes NvSIPL Camera (libnvsipl.so) for the selected platform configuration.
The function internally De-initializes the NvSIPL DeviceBlock (libnvsipl_devblk.so) for each device block in the selected platform configuration and De-initializes and destroys the image processing pipelines.
This function must be called after Stop().
|
pure virtual |
Gets NvSIPL Client (libnvsipl.so) descriptor for an image processing pipeline output.
The function returns a handle to INvSIPLClient::ClientDesc for a specific image processing pipeline output. This descriptor can be used to initialize a NvSIPL Client (libnvsipl.so) object.
[in] | index | The ID of the sensor. |
[in] | outType | INvSIPLClient::ConsumerDesc::OutputType. |
this function must be called after Init().
|
static |
Gets a handle to INvSIPLCamera instance.
Static function to create an instance of implementation class and return the handle. The object is automatically destroyed when the variable holding the return value goes out of scope.
|
pure virtual |
Gets the camera platform configuration set by SetPlatformCfg.
|
pure virtual |
Initializes NvSIPL Camera (libnvsipl.so) for the selected platform configuration.
The function internally initializes the NvSIPL DeviceBlock (libnvsipl_devblk.so) for each device block in the selected platform configuration and creates and initializes the image processing pipelines based on the number and type of the consumers set via SetOutputDesc.
This function must be called after SetPlatformCfg and SetOutputDesc.
|
pure virtual |
Sets an image group writer for an image processing pipeline.
Sets a NvSIPLImageGroupWriter to feed the images to image processing pipeline. The API can be used to re-process the RAW frames captured from sensor via Tegra HW ISP.
The SetPlatformCfg() method must be called with appropriate platform configuration before calling this API.
[in] | uIndex | The ID of the sensor. |
[in] | pImageGroupWriter | A pointer to NvSIPLImageGroupWriter. |
|
pure virtual |
Sets attributes of the image pool used by ICP and ISP components of an image processing pipeline.
The API can be used to override the default output format of the ISP.
[in] | index | The ID of the sensor. |
[in] | outType | nvsipl::INvSIPLClient::ConsumerDesc::OutputType. |
[in] | numOfImages | Number of images in the pool. |
[in] | imageAttr | An NvSIPLImageAttr. |
|
pure virtual |
Sets a handler for events from an image processing pipeline.
Sets a NvSIPLPipelineNotifier to handle the events from the image processing pipeline.
[in] | uIndex | The ID of the sensor. |
[in] | pNotifier | A pointer to NvSIPLPipelineNotifier. |
|
pure virtual |
Sets a vector of INvSIPLClient::ConsumerDesc of consumers of image processing pipeline(s).
This function must be called after SetPlatformCfg() and before Init() Each INvSIPLClient::ConsumerDesc describes a consumer of an image processing pipeline output.
|
pure virtual |
Sets a platform configuration.
Function sets a PlatformCfg camera platform configuration. NvSIPLCamera uses the information in the platform configuration to create the necessary DeviceBlock(s) and Pipeline Manager(s).
[in] | platformCfg | PlatformCfg The external devices referenced in the platform configurations must be supported by the NvSIPL DeviceBlock (libnvsipl_devblk.so) |
|
pure virtual |
Starts NvSIPL Camera (libnvsipl.so) for the selected platform configuration.
The function internally starts the streaming from sensors belonging to each device block in the selected platform configuration and starts the associated image processing pipelines.
This function must be called after Init().
|
pure virtual |
Stops NvSIPL Camera (libnvsipl.so) for the selected platform configuration.
The function internally stops the streaming from sensors belonging to each device block in the selected platform configuration and stops the associated image processing pipelines.
This function must be called after Start().