|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
13 #ifndef NVSIPLDEVICEBLOCKINFO_HPP
14 #define NVSIPLDEVICEBLOCKINFO_HPP
186 uint32_t
id = UINT32_MAX;
192 #endif // !NV_IS_SAFETY
219 #if defined(NVMEDIA_QNX) || defined(NVMEDIA_LINUX)
236 #endif // NVMEDIA_QNX
247 #endif // !NV_IS_SAFETY
275 uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
323 #endif // !NV_IS_SAFETY
333 #endif // !NV_IS_SAFETY
369 std::string keyPurpose;
386 uint32_t cryptoChanID;
396 std::string
const &
name,
405 std::string
const &
name() const noexcept {
return keyName; }
411 std::string
const &
purpose() const noexcept {
return keyPurpose; }
417 uint32_t
chanID() const noexcept {
return cryptoChanID; }
433 #endif // !NV_IS_SAFETY
440 #if !(NV_IS_SAFETY) || (defined(SAFETY_DBG_OV) && (SAFETY_DBG_OV))
449 #endif // !(NV_IS_SAFETY) || (defined(SAFETY_DBG_OV) && (SAFETY_DBG_OV))
494 #endif // !NV_IS_SAFETY
611 #endif // !NV_IS_SAFETY
743 #endif //NVSIPLDEVICEBLOCKINFO_HPP
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the EEPROM.
@ NVSIPL_CAP_CSI_INTERFACE_TYPE_CSI_A
Specifies CSI port A.
uint32_t idx
The interrupt GPIO index.
uint32_t chanID() const noexcept
Returns a crypto channel ID associated with the key.
std::vector< CryptoKeyInfo > cryptoKeysList
Allows to specify crypto keys IDs used by the camera module driver and to associate each key with spe...
std::string name
Holds the name of the deserializer, for example, "MAX96712".
std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION]
Holds the deserializer's data rate in DPHY mode(kHz)
static constexpr std::uint32_t MAX_CSI_LANE_CONFIGURATION
Indicates the maximum number of CSI lane configurations.
NvSiplCapInterfaceType csiPort
Holds the NvSiplCapInterfaceType that specifies the CSI port of the SoC to which the deserializer is ...
@ DESER_POWER_FAILURE
Deserializer Power Failure causing Initialization issue in the camera pipeline.
VirtualChannelInfo vcInfo
Holds virtual channel information.
bool isAuthEnabled
Holds a flag which indicates whether sensor itself and all data exchange with sensor (image data and ...
Describes an Interrupt GPIO configuration.
@ DESER_INIT_FAILURE
Deserializer Init Failure causing failure in the camera pipeline.
DeserInfo deserInfo
Holds the DeserInfo deserializer information.
@ DESER_CHECK_LINK_LOCK_FAILURE
Deserializer Check Link Lock Failure causing failure in the camera pipeline.
uint32_t timeout_ms
Error localization timeout duration [ms], 0 to disable.
bool isPwrCtrlDisabled
Holds a flag which indicates whether power control is disabled on the platform.
float_t fps
Holds the average number of frames per second.
uint8_t i2cAddress
Holds the native I2C address.
@ CAMERA_POST_START_FAILURE
Camera module Post Start Failure causing failure in the camera pipeline.
std::string name
Holds the name of the image sensor, for example, "AR0231".
uint32_t i2cDevice
Holds the I2C device bus number used to connect the deserializer with the SoC.
std::string description
Holds the description of the deserializer.
@ CAMERA_INIT_FAILURE
Camera module Init Failure causing failure in the camera pipeline.
std::string bootAcceleratorTag
Tag for the boot initialization sequence expected to have been executed by the camera boot accelerato...
static constexpr uint32_t MAX_CAMERAMODULES_PER_PLATFORM
Indicates the maximum number of camera modules per platform.
@ CAMERA_OVER_CURRENT
Camera Over Current (Short to Ground)
uint32_t height
Holds the height in pixels.
@ CAMERA_OVER_VOLTAGE
Camera Over Voltage (Short to Battery)
uint8_t destGpio
The destination multifunction pin (MFP) number on the deserializer.
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
uint32_t cfa
Holds the Bayer color filter array order of the sensor.
Defines the EEPROM information.
bool resetAll
Holds flag to indicate that the deserializer needs to run a reset all sequence at startup.
SensorInfo sensorInfo
Holds the information about the sensor in a camera module.
uint32_t numCameraModules
Holds the number of camera modules connected to the deserializer.
std::string description
Holds the description of the image sensor.
InitErrorCode
Init Error Codes.
uint32_t linkIndex
Holds the index of the deserializer link to which this module is connected.
NvSiplCapInputFormatType inputFormat
Holds the input format.
uint32_t width
Holds the width in pixels.
static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION
Indicates the index for CSI 2 lanes.
bool isTriggerModeEnabled
Holds a flag which indicates whether trigger mode is enabled.
NvSiplCapInterfaceType
Specifies the capture interface type for the CSI interface.
@ CAMERA_POST_INIT_FAILURE
Camera module Post Init Failure causing failure in the camera pipeline.
Describes a single globally-visible crypto key object.
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
@ DESER_EN_LINK_FAILURE
Deserializer Link Enable Failure causing failure in the camera pipeline.
NvSiplCapCsiPhyMode
Specifies the CSI PHY mode.
@ CAMERA_CIRCUIT_OPEN_DISCONNECTION
Circuit Open/Disconnection.
uint8_t i2cAddress
Holds the native I2C address of the image sensor.
Defines information for the camera module.
std::vector< uint32_t > gpios
Holds non-error monitoring GPIO indices for the Device Block.
uint32_t patternMode
Holds the Test Pattern Generator (TPG) pattern mode.
uint32_t embeddedTopLines
Holds the number of top embedded lines.
CameraModuleInfo cameraModuleInfoList[MAX_CAMERAMODULES_PER_BLOCK]
Holds an array of information about each camera module in the device block.
Defines the image sensor information.
std::string description
Holds the description of the EEPROM.
bool enableGetStatus
Whether to enable driver error localization upon interrupt.
static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION
Indicates the index for CSI 4 lanes.
bool isEmbeddedDataTypeEnabled
Indicates whether the embedded data is coming in CSI packet with different data.
std::uint32_t pwrPort
Holds the power port number.
bool isSimulatorModeEnabled
Holds a per-link flag which indicates whether simulator mode has been enabled for a camera module.
std::uint32_t desI2CPort
Holds the deserializer I2C port number connected with the SoC.
uint8_t i2cAddress
Holds the native I2C address of the deserializer.
@ CAMERA_AUTH_FAILURE
Camera module Authentication Failure causing failure in the camera pipeline.
NvSiplCapCsiPhyMode phyMode
Holds the NvSiplCapCsiPhyMode Phy mode.
const std::string & purpose() const noexcept
Returns purpose of the key.
const std::string & name() const noexcept
Returns a name of the key.
Resolution resolution
Holds the Resolution of the captured frame.
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
bool longCable
Holds long cable support.
std::string name
Holds the name of the camera module, for example, "SF3324".
NvSiplCapInputFormatType
Specifies the capture input format type.
bool isGroupInitProg
Holds a flag which indicates whether group initialization is enabled.
Defines GPIO mapping from the serializer to the deserializer.
@ CAMERA_INCORRECT_IMPEDANCE
Incorrect Impedance.
bool isTPGEnabled
Holds a flag which indicates whether the sensor requires configuration in Test Pattern Generator (TPG...
SerInfo serInfo
Holds the SerInfo of the serializer.
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the deserializer.
@ CAMERA_LINE_TO_LINE_FAULT
Line to Line Fault.
Defines the deserializer information.
bool longCables[MAX_CAMERAMODULES_PER_BLOCK]
Holds long cable support.
uint8_t sourceGpio
The source multifunction pin (MFP) number on the serializer.
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the serializer.
Defines the image resolution.
std::string description
Holds the description of the serializer.
@ CAMERA_EN_LINK_DETECT_FAILURE
Camera module Link Detect Failure causing failure in the camera pipeline.
Defines the DeviceBlock information.
EEPROMInfo eepromInfo
Holds the information about EEPROM device in a camera module.
bool bootAcceleratorUseStaggeredStart
When the camera boot accelerator has been configured, begin streaming on camera modules one-by-one in...
std::vector< SerdesGPIOPinMap > serdesGPIOPinMappings
Holds the information about GPIO mapping from the serializer to the deserializer.
@ DESER_START_FAILURE
Deserializer Start Failure causing failure in the camera pipeline.
std::string name
Holds the name of the EEPROM, for example, "N24C64".
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
Specifies RAW 12.
std::string description
Holds the description of the camera module.
CryptoKeyInfo(std::string const &purpose, std::string const &name, uint32_t const chanID)
Create key info entry object with a specified purpose, name and channel ID.
static constexpr uint32_t MAX_CAMERAMODULES_PER_BLOCK
Indicates the maximum number of camera modules per device block.
@ PIPELINE_RECOVERED_FROM_INIT_ERROR_ON_RETRY
Pipeline recovered from init error on retry.
std::uint32_t desTxPort
Holds the deserializer Tx port number connected with the SoC.
std::string name
Holds the name of the serializer, for example, "MAX96705".
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
@ CAMERA_POWER_FAILURE
Camera module Power Failure causing Initialization issue in the camera pipeline.
Contains the classes and variables for implementation of SIPL.
@ DEFAULT_INIT_ERROR_CODE_NONE
Default Init Error Code None.
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the image sensor.
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the sensor.
static constexpr uint32_t MAX_SENSORS_PER_PLATFORM
Indicates the maximum number of sensors per platform.
bool isEEPROMSupported
Holds EEPROM support.
@ CAMERA_START_FAILURE
Camera module Start Failure causing failure in the camera pipeline.
Defines the serializer information.
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the serializer.
bool resetAll
Reset all sequence is needed when starting deserializer.
Defines the information of a virtual channel/single exposure.
static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM
Indicates the maximum number of device blocks per platform.
@ CAMERA_UNDER_VOLTAGE
Camera Under Voltage.
uint32_t embeddedBottomLines
Holds the number of bottom embedded lines.
@ NVSIPL_CAP_CSI_DPHY_MODE
Specifies that CSI is in DPHY mode.
@ CAMERA_THERMAL_SHUTDOWN
Camera Thermal Shutdown.
std::uint32_t cphyRate[MAX_CSI_LANE_CONFIGURATION]
Holds the deserializer's data rate in CPHY mode(ksps)
bool isPassiveModeEnabled
Holds a flag which indicates whether passive mode must be enabled.