NVIDIA DRIVE OS Linux SDK API Reference

5.2.0 Release
For Test and Development only
nvsipl::NvSIPLPipelineNotifier Class Reference

Detailed Description

Describes the interfaces of the SIPL pipeline notification handler.

This class defines data structures and interfaces that must be implemented by a SIPL pipeline notification handler.

Definition at line 62 of file NvSIPLPipelineMgr.hpp.

Data Structures

struct  NotificationData
 Defines the notification data. More...
 

Public Types

enum  NotificationType {
  NOTIF_INFO_ICP_PROCESSING_DONE = 0,
  NOTIF_INFO_ISP_PROCESSING_DONE,
  NOTIF_INFO_ACP_PROCESSING_DONE,
  NOTIF_INFO_CDI_PROCESSING_DONE,
  NOTIF_WARN_ICP_FRAME_DROP = 100,
  NOTIF_WARN_ICP_FRAME_DISCONTINUITY,
  NOTIF_WARN_ICP_CAPTURE_TIMEOUT,
  NOTIF_ERROR_ICP_BAD_INPUT_STREAM = 200,
  NOTIF_ERROR_ICP_CAPTURE_FAILURE,
  NOTIF_ERROR_ICP_EMB_DATA_PARSE_FAILURE,
  NOTIF_ERROR_ISP_PROCESSING_FAILURE,
  NOTIF_ERROR_ACP_PROCESSING_FAILURE,
  NOTIF_ERROR_CDI_SET_SENSOR_CTRL_FAILURE,
  NOTIF_ERROR_DESER_LINK_FAILURE,
  NOTIF_ERROR_INTERNAL_FAILURE = 300
}
 Defines the events of the image processing pipeline. More...
 

Public Member Functions

virtual void OnEvent (NotificationData &oNotificationData)
 Handles a pipeline event. More...
 
virtual ~NvSIPLPipelineNotifier (void)=default
 Default destructor. More...
 

Member Enumeration Documentation

◆ NotificationType

Defines the events of the image processing pipeline.

Enumerator
NOTIF_INFO_ICP_PROCESSING_DONE 

Indicates ICP processing is finished.

NOTIF_INFO_ISP_PROCESSING_DONE 

Indicates ISP processing is finished.

NOTIF_INFO_ACP_PROCESSING_DONE 

Indicates auto control processing is finished.

NOTIF_INFO_CDI_PROCESSING_DONE 

Indicates CDI processing is finished.

NOTIF_WARN_ICP_FRAME_DROP 

Indicates pipeline was forced to drop a frame due to a slow consumer or system issues.

Note
Only eNotifType & uIndex members are valid in NotificationData for this event.
NOTIF_WARN_ICP_FRAME_DISCONTINUITY 

Indicates a discontinuity was detected in parsed embedded data frame sequence number.

Note
Only eNotifType & uIndex members are valid in NotificationData for this event.
NOTIF_WARN_ICP_CAPTURE_TIMEOUT 

Indicates occurrence of timeout while capturing.

Note
Only eNotifType & uIndex members are valid in NotificationData for this event.
NOTIF_ERROR_ICP_BAD_INPUT_STREAM 

Indicates ICP bad input stream.

Note
Only eNotifType & uIndex members are valid in NotificationData for this event.
NOTIF_ERROR_ICP_CAPTURE_FAILURE 

Indicates ICP capture failure.

Note
Only eNotifType & uIndex members are valid in NotificationData for this event.
NOTIF_ERROR_ICP_EMB_DATA_PARSE_FAILURE 

Indicates embedded data parsing failure.

NOTIF_ERROR_ISP_PROCESSING_FAILURE 

Indicates ISP processing failure.

NOTIF_ERROR_ACP_PROCESSING_FAILURE 

Indicates auto control processing failure.

NOTIF_ERROR_CDI_SET_SENSOR_CTRL_FAILURE 

Indicates CDI set sensor control failure.

NOTIF_ERROR_DESER_LINK_FAILURE 

Indicates a deserializer link error.

Note
Only eNotifType & uIndex members are valid in NotificationData for this event.
NOTIF_ERROR_INTERNAL_FAILURE 

Indicates an unexpected internal failure.

Definition at line 66 of file NvSIPLPipelineMgr.hpp.

Constructor & Destructor Documentation

◆ ~NvSIPLPipelineNotifier()

virtual nvsipl::NvSIPLPipelineNotifier::~NvSIPLPipelineNotifier ( void  )
virtualdefault

Default destructor.

Member Function Documentation

◆ OnEvent()

virtual void nvsipl::NvSIPLPipelineNotifier::OnEvent ( NotificationData oNotificationData)
inlinevirtual

Handles a pipeline event.

The consumer's implementation overrides this method. The method is called by the SIPL pipeline thread.

The consumer can use pipeline events to track the flow of buffers in the image processing pipeline and take any necessary corrective action in case of an error or unexpected events.

Parameters
[in]oNotificationDataA reference to NotificationData.

Definition at line 131 of file NvSIPLPipelineMgr.hpp.


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