NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvsipl::INvSIPLClient::INvMCallback Class Referenceabstract

Detailed Description

Describes a class with callback functions that must be implemented by the consumer of the SIPL image processing pipeline.

The consumer of the INvSIPLBuffer must implement a class derived from this class.

Definition at line 168 of file NvSIPLClient.hpp.

Public Member Functions

virtual SIPLStatus OnFrameAvailable (INvSIPLBuffer *pBuffer)=0
 A new output frame is available. More...
 
virtual SIPLStatus OnError (void)=0
 An error occurred in the image processing pipeline. More...
 
virtual ~INvMCallback (void)=default
 Default destructor. More...
 

Constructor & Destructor Documentation

virtual nvsipl::INvSIPLClient::INvMCallback::~INvMCallback ( void  )
virtualdefault

Default destructor.

Member Function Documentation

virtual SIPLStatus nvsipl::INvSIPLClient::INvMCallback::OnError ( void  )
pure virtual

An error occurred in the image processing pipeline.

This method is overridden by the implementation of the consumer. This function is called by SIPL pipeline thread.

TODO: Update this to include the error information and corrective action.

Returns
SIPLStatus. The status of the operation.
virtual SIPLStatus nvsipl::INvSIPLClient::INvMCallback::OnFrameAvailable ( INvSIPLBuffer pBuffer)
pure virtual

A new output frame is available.

This method is overridden by the implementation of the consumer. This function is called by SIPL pipeline thread.

The consumer must use INvSIPLBuffer::AddRef and INvSIPLBuffer::Release on the buffer if it intends to consume the buffer asynchronously in a different thread.

Parameters
[in]pBufferA pointer to INvSIPLBuffer.
Returns
SIPLStatus Indicates if the frame was consumed correctly.

The documentation for this class was generated from the following file: