NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvSIPLPipelineMgr.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 
11 #ifndef NVSIPLPIPELINEMGR_HPP
12 #define NVSIPLPIPELINEMGR_HPP
13 
14 #include "NvSIPLCommon.hpp"
15 
16 #include "nvmedia_image.h"
17 #include "nvmedia_surface.h"
18 
19 #include <cstdint>
20 #include <vector>
21 
39 namespace nvsipl
40 {
41 
52 {
53 public:
56  {
67 
85  };
86 
89  {
94  };
95 
98  {
103  std::uint32_t uIndex;
104  };
105 
116  virtual ActionType OnEvent(NotificationData &oNotificationData)
117  {
118  return ACTION_NONE;
119  }
120 
122  virtual ~NvSIPLPipelineNotifier(void) = default;
123 };
124 
142 {
143 public:
145  struct RawBuffer
146  {
150  std::uint32_t uIndex;
151  };
152 
164  virtual SIPLStatus FillRawBuffer(RawBuffer &oRawBuffer) = 0;
165 
167  virtual ~NvSIPLImageGroupWriter(void) = default;
168 };
169 
176 
178  std::vector<NvMediaSurfAllocAttr> surfaceAllocAttr;
179 };
180 
181 } // namespace nvsipl
182 
183 
184 #endif // NVSIPLPIPELINEMGR_HPP
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
NotificationType eNotifType
Holds the NotificationType event type.
ActionType
Defines the actions to be performed after certain events.
virtual ActionType OnEvent(NotificationData &oNotificationData)
Handles a pipeline event.
NVIDIA Media Interface: Surface Handling
#define NvMediaSurfaceType_Unsupported
Unsupported types.
NVIDIA Media Interface: Image Processing
Describes attributes of images used in image processing pipeline.
virtual ~NvSIPLImageGroupWriter(void)=default
Default destructor.
NVIDIA Sensor Input Processing Library: Common Data Structures - Sensor Input Processing Library (SI...
Describes an unprocessed sensor output buffer.
Indicates an end-of-file was encountered.
Holds a handle representing an image group.
Describes the interfaces of SIPL pipeline feeder.
SIPLStatus
Defines the status codes returned by functions in Sensor Input Processing Library (SIPL) modules...
std::uint32_t uIndex
Holds the ID of the pipeline.
NotificationType
Defines the events of the image processing pipeline.
NvMediaSurfaceType surfaceType
Holds the surface type of the image.
virtual ~NvSIPLPipelineNotifier(void)=default
Default destructor.
std::vector< NvMediaSurfAllocAttr > surfaceAllocAttr
Holds a vector of NvMediaSurfAllocAttr objects.
Describes the interfaces of the SIPL pipeline notification handler.
Indicates a CSI frame discontinuity was detected.
virtual SIPLStatus FillRawBuffer(RawBuffer &oRawBuffer)=0
Populates the buffer with RAW data.
Indicates a Deserializer link error recovery failure.
Specifies an attempt to recover the pipeline.
std::uint32_t uIndex
Holds the ID of the sensor in PlatformCfg.
Indicates pipeline was forced to drop a frame due to a slow consumer or system issues.
Specifies no action is to be taken.
NvMediaImageGroup * imageGroup
Holds a pointer to NvMediaImageGroup.