NVIDIA DRIVE OS Linux API Reference

5.1.0.2 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 #include "NvSIPLClient.hpp"
16 
17 #include <string>
18 #include <cstdint>
19 #include <memory>
20 #include <vector>
21 
37 namespace nvsipl
38 {
39 
50 {
51 public:
54  {
65 
82  };
83 
86  {
91  };
92 
95  {
99  std::uint32_t uIndex;
100  };
101 
111  virtual ActionType OnEvent(NotificationData &oNotificationData)
112  {
113  return ACTION_NONE;
114  }
115 
117  virtual ~NvSIPLPipelineNotifier(void) = default;
118 };
119 
136 {
137 public:
139  struct RawBuffer
140  {
144  std::uint32_t uIndex;
145  };
146 
157  virtual SIPLStatus FillRawBuffer(RawBuffer &oRawBuffer) = 0;
158 
160  virtual ~NvSIPLImageGroupWriter(void) = default;
161 };
162 
169 
171  std::vector<NvMediaSurfAllocAttr> surfaceAllocAttr;
172 };
173 
174 } // namespace nvsipl
175 
176 
177 #endif //_NVSIPLPIPELINEMGR_HPP_
NVIDIA Sensor Input Processing Library: Client Interface - NvSIPL Client (libnvsipl.so)
#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 event.
virtual ActionType OnEvent(NotificationData &oNotificationData)
Handles a pipeline event.
#define NvMediaSurfaceType_Unsupported
Unsupported types.
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.
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 (NvMediaSurfaceType) of the image.
virtual ~NvSIPLPipelineNotifier(void)=default
Default destructor.
std::vector< NvMediaSurfAllocAttr > surfaceAllocAttr
Holds a vector of NvMediaSurfAllocAttr objects.
Describes the interfaces of SIPL pipeline notification handler.
virtual SIPLStatus FillRawBuffer(RawBuffer &oRawBuffer)=0
Populates the buffer with RAW data.
Indicates Deserializer link error recovery failure.
Indicates 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.
Indicates no action to be taken.
NvMediaImageGroup * imageGroup
Holds a pointer to NvMediaImageGroup.