|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
12 #ifndef NVSIPLCAMERA_HPP
13 #define NVSIPLCAMERA_HPP
109 size_t const nitoMemLength,
111 size_t const metadataArrayLength,
112 size_t *
const metadataCount);
114 #endif // NV_IS_SAFETY
179 static std::unique_ptr<INvSIPLCamera>
GetInstance();
315 std::vector<uint8_t>
const &blob) = 0;
387 #endif // !NV_IS_SAFETY
522 uint16_t
const address,
523 uint32_t
const length,
524 uint8_t *
const buffer) = 0;
626 std::vector<NvSciBufObj>
const &images) = 0;
753 size_t & maxErrorSize) = 0;
800 bool & isRemoteError,
801 uint8_t& linkErrorMask) = 0;
952 #endif // !NV_IS_SAFETY
1171 #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.
struct NvSciSyncObjRec * NvSciSyncObj
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 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
Defines SIPL NvSciSync client types.
Error details for a particular device.
struct NvSciBufAttrListRec * NvSciBufAttrList
NVIDIA Software Communications Interface (SCI) : NvSciSync
NVIDIA SIPL: Device Interface Provider Interface
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 GetPipelineInterfaceProvider(uint32_t const index, IInterfaceProvider *&interfaceProvider) noexcept=0
Retrieve the custom interface provider for a sensor pipeline.
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
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
Delete copy assignment operator.
NVIDIA Software Communications Interface (SCI) : NvSciStream
Class providing access to device interfaces.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSiplNvSciSyncObjType
Defines SIPL NvSciSyncObj types.
INvSIPLCamera()=default
Default constructor declared in order to allow construction of derived objects.
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.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
@ NVSIPL_PRESYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts as a waiter.
Contains the classes and variables for implementation of SIPL.
virtual SIPLStatus GetImageAttributes(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSciBufAttrList const &imageAttr)=0
Get image attributes.
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.
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.