|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.0 Release For Test and Development only
|
Go to the documentation of this file.
11 #ifndef NVSIPLPIPELINEMGR_HPP
12 #define NVSIPLPIPELINEMGR_HPP
240 std::vector<INvSIPLClient::ConsumerDesc>
clients;
300 size_t timeoutUsec) = 0;
307 virtual size_t GetCount()
const = 0;
343 size_t timeoutUsec) = 0;
350 virtual size_t GetCount()
const = 0;
397 #endif // NVSIPLPIPELINEMGR_HPP
NVIDIA SIPL: Client Interface - NvSIPL Client
std::uint32_t isp0DownscaleHeight
ISP0 downscale height.
@ NOTIF_WARN_ICP_FRAME_DISCONTINUITY
Indicates a discontinuity was detected in parsed embedded data frame sequence number.
INvSIPLNotificationQueue * notificationQueue
The queue for event notifications.
INvSIPLFrameCompletionQueue * isp1CompletionQueue
The queue for completed frames from the second ISP output.
Downscale and crop configuration.
The interface to the notification queue.
NvSIPLPipelineNotifier * notifier
Holds a pointer to an NvSIPLPipelineNotifier.
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.
virtual ~NvSIPLImageGroupWriter(void)=default
Default destructor.
std::uint32_t uIndex
Holds the ID of the sensor in PlatformCfg.
virtual SIPLStatus Get(NvSIPLPipelineNotifier::NotificationData &item, size_t timeoutUsec)=0
Retrieve the next item from the queue.
@ NOTIF_ERROR_DESER_LINK_FAILURE
Indicates a deserializer link error.
NotificationType eNotifType
Holds the NotificationType event type.
@ CUSTOM_PLUGIN0
Custom plug-in 0.
std::vector< INvSIPLClient::ConsumerDesc > clients
Holds a vector of INvSIPLClient::ConsumerDesc.
NVIDIA SIPL: Common Data Structures - SIPL
std::uint32_t isp0DownscaleWidth
ISP0 downscale width.
virtual SIPLStatus Get(INvSIPLClient::INvSIPLBuffer *&item, size_t timeoutUsec)=0
Retrieve the next item from the queue.
@ NOTIF_ERROR_ICP_BAD_INPUT_STREAM
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
Indicates ISP processing failure.
std::uint32_t uIndex
Holds the ID of the pipeline.
bool isp1OutputCropEnable
Indicates if ISP1 output crop is enabled.
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.
Defines the camera pipeline configuration.
bool isp0DownscaleEnable
Indicates if ISP0 downscale is enabled.
@ NOTIF_WARN_ICP_FRAME_DROP
Indicates pipeline was forced to drop a frame due to a slow consumer or system issues.
bool ispInputCropEnable
Indicates if ISP input crop is enabled.
This is the output structure for the new version of SetPipelineCfg().
@ NOTIF_ERROR_CDI_SET_SENSOR_CTRL_FAILURE
Indicates CDI set sensor control failure.
NvSIPLImageGroupWriter * imageGroupWriter
Holds a pointer to an NvSIPLImageGroupWriter.
@ NOTIF_ERROR_ICP_CAPTURE_FAILURE
Indicates ICP capture failure.
std::uint64_t frameCaptureTSC
Holds the TSC timestamp of the frame capture.
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.
NvSIPLDownscaleCropCfg downscaleCropCfg
Holds a downscale and crop configuration.
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
Indicates occurrence of timeout while capturing.
@ NV_PLUGIN
NVIDIA plug-in.
@ NOTIF_ERROR_ACP_PROCESSING_FAILURE
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.
NvSIPLImageGroupWriter * imageGroupWriter
Holds a pointer to an NvSIPLImageGroupWriter.
NvMediaRect ispInputCrop
ISP input crop rectangle.
The interface to the frame completion queue.
bool isp0OutputCropEnable
Indicates if ISP0 output crop is enabled.
virtual void OnEvent(NotificationData &oNotificationData)
Handles a pipeline event.
@ NOTIF_INFO_CDI_PROCESSING_DONE
Indicates CDI processing is finished.
std::uint32_t isp1DownscaleHeight
ISP1 downscale height.
bool isp1DownscaleEnable
Indicates if ISP1 downscale is enabled.
virtual SIPLStatus FillRawBuffer(RawBuffer &oRawBuffer)=0
Populates the buffer with RAW data.
std::uint32_t isp1DownscaleWidth
ISP1 downscale width.
virtual ~NvSIPLPipelineNotifier(void)=default
Default destructor.
virtual ~INvSIPLFrameCompletionQueue()=default
NvMediaRect isp0OutputCrop
ISP0 output crop rectangle.
@ NOTIF_INFO_ICP_PROCESSING_DONE
Indicates ICP processing is finished.
PluginType
Defines types of SIPL Control Auto plug-ins.
@ NOTIF_ERROR_INTERNAL_FAILURE
Indicates an unexpected internal failure.
@ NOTIF_INFO_ACP_PROCESSING_DONE
Indicates auto control processing is finished.
Contains the classes and variables for implementation of SIPL.
INvSIPLFrameCompletionQueue()=default
NvMediaRect isp1OutputCrop
ISP1 output crop rectangle.
NotificationType
Defines the events of the image processing pipeline.
NvSIPLDownscaleCropCfg downscaleCropCfg
Holds a downscale and crop configuration.
@ NOTIF_ERROR_ICP_EMB_DATA_PARSE_FAILURE
Indicates embedded data parsing failure.
@ MAX_NUM_PLUGINS
Maximum number of plug-ins supported.
@ NOTIF_INFO_ISP_PROCESSING_DONE
Indicates ISP processing is finished.