NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
NvSIPLDeviceBlockInfo.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef NVSIPLDEVICEBLOCKINFO_HPP
14 #define NVSIPLDEVICEBLOCKINFO_HPP
15 
16 #include "NvSIPLCapStructs.h"
17 
18 #include <cstdint>
19 #include <string>
20 #include <memory>
21 #include <vector>
22 #include <cmath>
23 
31 namespace nvsipl
32 {
45 #if !NV_IS_SAFETY
46 static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM {6U};
47 #else
48 static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM {4U};
49 #endif
50 
52 static constexpr uint32_t MAX_CAMERAMODULES_PER_BLOCK {4U};
53 
56 
59 
61 static constexpr std::uint32_t MAX_CSI_LANE_CONFIGURATION {2U};
62 
64 static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION {0U};
65 
67 static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION {1U};
68 
71 {
81  uint32_t idx;
91  uint32_t timeout_ms;
92 };
93 
95 struct SensorInfo
96 {
98  struct Resolution
99  {
107  uint32_t width {0U};
108 
116  uint32_t height {0U};
117  };
118 
123  {
134  uint32_t cfa {0U};
142  uint32_t embeddedTopLines {UINT32_MAX};
150  uint32_t embeddedBottomLines {UINT32_MAX};
170  float_t fps {0.0F};
179  };
180 
186  uint32_t id = UINT32_MAX;
188  std::string name = "";
189 #if !NV_IS_SAFETY
190 
191  std::string description = "";
192 #endif // !NV_IS_SAFETY
193 
198  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
206  bool isTriggerModeEnabled {false};
208  std::vector<IntrGpioInfo> errGpios {};
218  bool useCDIv2API {false};
219 #if defined(NVMEDIA_QNX) || defined(NVMEDIA_LINUX)
220 
227  bool isAuthEnabled {true};
228 #else
229 
235  bool isAuthEnabled {false};
236 #endif // NVMEDIA_QNX
237 #if !NV_IS_SAFETY
238 
244  bool isTPGEnabled {false};
246  uint32_t patternMode {0U};
247 #endif // !NV_IS_SAFETY
248 
258  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
259 };
260 
263 {
265  std::string name = "";
266 #if !NV_IS_SAFETY
267 
268  std::string description = "";
269 #endif
270 
275  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
276 
285  bool useCDIv2API {false};
296  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
297 };
298 
306  uint8_t sourceGpio;
312  uint8_t destGpio;
313 };
314 
316 struct SerInfo
317 {
319  std::string name = "";
320 #if !NV_IS_SAFETY
321 
322  std::string description = "";
323 #endif // !NV_IS_SAFETY
324 
329  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
330 #if !NV_IS_SAFETY
331 
332  bool longCable {false};
333 #endif // !NV_IS_SAFETY
334 
335  std::vector<IntrGpioInfo> errGpios {};
345  bool useCDIv2API {false};
347  std::vector<SerdesGPIOPinMap> serdesGPIOPinMappings {};
358  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
359 };
360 
369  std::string keyPurpose;
376  std::string keyName;
386  uint32_t cryptoChanID;
387 public:
395  CryptoKeyInfo(std::string const &purpose,
396  std::string const &name,
397  uint32_t const chanID):
398  keyPurpose(purpose), keyName(name), cryptoChanID(chanID) { }
399 
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; }
418 };
419 
427 {
429  std::string name = "";
430 #if !NV_IS_SAFETY
431 
432  std::string description = "";
433 #endif // !NV_IS_SAFETY
434 
439  uint32_t linkIndex {UINT32_MAX};
440 #if !(NV_IS_SAFETY) || (defined(SAFETY_DBG_OV) && (SAFETY_DBG_OV))
441 
449 #endif // !(NV_IS_SAFETY) || (defined(SAFETY_DBG_OV) && (SAFETY_DBG_OV))
450 
457  bool isEEPROMSupported {false};
483  std::vector<CryptoKeyInfo> cryptoKeysList {};
484 };
485 
487 struct DeserInfo
488 {
490  std::string name = "";
491 #if !NV_IS_SAFETY
492 
493  std::string description = "";
494 #endif // !NV_IS_SAFETY
495 
500  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
502  std::vector<IntrGpioInfo> errGpios {};
512  bool useCDIv2API {false};
517  bool resetAll {false};
518 };
519 
527 {
544  uint32_t i2cDevice {UINT32_MAX};
552  uint32_t numCameraModules {0U};
560  std::uint32_t desI2CPort {UINT32_MAX};
566  std::uint32_t desTxPort {UINT32_MAX};
572  std::uint32_t pwrPort = UINT32_MAX;
579  std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION] = {0U};
586  std::uint32_t cphyRate[MAX_CSI_LANE_CONFIGURATION] = {0U};
593  bool isPassiveModeEnabled {false};
595  bool isGroupInitProg {false};
605  std::vector<uint32_t> gpios {};
606 #if !NV_IS_SAFETY
607 
608  bool isPwrCtrlDisabled {false};
611 #endif // !NV_IS_SAFETY
612 
613  bool resetAll;
623  std::string bootAcceleratorTag = "";
637 };
638 
642 enum class InitErrorCode : uint32_t {
651 
652  // CBA operation failures
656  CBA_FAILURE = 10U,
657 
658  // DDI API based failures
662  DESER_POWER_FAILURE = 100U,
666  DESER_INIT_FAILURE = 101U,
670  DESER_EN_LINK_FAILURE = 102U,
674  DESER_START_FAILURE = 103U,
682  CAMERA_POWER_FAILURE = 200U,
686  CAMERA_INIT_FAILURE = 201U,
694  CAMERA_AUTH_FAILURE = 203U,
702  CAMERA_START_FAILURE = 205U,
707 
708  // Power based failures
712  CAMERA_OVER_VOLTAGE = 300U,
716  CAMERA_UNDER_VOLTAGE = 301U,
724  CAMERA_OVER_CURRENT = 303U,
737 };
738 
741 } // namespace nvsipl
742 
743 #endif //NVSIPLDEVICEBLOCKINFO_HPP
nvsipl::EEPROMInfo::virtualI2CAddress
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the EEPROM.
Definition: NvSIPLDeviceBlockInfo.hpp:296
NVSIPL_CAP_CSI_INTERFACE_TYPE_CSI_A
@ NVSIPL_CAP_CSI_INTERFACE_TYPE_CSI_A
Specifies CSI port A.
Definition: NvSIPLCapStructs.h:37
nvsipl::IntrGpioInfo::idx
uint32_t idx
The interrupt GPIO index.
Definition: NvSIPLDeviceBlockInfo.hpp:81
nvsipl::CryptoKeyInfo::chanID
uint32_t chanID() const noexcept
Returns a crypto channel ID associated with the key.
Definition: NvSIPLDeviceBlockInfo.hpp:417
nvsipl::CameraModuleInfo::cryptoKeysList
std::vector< CryptoKeyInfo > cryptoKeysList
Allows to specify crypto keys IDs used by the camera module driver and to associate each key with spe...
Definition: NvSIPLDeviceBlockInfo.hpp:483
nvsipl::DeserInfo::name
std::string name
Holds the name of the deserializer, for example, "MAX96712".
Definition: NvSIPLDeviceBlockInfo.hpp:490
nvsipl::DeviceBlockInfo::dphyRate
std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION]
Holds the deserializer's data rate in DPHY mode(kHz)
Definition: NvSIPLDeviceBlockInfo.hpp:579
nvsipl::MAX_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t MAX_CSI_LANE_CONFIGURATION
Indicates the maximum number of CSI lane configurations.
Definition: NvSIPLDeviceBlockInfo.hpp:61
nvsipl::DeviceBlockInfo::csiPort
NvSiplCapInterfaceType csiPort
Holds the NvSiplCapInterfaceType that specifies the CSI port of the SoC to which the deserializer is ...
Definition: NvSIPLDeviceBlockInfo.hpp:532
nvsipl::InitErrorCode::DESER_POWER_FAILURE
@ DESER_POWER_FAILURE
Deserializer Power Failure causing Initialization issue in the camera pipeline.
nvsipl::SensorInfo::vcInfo
VirtualChannelInfo vcInfo
Holds virtual channel information.
Definition: NvSIPLDeviceBlockInfo.hpp:200
nvsipl::SensorInfo::isAuthEnabled
bool isAuthEnabled
Holds a flag which indicates whether sensor itself and all data exchange with sensor (image data and ...
Definition: NvSIPLDeviceBlockInfo.hpp:235
nvsipl::IntrGpioInfo
Describes an Interrupt GPIO configuration.
Definition: NvSIPLDeviceBlockInfo.hpp:70
nvsipl::InitErrorCode::DESER_INIT_FAILURE
@ DESER_INIT_FAILURE
Deserializer Init Failure causing failure in the camera pipeline.
nvsipl::DeviceBlockInfo::deserInfo
DeserInfo deserInfo
Holds the DeserInfo deserializer information.
Definition: NvSIPLDeviceBlockInfo.hpp:546
nvsipl::InitErrorCode::DESER_CHECK_LINK_LOCK_FAILURE
@ DESER_CHECK_LINK_LOCK_FAILURE
Deserializer Check Link Lock Failure causing failure in the camera pipeline.
nvsipl::IntrGpioInfo::timeout_ms
uint32_t timeout_ms
Error localization timeout duration [ms], 0 to disable.
Definition: NvSIPLDeviceBlockInfo.hpp:91
nvsipl::DeviceBlockInfo::isPwrCtrlDisabled
bool isPwrCtrlDisabled
Holds a flag which indicates whether power control is disabled on the platform.
Definition: NvSIPLDeviceBlockInfo.hpp:608
nvsipl::SensorInfo::VirtualChannelInfo::fps
float_t fps
Holds the average number of frames per second.
Definition: NvSIPLDeviceBlockInfo.hpp:170
nvsipl::SerInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address.
Definition: NvSIPLDeviceBlockInfo.hpp:329
nvsipl::InitErrorCode::CAMERA_POST_START_FAILURE
@ CAMERA_POST_START_FAILURE
Camera module Post Start Failure causing failure in the camera pipeline.
nvsipl::SensorInfo::name
std::string name
Holds the name of the image sensor, for example, "AR0231".
Definition: NvSIPLDeviceBlockInfo.hpp:188
nvsipl::DeviceBlockInfo::i2cDevice
uint32_t i2cDevice
Holds the I2C device bus number used to connect the deserializer with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:544
nvsipl::DeserInfo::description
std::string description
Holds the description of the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:493
nvsipl::InitErrorCode::CAMERA_INIT_FAILURE
@ CAMERA_INIT_FAILURE
Camera module Init Failure causing failure in the camera pipeline.
nvsipl::DeviceBlockInfo::bootAcceleratorTag
std::string bootAcceleratorTag
Tag for the boot initialization sequence expected to have been executed by the camera boot accelerato...
Definition: NvSIPLDeviceBlockInfo.hpp:623
nvsipl::MAX_CAMERAMODULES_PER_PLATFORM
static constexpr uint32_t MAX_CAMERAMODULES_PER_PLATFORM
Indicates the maximum number of camera modules per platform.
Definition: NvSIPLDeviceBlockInfo.hpp:55
nvsipl::InitErrorCode::CAMERA_OVER_CURRENT
@ CAMERA_OVER_CURRENT
Camera Over Current (Short to Ground)
nvsipl::SensorInfo::Resolution::height
uint32_t height
Holds the height in pixels.
Definition: NvSIPLDeviceBlockInfo.hpp:116
nvsipl::InitErrorCode::CBA_FAILURE
@ CBA_FAILURE
CBA Failed.
nvsipl::InitErrorCode::CAMERA_OVER_VOLTAGE
@ CAMERA_OVER_VOLTAGE
Camera Over Voltage (Short to Battery)
nvsipl::SerdesGPIOPinMap::destGpio
uint8_t destGpio
The destination multifunction pin (MFP) number on the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:312
nvsipl::DeserInfo::useCDIv2API
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
Definition: NvSIPLDeviceBlockInfo.hpp:512
nvsipl::SensorInfo::VirtualChannelInfo::cfa
uint32_t cfa
Holds the Bayer color filter array order of the sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:134
nvsipl::EEPROMInfo
Defines the EEPROM information.
Definition: NvSIPLDeviceBlockInfo.hpp:262
nvsipl::DeserInfo::resetAll
bool resetAll
Holds flag to indicate that the deserializer needs to run a reset all sequence at startup.
Definition: NvSIPLDeviceBlockInfo.hpp:517
nvsipl::CameraModuleInfo::sensorInfo
SensorInfo sensorInfo
Holds the information about the sensor in a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:461
nvsipl::DeviceBlockInfo::numCameraModules
uint32_t numCameraModules
Holds the number of camera modules connected to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:552
nvsipl::SensorInfo::description
std::string description
Holds the description of the image sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:191
nvsipl::InitErrorCode
InitErrorCode
Init Error Codes.
Definition: NvSIPLDeviceBlockInfo.hpp:642
nvsipl::CameraModuleInfo::linkIndex
uint32_t linkIndex
Holds the index of the deserializer link to which this module is connected.
Definition: NvSIPLDeviceBlockInfo.hpp:439
nvsipl::SensorInfo::VirtualChannelInfo::inputFormat
NvSiplCapInputFormatType inputFormat
Holds the input format.
Definition: NvSIPLDeviceBlockInfo.hpp:158
nvsipl::SensorInfo::Resolution::width
uint32_t width
Holds the width in pixels.
Definition: NvSIPLDeviceBlockInfo.hpp:107
nvsipl::X2_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION
Indicates the index for CSI 2 lanes.
Definition: NvSIPLDeviceBlockInfo.hpp:64
nvsipl::SensorInfo::isTriggerModeEnabled
bool isTriggerModeEnabled
Holds a flag which indicates whether trigger mode is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:206
NvSiplCapInterfaceType
NvSiplCapInterfaceType
Specifies the capture interface type for the CSI interface.
Definition: NvSIPLCapStructs.h:35
nvsipl::InitErrorCode::CAMERA_POST_INIT_FAILURE
@ CAMERA_POST_INIT_FAILURE
Camera module Post Init Failure causing failure in the camera pipeline.
nvsipl::CryptoKeyInfo
Describes a single globally-visible crypto key object.
Definition: NvSIPLDeviceBlockInfo.hpp:362
nvsipl::SerInfo::useCDIv2API
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
Definition: NvSIPLDeviceBlockInfo.hpp:345
nvsipl::InitErrorCode::DESER_EN_LINK_FAILURE
@ DESER_EN_LINK_FAILURE
Deserializer Link Enable Failure causing failure in the camera pipeline.
NvSiplCapCsiPhyMode
NvSiplCapCsiPhyMode
Specifies the CSI PHY mode.
Definition: NvSIPLCapStructs.h:151
nvsipl::InitErrorCode::CAMERA_CIRCUIT_OPEN_DISCONNECTION
@ CAMERA_CIRCUIT_OPEN_DISCONNECTION
Circuit Open/Disconnection.
nvsipl::SensorInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address of the image sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:198
nvsipl::CameraModuleInfo
Defines information for the camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:426
NvSIPLCapStructs.h
nvsipl::DeviceBlockInfo::gpios
std::vector< uint32_t > gpios
Holds non-error monitoring GPIO indices for the Device Block.
Definition: NvSIPLDeviceBlockInfo.hpp:605
nvsipl::SensorInfo::patternMode
uint32_t patternMode
Holds the Test Pattern Generator (TPG) pattern mode.
Definition: NvSIPLDeviceBlockInfo.hpp:246
nvsipl::SensorInfo::VirtualChannelInfo::embeddedTopLines
uint32_t embeddedTopLines
Holds the number of top embedded lines.
Definition: NvSIPLDeviceBlockInfo.hpp:142
nvsipl::DeviceBlockInfo::cameraModuleInfoList
CameraModuleInfo cameraModuleInfoList[MAX_CAMERAMODULES_PER_BLOCK]
Holds an array of information about each camera module in the device block.
Definition: NvSIPLDeviceBlockInfo.hpp:554
nvsipl::SensorInfo
Defines the image sensor information.
Definition: NvSIPLDeviceBlockInfo.hpp:95
nvsipl::EEPROMInfo::description
std::string description
Holds the description of the EEPROM.
Definition: NvSIPLDeviceBlockInfo.hpp:268
nvsipl::IntrGpioInfo::enableGetStatus
bool enableGetStatus
Whether to enable driver error localization upon interrupt.
Definition: NvSIPLDeviceBlockInfo.hpp:85
nvsipl::X4_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION
Indicates the index for CSI 4 lanes.
Definition: NvSIPLDeviceBlockInfo.hpp:67
nvsipl::SensorInfo::VirtualChannelInfo::isEmbeddedDataTypeEnabled
bool isEmbeddedDataTypeEnabled
Indicates whether the embedded data is coming in CSI packet with different data.
Definition: NvSIPLDeviceBlockInfo.hpp:178
nvsipl::DeviceBlockInfo::pwrPort
std::uint32_t pwrPort
Holds the power port number.
Definition: NvSIPLDeviceBlockInfo.hpp:572
nvsipl::CameraModuleInfo::isSimulatorModeEnabled
bool isSimulatorModeEnabled
Holds a per-link flag which indicates whether simulator mode has been enabled for a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:448
nvsipl::DeviceBlockInfo::desI2CPort
std::uint32_t desI2CPort
Holds the deserializer I2C port number connected with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:560
nvsipl::DeserInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address of the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:500
nvsipl::InitErrorCode::CAMERA_AUTH_FAILURE
@ CAMERA_AUTH_FAILURE
Camera module Authentication Failure causing failure in the camera pipeline.
nvsipl::DeviceBlockInfo::phyMode
NvSiplCapCsiPhyMode phyMode
Holds the NvSiplCapCsiPhyMode Phy mode.
Definition: NvSIPLDeviceBlockInfo.hpp:534
nvsipl::CryptoKeyInfo::purpose
const std::string & purpose() const noexcept
Returns purpose of the key.
Definition: NvSIPLDeviceBlockInfo.hpp:411
nvsipl::CryptoKeyInfo::name
const std::string & name() const noexcept
Returns a name of the key.
Definition: NvSIPLDeviceBlockInfo.hpp:405
nvsipl::SensorInfo::VirtualChannelInfo::resolution
Resolution resolution
Holds the Resolution of the captured frame.
Definition: NvSIPLDeviceBlockInfo.hpp:162
nvsipl::SensorInfo::useCDIv2API
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
Definition: NvSIPLDeviceBlockInfo.hpp:218
nvsipl::SerInfo::longCable
bool longCable
Holds long cable support.
Definition: NvSIPLDeviceBlockInfo.hpp:332
nvsipl::CameraModuleInfo::name
std::string name
Holds the name of the camera module, for example, "SF3324".
Definition: NvSIPLDeviceBlockInfo.hpp:429
NvSiplCapInputFormatType
NvSiplCapInputFormatType
Specifies the capture input format type.
Definition: NvSIPLCapStructs.h:84
nvsipl::DeviceBlockInfo::isGroupInitProg
bool isGroupInitProg
Holds a flag which indicates whether group initialization is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:595
nvsipl::SerdesGPIOPinMap
Defines GPIO mapping from the serializer to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:300
nvsipl::InitErrorCode::CAMERA_INCORRECT_IMPEDANCE
@ CAMERA_INCORRECT_IMPEDANCE
Incorrect Impedance.
nvsipl::SensorInfo::isTPGEnabled
bool isTPGEnabled
Holds a flag which indicates whether the sensor requires configuration in Test Pattern Generator (TPG...
Definition: NvSIPLDeviceBlockInfo.hpp:244
nvsipl::CameraModuleInfo::serInfo
SerInfo serInfo
Holds the SerInfo of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:451
nvsipl::DeserInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:502
nvsipl::InitErrorCode::CAMERA_LINE_TO_LINE_FAULT
@ CAMERA_LINE_TO_LINE_FAULT
Line to Line Fault.
nvsipl::DeserInfo
Defines the deserializer information.
Definition: NvSIPLDeviceBlockInfo.hpp:487
nvsipl::DeviceBlockInfo::longCables
bool longCables[MAX_CAMERAMODULES_PER_BLOCK]
Holds long cable support.
Definition: NvSIPLDeviceBlockInfo.hpp:610
nvsipl::SerdesGPIOPinMap::sourceGpio
uint8_t sourceGpio
The source multifunction pin (MFP) number on the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:306
nvsipl::SerInfo::virtualI2CAddress
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:358
nvsipl::SensorInfo::Resolution
Defines the image resolution.
Definition: NvSIPLDeviceBlockInfo.hpp:98
nvsipl::SerInfo::description
std::string description
Holds the description of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:322
nvsipl::InitErrorCode::CAMERA_EN_LINK_DETECT_FAILURE
@ CAMERA_EN_LINK_DETECT_FAILURE
Camera module Link Detect Failure causing failure in the camera pipeline.
nvsipl::DeviceBlockInfo
Defines the DeviceBlock information.
Definition: NvSIPLDeviceBlockInfo.hpp:526
nvsipl::CameraModuleInfo::eepromInfo
EEPROMInfo eepromInfo
Holds the information about EEPROM device in a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:459
nvsipl::DeviceBlockInfo::bootAcceleratorUseStaggeredStart
bool bootAcceleratorUseStaggeredStart
When the camera boot accelerator has been configured, begin streaming on camera modules one-by-one in...
Definition: NvSIPLDeviceBlockInfo.hpp:636
nvsipl::SerInfo::serdesGPIOPinMappings
std::vector< SerdesGPIOPinMap > serdesGPIOPinMappings
Holds the information about GPIO mapping from the serializer to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:347
nvsipl::InitErrorCode::DESER_START_FAILURE
@ DESER_START_FAILURE
Deserializer Start Failure causing failure in the camera pipeline.
nvsipl::EEPROMInfo::name
std::string name
Holds the name of the EEPROM, for example, "N24C64".
Definition: NvSIPLDeviceBlockInfo.hpp:265
NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
Specifies RAW 12.
Definition: NvSIPLCapStructs.h:103
nvsipl::CameraModuleInfo::description
std::string description
Holds the description of the camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:432
nvsipl::CryptoKeyInfo::CryptoKeyInfo
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.
Definition: NvSIPLDeviceBlockInfo.hpp:395
nvsipl::MAX_CAMERAMODULES_PER_BLOCK
static constexpr uint32_t MAX_CAMERAMODULES_PER_BLOCK
Indicates the maximum number of camera modules per device block.
Definition: NvSIPLDeviceBlockInfo.hpp:52
nvsipl::InitErrorCode::PIPELINE_RECOVERED_FROM_INIT_ERROR_ON_RETRY
@ PIPELINE_RECOVERED_FROM_INIT_ERROR_ON_RETRY
Pipeline recovered from init error on retry.
nvsipl::DeviceBlockInfo::desTxPort
std::uint32_t desTxPort
Holds the deserializer Tx port number connected with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:566
nvsipl::SerInfo::name
std::string name
Holds the name of the serializer, for example, "MAX96705".
Definition: NvSIPLDeviceBlockInfo.hpp:319
nvsipl::EEPROMInfo::useCDIv2API
bool useCDIv2API
Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for...
Definition: NvSIPLDeviceBlockInfo.hpp:285
nvsipl::InitErrorCode::CAMERA_POWER_FAILURE
@ CAMERA_POWER_FAILURE
Camera module Power Failure causing Initialization issue in the camera pipeline.
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: NvSIPLCamera.hpp:44
nvsipl::InitErrorCode::DEFAULT_INIT_ERROR_CODE_NONE
@ DEFAULT_INIT_ERROR_CODE_NONE
Default Init Error Code None.
nvsipl::SensorInfo::virtualI2CAddress
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the image sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:258
nvsipl::SensorInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:208
nvsipl::MAX_SENSORS_PER_PLATFORM
static constexpr uint32_t MAX_SENSORS_PER_PLATFORM
Indicates the maximum number of sensors per platform.
Definition: NvSIPLDeviceBlockInfo.hpp:58
nvsipl::CameraModuleInfo::isEEPROMSupported
bool isEEPROMSupported
Holds EEPROM support.
Definition: NvSIPLDeviceBlockInfo.hpp:457
nvsipl::InitErrorCode::CAMERA_START_FAILURE
@ CAMERA_START_FAILURE
Camera module Start Failure causing failure in the camera pipeline.
nvsipl::SerInfo
Defines the serializer information.
Definition: NvSIPLDeviceBlockInfo.hpp:316
nvsipl::SerInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:335
nvsipl::DeviceBlockInfo::resetAll
bool resetAll
Reset all sequence is needed when starting deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:613
nvsipl::SensorInfo::VirtualChannelInfo
Defines the information of a virtual channel/single exposure.
Definition: NvSIPLDeviceBlockInfo.hpp:122
nvsipl::MAX_DEVICEBLOCKS_PER_PLATFORM
static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM
Indicates the maximum number of device blocks per platform.
Definition: NvSIPLDeviceBlockInfo.hpp:46
nvsipl::InitErrorCode::CAMERA_UNDER_VOLTAGE
@ CAMERA_UNDER_VOLTAGE
Camera Under Voltage.
nvsipl::SensorInfo::VirtualChannelInfo::embeddedBottomLines
uint32_t embeddedBottomLines
Holds the number of bottom embedded lines.
Definition: NvSIPLDeviceBlockInfo.hpp:150
NVSIPL_CAP_CSI_DPHY_MODE
@ NVSIPL_CAP_CSI_DPHY_MODE
Specifies that CSI is in DPHY mode.
Definition: NvSIPLCapStructs.h:153
nvsipl::InitErrorCode::CAMERA_THERMAL_SHUTDOWN
@ CAMERA_THERMAL_SHUTDOWN
Camera Thermal Shutdown.
nvsipl::DeviceBlockInfo::cphyRate
std::uint32_t cphyRate[MAX_CSI_LANE_CONFIGURATION]
Holds the deserializer's data rate in CPHY mode(ksps)
Definition: NvSIPLDeviceBlockInfo.hpp:586
nvsipl::DeviceBlockInfo::isPassiveModeEnabled
bool isPassiveModeEnabled
Holds a flag which indicates whether passive mode must be enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:593