|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.3 Release For Test and Development only
|
Go to the documentation of this file.
11 #ifndef NVSIPLPIPELINEMGR_HPP
12 #define NVSIPLPIPELINEMGR_HPP
249 #endif // !NV_IS_SAFETY
316 #endif // !NV_IS_SAFETY
345 size_t timeoutUsec) = 0;
352 virtual size_t GetCount()
const = 0;
388 size_t timeoutUsec) = 0;
395 virtual size_t GetCount()
const = 0;
451 #endif // NVSIPLPIPELINEMGR_HPP
@ NOTIF_ERROR_SENSOR_FAILURE
Device block event, indicates a sensor failure.
NVIDIA SIPL: Client Interface - NvSIPL Client
@ NOTIF_WARN_ICP_FRAME_DISCONTINUITY
Pipeline event, indicates a discontinuity was detected in parsed embedded data frame sequence number.
INvSIPLNotificationQueue * notificationQueue
The queue for event notifications.
static const uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM
Indicates the maximum number of device blocks per platform.
uint64_t frameCaptureTSC
Holds the TSC timestamp of the frame capture.
INvSIPLFrameCompletionQueue * isp1CompletionQueue
The queue for completed frames from the second ISP output.
Downscale and crop configuration.
The interface to the notification queue.
INvSIPLFrameCompletionQueue * captureCompletionQueue
The queue for completed capture frames.
NvMediaImageGroup * imageGroup
Holds a pointer to NvMediaImageGroup.
INvSIPLFrameCompletionQueue * isp0CompletionQueue
The queue for completed frames from the first ISP output.
bool discontinuity
Holds a flag to signal discontinuity for the current raw buffer from the previous one.
uint8_t uLinkMask
Holds the device block link mask.
virtual ~NvSIPLImageGroupWriter(void)=default
Default destructor.
virtual SIPLStatus Get(NvSIPLPipelineNotifier::NotificationData &item, size_t timeoutUsec)=0
Retrieve the next item from the queue.
@ NOTIF_ERROR_DESER_LINK_FAILURE
Device block event, indicates a deserializer link error.
NotificationType eNotifType
Holds the NotificationType event type.
@ CUSTOM_PLUGIN0
Custom plug-in 0.
NVIDIA SIPL: Common Data Structures - SIPL
virtual SIPLStatus Get(INvSIPLClient::INvSIPLBuffer *&item, size_t timeoutUsec)=0
Retrieve the next item from the queue.
@ NOTIF_ERROR_ICP_BAD_INPUT_STREAM
Pipeline event, indicates ICP bad input stream.
INvSIPLNotificationQueue()=default
std::vector< NvMediaSurfAllocAttr > surfaceAllocAttr
Holds a vector of NvMediaSurfAllocAttr objects.
Defines the notification data.
@ NOTIF_ERROR_ISP_PROCESSING_FAILURE
Pipeline event, indicates ISP processing failure.
bool isp1OutputCropEnable
Indicates if ISP1 output crop is enabled.
uint32_t uIndex
Holds the ID of the pipeline.
Describes the interfaces of SIPL buffer.
NvMediaSurfaceType surfaceType
Holds the surface type of the image.
bool captureOutputRequested
true if the client wants capture output frames to be delivered
Describes the interfaces of the SIPL pipeline notification handler.
Describes an unprocessed sensor output buffer.
@ NOTIF_ERROR_DESERIALIZER_FAILURE
Device block event, indicates a deserializer failure.
bool isp0DownscaleEnable
Indicates if ISP0 downscale is enabled.
@ NOTIF_WARN_ICP_FRAME_DROP
Pipeline event, indicates pipeline was forced to drop a frame due to a slow consumer or system issues...
uint32_t isp1DownscaleHeight
ISP1 downscale height.
bool ispInputCropEnable
Indicates if ISP input crop is enabled.
This is the output structure for SetPipelineCfg().
uint32_t uIndex
Holds the ID of the sensor in PlatformCfg.
@ NOTIF_ERROR_CDI_SET_SENSOR_CTRL_FAILURE
Pipeline event, indicates CDI set sensor control failure.
NvSIPLImageGroupWriter * imageGroupWriter
Holds a pointer to an NvSIPLImageGroupWriter.
@ NOTIF_ERROR_ICP_CAPTURE_FAILURE
Pipeline event, indicates ICP capture failure.
Defines the camera pipeline configuration.
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
virtual size_t GetCount() const =0
Return the current queue length.
Describes attributes of images used in image processing pipeline.
INvSIPLNotificationQueue * notificationQueue[MAX_DEVICEBLOCKS_PER_PLATFORM]
Queues for event notifications for each device block.
bool isp1OutputRequested
true if the client wants frames to be delivered from the second ISP output
SIPLStatus
Defines the status codes returned by functions in SIPL modules.
bool isp0OutputRequested
true if the client wants frames to be delivered from the first ISP output
@ NOTIF_WARN_ICP_CAPTURE_TIMEOUT
Pipeline event, indicates occurrence of timeout while capturing.
@ NV_PLUGIN
NVIDIA plug-in.
@ NOTIF_ERROR_SERIALIZER_FAILURE
Device block event, indicates a serializer failure.
@ NOTIF_ERROR_ACP_PROCESSING_FAILURE
Pipeline event, indicates auto control processing failure.
Describes the interfaces of SIPL pipeline feeder.
virtual ~INvSIPLNotificationQueue()=default
#define NvMediaSurfaceType_Unsupported
Unsupported types.
virtual size_t GetCount() const =0
Return the current queue length.
NvMediaRect ispInputCrop
ISP input crop rectangle.
The interface to the frame completion queue.
uint32_t isp0DownscaleWidth
ISP0 downscale width.
bool isp0OutputCropEnable
Indicates if ISP0 output crop is enabled.
@ NOTIF_INFO_CDI_PROCESSING_DONE
Pipeline event, indicates CDI processing is finished.
bool isp1DownscaleEnable
Indicates if ISP1 downscale is enabled.
virtual SIPLStatus FillRawBuffer(RawBuffer &oRawBuffer)=0
Populates the buffer with RAW data.
virtual ~NvSIPLPipelineNotifier(void)=default
Default destructor.
virtual ~INvSIPLFrameCompletionQueue()=default
NvMediaRect isp0OutputCrop
ISP0 output crop rectangle.
@ NOTIF_INFO_ICP_PROCESSING_DONE
Pipeline event, indicates ICP processing is finished.
PluginType
Defines types of SIPL Control Auto plug-ins.
@ NOTIF_ERROR_INTERNAL_FAILURE
Pipeline and device block event, indicates an unexpected internal failure.
std::set< uint32_t > gpioIdxs
Holds the GPIO indices.
@ NOTIF_INFO_ACP_PROCESSING_DONE
Pipeline event, indicates auto control processing is finished.
Contains the classes and variables for implementation of SIPL.
INvSIPLFrameCompletionQueue()=default
uint32_t isp0DownscaleHeight
ISP0 downscale height.
NvMediaRect isp1OutputCrop
ISP1 output crop rectangle.
NotificationType
Defines the events of the image processing pipeline and the device block.
uint32_t isp1DownscaleWidth
ISP1 downscale width.
NvSIPLDownscaleCropCfg downscaleCropCfg
Holds a downscale and crop configuration.
@ NOTIF_ERROR_ICP_EMB_DATA_PARSE_FAILURE
Pipeline event, indicates embedded data parsing failure.
Holds the queues used by the client to receive device block event notifications.
@ MAX_NUM_PLUGINS
Maximum number of plug-ins supported.
@ NOTIF_INFO_ISP_PROCESSING_DONE
Pipeline event, indicates ISP processing is finished.