|
|
Jetson Linux API Reference
|
39.2 Release
|
Go to the documentation of this file.
12 #ifndef NVSIPLCAMERA_HPP
13 #define NVSIPLCAMERA_HPP
23 #include "nvscisync.h"
24 #include "nvscistream.h"
114 size_t const nitoMemLength,
116 size_t const metadataArrayLength,
117 size_t *
const metadataCount);
119 #endif // NV_IS_SAFETY
205 static std::unique_ptr<INvSIPLCamera>
GetInstance();
367 uint32_t
const vcIdx = 0U) = 0;
409 std::vector<uint8_t>
const &blob,
410 uint32_t
const vcIdx = 0U,
454 std::vector<ISiplControlAuto*>
const &autoControls,
455 std::vector<std::vector<uint8_t>>
const &blobs,
456 uint32_t
const vcIdx = 0U,
457 std::vector<FrameProcessingRate>
const &processingRates = {}) = 0;
537 #endif // !NV_IS_SAFETY
642 NvSciBufAttrList
const &imageAttr,
643 uint32_t
const vcIdx = 0U) = 0;
682 uint16_t
const address,
683 uint32_t
const length,
684 uint8_t *
const buffer) = 0;
794 std::vector<NvSciBufObj>
const &images,
795 uint32_t
const vcIdx = 0U) = 0;
938 size_t & maxErrorSize) = 0;
989 bool & isRemoteError,
990 uint8_t& linkErrorMask) = 0;
1157 #endif // !NV_IS_SAFETY
1230 NvSciSyncAttrList
const attrList,
1232 uint32_t
const vcIdx = 0U) = 0;
1270 NvSciSyncObj
const syncobj,
1271 uint32_t
const vcIdx = 0U) = 0;
1311 uint32_t
const vcIdx = 0U) noexcept = 0;
1401 #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 RegisterAutoControlPlugin(uint32_t const index, PluginType type, ISiplControlAuto *const autoControl, std::vector< uint8_t > const &blob, uint32_t const vcIdx=0U, FrameProcessingRate const processingRate=FULL_RATE)=0
Register the Auto Control plugin to be used for a specific pipeline.
@ FULL_RATE
Process Auto Control (AE-AWB) and ISP every frame (default).
virtual SIPLStatus SetPipelineCfg(uint32_t const index, NvSIPLPipelineConfiguration const &pipelineCfg, NvSIPLPipelineQueues &queues, uint32_t const vcIdx=0U)=0
Set a pipeline configuration.
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 GetImageAttributes(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSciBufAttrList const &imageAttr, uint32_t const vcIdx=0U)=0
Get image attributes.
@ NVSIPL_MODULE_ERROR_READ_ALL
Read both sensor and serializer error information when getting error details.
virtual SIPLStatus FillNvSciSyncAttrList(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSciSyncAttrList const attrList, NvSiplNvSciSyncClientType const clientType, uint32_t const vcIdx=0U)=0
Fill an NvSciSyncAttrList.
PluginType
Defines types of SIPL Control Auto plug-ins.
SIPLModuleErrorReadFlag
Flag indicating which module errors to read.
Combined structure describing module configurations and transport configurations.
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.
static constexpr size_t NITO_PARAMETER_SET_ID_SIZE
Size of the NITO Parameters set ID.
NVIDIA SIPL: Common Data Structures - SIPL
@ HALF_RATE
Process Auto Control (AE-AWB) and ISP every 2nd frame (half rate).
OutputType
Defines the types of the SIPL pipeline output.
NvSiplNvSciSyncClientType
Defines SIPL NvSciSync client types.
Error details for a particular device.
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.
@ AWB_THIRD_RATE
Process AE and ISP every frame, AWB every 3rd frame.
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.
virtual SIPLStatus RegisterNvSciSyncObj(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, NvSiplNvSciSyncObjType const syncobjtype, NvSciSyncObj const syncobj, uint32_t const vcIdx=0U)=0
Register an NvSciSyncObj.
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 RegisterImages(uint32_t const index, INvSIPLClient::ConsumerDesc::OutputType const outType, std::vector< NvSciBufObj > const &images, uint32_t const vcIdx=0U)=0
Register images.
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.
Class providing access to device interfaces.
NvSiplNvSciSyncObjType
Defines SIPL NvSciSyncObj types.
FrameProcessingRate
Defines Auto Control and ISP processing rate options.
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 GetPipelineInterfaceProvider(uint32_t const index, IInterfaceProvider *&interfaceProvider, uint32_t const vcIdx=0U) noexcept=0
Retrieve the custom interface provider for a sensor pipeline.
@ AWB_HALF_RATE
Process AE and ISP every frame, AWB every 2nd frame.
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.
@ THIRD_RATE
Process Auto Control (AE-AWB) and ISP every 3rd frame (third rate).
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.
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.