Loading [MathJax]/extensions/tex2jax.js
|
NVIDIA DRIVE OS Linux SDK API Reference
|
6.0.10.0 Release
|
Go to the documentation of this file.
12 #ifndef NVSIPLCAMERA_HPP
13 #define NVSIPLCAMERA_HPP
20 #include "INvSIPLDeviceInterfaceProvider.hpp"
109 size_t const nitoMemLength,
111 size_t const metadataArrayLength,
112 size_t *
const metadataCount);
114 #endif // NV_IS_SAFETY
116 typedef enum : std::uint8_t
131 typedef enum : std::uint8_t {
176 static std::unique_ptr<INvSIPLCamera>
GetInstance();
312 std::vector<uint8_t>
const &blob) = 0;
380 #endif // !NV_IS_SAFETY
515 uint16_t
const address,
516 uint32_t
const length,
517 uint8_t *
const buffer) = 0;
618 std::vector<NvSciBufObj>
const &images) = 0;
742 size_t & maxErrorSize) = 0;
789 bool & isRemoteError,
790 uint8_t& linkErrorMask) = 0;
941 #endif // !NV_IS_SAFETY
1079 IInterfaceProvider *&interfaceProvider) = 0;
1114 IInterfaceProvider *&interfaceProvider) = 0;
1127 #endif // NVSIPLCAMERA_HPP
NVIDIA SIPL: Client Interface - NvSIPL Client
virtual SIPLStatus GetDeserializerInterfaceProvider(uint32_t const devBlkIndex, IInterfaceProvider *&interfaceProvider)=0
Retrieve custom interface provider for deserializer.
virtual SIPLStatus GetMaxErrorSize(uint32_t const devBlkIndex, size_t &maxErrorSize)=0
Get maximum size of error information.
NVIDIA SIPL: Auto Control Interface - SIPL Auto Control
virtual SIPLStatus FillNvSciSyncAttrList(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSciSyncAttrList const attrList, NvSiplNvSciSyncClientType const clientType)=0
Fill an NvSciSyncAttrList.
virtual SIPLStatus GetImageAttributes(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSciBufAttrList &imageAttr)=0
Get image attributes.
virtual SIPLStatus RegisterNvSciSyncObj(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSiplNvSciSyncObjType const syncobjtype, NvSciSyncObj const syncobj)=0
Register an NvSciSyncObj.
virtual SIPLStatus SetPipelineCfg(uint32_t const index, NvSIPLPipelineConfiguration const &pipelineCfg, NvSIPLPipelineQueues &queues)=0
Set a pipeline configuration.
@ NVSIPL_MODULE_ERROR_READ_ALL
Read both sensor and serializer error information when getting error details.
PluginType
Defines types of SIPL Control Auto plug-ins.
SIPLModuleErrorReadFlag
Flag indicating which module errors to read.
virtual SIPLStatus Stop()=0
Stop streaming from all sensors in the selected platform configuration.
static std::unique_ptr< INvSIPLCamera > GetInstance()
Get a handle to an INvSIPLCamera instance.
virtual SIPLStatus RegisterAutoControlPlugin(uint32_t const index, PluginType type, ISiplControlAuto *const autoControl, std::vector< uint8_t > const &blob)=0
Register the Auto Control plugin to be used for a specific pipeline.
static constexpr size_t NITO_PARAMETER_SET_ID_SIZE
Size of the NITO Parameters set ID.
NVIDIA SIPL: Common Data Structures - SIPL
OutputType
Defines the types of the SIPL pipeline output.
NvSiplNvSciSyncClientType
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
Error details for a particular device.
NVIDIA Software Communications Interface (SCI) : NvSciSync
virtual SIPLStatus Init()=0
Initialize the API for the selected platform configuration.
virtual SIPLStatus Deinit()=0
Deinitialize the API for the selected platform configuration.
virtual SIPLStatus RegisterImages(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, std::vector< NvSciBufObj > const &images)=0
Register images.
virtual SIPLStatus DisableLink(uint32_t const index)=0
Disable a given link.
@ NVSIPL_EOFSYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts as a signaler, signaling EOFFence.
SIPLStatus GetNitoMetadataFromMemory(uint8_t const *const nitoMem, size_t const nitoMemLength, NvSIPLNitoMetadata *const metadataArray, size_t const metadataArrayLength, size_t *const metadataCount)
Get NITO Metadata (knobset UUID, schema hash, data hash) from a NITO memory buffer.
SIPLStatus
Defines the status codes returned by functions in SIPL modules.
@ SIPL_WAITER
For a given NvSciSyncObj SIPL acts as a waiter.
This is the output structure for INvSIPLCamera::SetPipelineCfg().
virtual SIPLStatus GetModuleInterfaceProvider(uint32_t const index, IInterfaceProvider *&interfaceProvider)=0
Retrieve custom interface provider for module.
virtual SIPLStatus SetPlatformCfg(PlatformCfg const *const platformConfig)=0
Set a platform configuration.
Defines the camera pipeline configuration.
NVIDIA SIPL: Pipeline Manager - NvSIPL Pipeline Manager
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
The top-level API for SIPL.
static constexpr size_t NITO_DATA_HASH_SIZE
Size of the NITO Data Hash.
@ SIPL_SIGNALER
For a given NvSciSyncObj SIPL acts as a signaler.
INvSIPLCamera & operator=(INvSIPLCamera &other) &=delete
NVIDIA Software Communications Interface (SCI) : NvSciStream
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSiplNvSciSyncObjType
Defines SIPL NvSciSyncObj types.
virtual SIPLStatus SetSensorCharMode(uint32_t const index, uint8_t expNo)=0
Set sensor in characterization mode.
virtual SIPLStatus GetModuleErrorInfo(uint32_t const index, SIPLErrorDetails *const serializerErrorInfo, SIPLErrorDetails *const sensorErrorInfo, SIPLModuleErrorReadFlag const errorsToRead=NVSIPL_MODULE_ERROR_READ_ALL)=0
Gets generic module error information.
virtual SIPLStatus GetDeserializerErrorInfo(uint32_t const devBlkIndex, SIPLErrorDetails *const deserializerErrorInfo, bool &isRemoteError, uint8_t &linkErrorMask)=0
Get generic deserializer error information.
@ NVSIPL_PRESYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts as a waiter.
Contains the classes and variables for implementation of SIPL.
static constexpr size_t NITO_SCHEMA_HASH_SIZE
Size of the NITO Schema Hash.
virtual SIPLStatus EnableLink(uint32_t const index, bool const resetModule)=0
Enable a given link.
virtual SIPLStatus ToggleLED(uint32_t const index, bool enable)=0
Control the LED on the associated camera module.
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Defines SIPL Control Auto Interface Class.
virtual ~INvSIPLCamera()=default
Default destructor.
virtual SIPLStatus ReadEEPROMData(uint32_t const index, uint16_t const address, uint32_t const length, uint8_t *const buffer)=0
Read from an EEPROM in a camera module.
Holds the queues used by the client to receive device block event notifications.
virtual SIPLStatus Start()=0
Begin streaming from all sensors in the selected platform configuration.
人人超碰97caoporen国产