|
NVIDIA DRIVE OS Linux SDK API Reference
|
6.0.3 Release
|
Go to the documentation of this file.
10 #ifndef NVSIPLCAMERA_HPP
11 #define NVSIPLCAMERA_HPP
18 #include "INvSIPLDeviceInterfaceProvider.hpp"
22 #endif // !NV_IS_SAFETY
107 size_t const nitoMemLength,
109 size_t const metadataArrayLength,
110 size_t *
const metadataCount);
112 #endif // NV_IS_SAFETY
189 static std::unique_ptr<INvSIPLCamera>
GetInstance();
321 const std::vector<uint8_t>& blob) = 0;
438 #endif // !NV_IS_SAFETY
554 const uint16_t address,
555 const uint32_t length,
556 uint8_t *
const buffer) = 0;
603 const std::vector<NvMediaImageGroup*> &imageGroups)
664 const std::vector<NvMediaImage*> &images)
734 const std::vector<NvSciBufObj> &images) = 0;
856 size_t & maxErrorSize) = 0;
892 const uint32_t gpioIndex,
940 bool & isRemoteError,
941 uint8_t& linkErrorMask) = 0;
1092 #endif // !NV_IS_SAFETY
1280 IInterfaceProvider *&interfaceProvider) = 0;
1315 IInterfaceProvider *&interfaceProvider) = 0;
1324 #endif // NVSIPLCAMERA_HPP
virtual SIPLStatus RegisterImageGroups(uint32_t const index, const std::vector< NvMediaImageGroup * > &imageGroups) NVM_DEPRECATED_MSG("Removed in future release")=0
Register image groups.
NVIDIA SIPL: Client Interface - NvSIPL Client
virtual SIPLStatus GetDeserializerInterfaceProvider(uint32_t const devBlkIndex, IInterfaceProvider *&interfaceProvider)=0
Retrieve custom interface provider for deserializer.
virtual SIPLStatus GetErrorGPIOEventInfo(const uint32_t devBlkIndex, const uint32_t gpioIndex, SIPLGpioEvent &event)=0
Get the error interrupt event information for a GPIO activation.
NVIDIA SIPL: Auto Control Interface - SIPL Auto Control
virtual SIPLStatus GetDeserializerErrorInfo(const uint32_t devBlkIndex, SIPLErrorDetails *const deserializerErrorInfo, bool &isRemoteError, uint8_t &linkErrorMask)=0
Get generic deserializer error information.
const size_t NITO_DATA_HASH_SIZE
virtual SIPLStatus ToggleLED(uint32_t index, bool enable)=0
Control the LED on the associated camera module.
virtual SIPLStatus Stop()=0
Stop streaming from all sensors in the selected platform configuration.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
static std::unique_ptr< INvSIPLCamera > GetInstance()
Get a handle to an INvSIPLCamera instance.
virtual SIPLStatus SetSensorCharMode(uint32_t index, uint8_t expNo)=0
Set sensor in characterization mode.
SIPLGpioEvent
CDAC GPIO event codes.
NVIDIA SIPL: Common Data Structures - SIPL
@ SIPL_SIGNALER
For a given SyncObj SIPL acts as a signaler.
SIPLModuleErrorReadFlag
Flag indicating which module errors to read.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
Error details for a particular device.
const size_t NITO_SCHEMA_HASH_SIZE
virtual SIPLStatus EnableLink(uint32_t index, bool const resetModule)=0
Enable a given link.
NVIDIA Software Communications Interface (SCI) : NvSciSync
@ NVSIPL_MODULE_ERROR_READ_ALL
Read both sensor and serializer error information when getting error details.
virtual SIPLStatus Init()=0
Initialize the API for the selected platform configuration.
virtual SIPLStatus RegisterNvSciSyncObj(uint32_t index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvMediaNvSciSyncObjType const syncobjtype, NvSciSyncObj const syncobj) NVM_DEPRECATED_MSG("Removed in future release")=0
Register an NvSciSyncObj.
virtual SIPLStatus Deinit()=0
Deinitialize the API for the selected platform configuration.
OutputType
Defines the types of the SIPL pipeline output.
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.
This is the output structure for SetPipelineCfg().
virtual SIPLStatus SetPlatformCfg(const PlatformCfg *const platformConfig)=0
Set a platform configuration.
@ NVSIPL_PRESYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts as a waiter.
virtual SIPLStatus GetModuleInterfaceProvider(uint32_t const index, IInterfaceProvider *&interfaceProvider)=0
Retrieve custom interface provider for module.
@ NVSIPL_EOF_PRESYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts both as a signaler, signaling EOFFence,...
virtual SIPLStatus ReadEEPROMData(const uint32_t index, const uint16_t address, const uint32_t length, uint8_t *const buffer)=0
Read from an EEPROM in a camera module.
Defines the camera pipeline configuration.
Describes attributes of images used in image processing pipeline.
virtual SIPLStatus GetImageAttributes(uint32_t index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSIPLImageAttr &imageAttr) NVM_DEPRECATED_MSG("Removed in future release")=0
Get image attributes.
SIPLStatus
Defines the status codes returned by functions in SIPL modules.
NVIDIA SIPL: Pipeline Manager - NvSIPL Pipeline Manager
NvSiplNvSciSyncObjType
Defines SIPL NvSciSyncObj types.
virtual SIPLStatus DisableLink(uint32_t index)=0
Disable a given link.
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
The top-level API for SIPL.
NVIDIA Software Communications Interface (SCI) : NvSciStream
virtual SIPLStatus SetPipelineCfg(uint32_t index, const NvSIPLPipelineConfiguration &pipelineCfg, NvSIPLPipelineQueues &queues)=0
Set a pipeline configuration.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSiplNvSciSyncClientType
virtual SIPLStatus RegisterImages(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, const std::vector< NvMediaImage * > &images) NVM_DEPRECATED_MSG("Removed in future release")=0
Register images.
virtual SIPLStatus GetMaxErrorSize(const uint32_t devBlkIndex, size_t &maxErrorSize)=0
Get maximum size of error information.
@ NVSIPL_SOF_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence,...
virtual SIPLStatus RegisterAutoControlPlugin(uint32_t index, PluginType type, ISiplControlAuto *const autoControl, const std::vector< uint8_t > &blob)=0
Register the Auto Control plugin to be used for a specific pipeline.
@ NVSIPL_EOFSYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts as a signaler, signaling EOFFence.
Contains the classes and variables for implementation of SIPL.
const size_t NITO_PARAMETER_SET_ID_SIZE
@ NVSIPL_SOFSYNCOBJ
Specifies an NvSciSyncObj type for which SIPL acts as a signaler, signaling SOFFence.
PluginType
Defines types of SIPL Control Auto plug-ins.
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.
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.
virtual SIPLStatus FillNvSciSyncAttrList(uint32_t index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSciSyncAttrList const attrList, NvMediaNvSciSyncClientType const clientType) NVM_DEPRECATED_MSG("Removed in future release")=0
Fill an NvSciSyncAttrList.
virtual SIPLStatus GetModuleErrorInfo(const uint32_t index, SIPLErrorDetails *const serializerErrorInfo, SIPLErrorDetails *const sensorErrorInfo, const SIPLModuleErrorReadFlag errorsToRead=NVSIPL_MODULE_ERROR_READ_ALL)=0
Gets generic module error information.
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.