NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
NvSIPLDeviceBlockInfo.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2026 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 #include "NvSIPLCryptoTypes.hpp"
18 
19 #include <cstdint>
20 #include <string>
21 #include <memory>
22 #include <vector>
23 #include <cmath>
24 
32 namespace nvsipl
33 {
46 #if !NV_IS_SAFETY
47 static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM {6U};
48 #else
49 static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM {5U};
50 #endif
51 
53 static constexpr uint32_t MAX_CAMERAMODULES_PER_BLOCK {8U};
54 
63 static constexpr uint32_t MAX_VIRTUAL_CHANNELS_PER_SENSOR {4U};
64 
67 
70 
72 static constexpr std::uint32_t MAX_CSI_LANE_CONFIGURATION {2U};
73 
75 static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION {0U};
76 
78 static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION {1U};
79 
86 {
96  uint32_t idx;
106  uint32_t timeout_ms;
107 };
108 
115 {
121  struct Resolution
122  {
130  uint32_t width {0U};
131 
139  uint32_t height {0U};
140  };
141 
148  {
154  bool isDataTypeEnabled {false};
162  uint32_t height {0U};
177  };
178 
186  {
194  uint32_t vcId {UINT32_MAX};
202  uint32_t vcIdDst {UINT32_MAX};
213  uint32_t cfa {0U};
221  uint32_t embeddedTopLines {UINT32_MAX};
229  uint32_t embeddedBottomLines {UINT32_MAX};
249  float_t fps {0.0F};
262  };
263 
269  uint32_t id = UINT32_MAX;
271  std::string name = "";
272 #if !NV_IS_SAFETY
273 
274  std::string description = "";
275 #endif // !NV_IS_SAFETY
276 
281  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
293  bool useVcInfoList {false};
299  uint32_t numVCs {1U};
307  bool isTriggerModeEnabled {false};
309  std::vector<IntrGpioInfo> errGpios {};
319  bool useCDIv2API {false};
320 #if defined(NVMEDIA_QNX) || defined(NVMEDIA_LINUX)
321 
328  bool isAuthEnabled {true};
329 #else
330 
336  bool isAuthEnabled {false};
337 #endif // NVMEDIA_QNX
338 #if !NV_IS_SAFETY
339 
345  bool isTPGEnabled {false};
347  uint32_t patternMode {0U};
348 #endif // !NV_IS_SAFETY
349 
359  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
360 
366  uint16_t numContext {1U};
367 };
368 
375 {
377  std::string name = "";
378 #if !NV_IS_SAFETY
379 
380  std::string description = "";
381 #endif
382 
387  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
388 
397  bool useCDIv2API {false};
408  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
409 };
410 
422  uint8_t sourceGpio;
428  uint8_t destGpio;
429 };
430 
436 struct SerInfo
437 {
439  std::string name = "";
440 #if !NV_IS_SAFETY
441 
442  std::string description = "";
443 #endif // !NV_IS_SAFETY
444 
449  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
450 #if !NV_IS_SAFETY
451 
452  bool longCable {false};
453 #endif // !NV_IS_SAFETY
454 
455  std::vector<IntrGpioInfo> errGpios {};
465  bool useCDIv2API {false};
467  std::vector<SerdesGPIOPinMap> serdesGPIOPinMappings {};
478  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
479 };
480 
492 enum class SerdesDataTransmissionMode : uint8_t
493 {
495  PIXEL_MODE = 0U,
496 
498  TUNNELING_MODE = 1U
499 };
500 
511 {
513  std::string name = "";
514 #if !NV_IS_SAFETY
515 
516  std::string description = "";
517 #endif // !NV_IS_SAFETY
518 
523  uint32_t linkIndex {UINT32_MAX};
541  bool isEEPROMSupported {false};
567  std::vector<CryptoKeyInfo> cryptoKeysList {};
568 
577 };
578 
584 struct DeserInfo
585 {
587  std::string name = "";
588 #if !NV_IS_SAFETY
589 
590  std::string description = "";
591 #endif // !NV_IS_SAFETY
592 
597  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
599  std::vector<IntrGpioInfo> errGpios {};
609  bool useCDIv2API {false};
614  bool resetAll {false};
615 };
616 
627 {
644  uint32_t i2cDevice {UINT32_MAX};
652  uint32_t numCameraModules {0U};
660  std::uint32_t desI2CPort {UINT32_MAX};
666  std::uint32_t desTxPort {UINT32_MAX};
672  std::uint32_t pwrPort = UINT32_MAX;
679  std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION] = {0U};
686  std::uint32_t cphyRate[MAX_CSI_LANE_CONFIGURATION] = {0U};
693  bool isPassiveModeEnabled {false};
695  bool isGroupInitProg {false};
705  std::vector<uint32_t> gpios {};
706 #if !NV_IS_SAFETY
707 
708  bool isPwrCtrlDisabled {false};
711 #endif // !NV_IS_SAFETY
712 
713  bool resetAll;
723  std::string bootAcceleratorTag = "";
737 };
738 
745 enum class InitErrorCode : uint32_t {
754 
755  // CBA operation failures
759  CBA_FAILURE = 10U,
760 
761  // DDI API based failures
765  DESER_POWER_FAILURE = 100U,
769  DESER_INIT_FAILURE = 101U,
773  DESER_EN_LINK_FAILURE = 102U,
777  DESER_START_FAILURE = 103U,
785  CAMERA_POWER_FAILURE = 200U,
789  CAMERA_INIT_FAILURE = 201U,
797  CAMERA_AUTH_FAILURE = 203U,
805  CAMERA_START_FAILURE = 205U,
810 
811  // Power based failures
815  CAMERA_OVER_VOLTAGE = 300U,
819  CAMERA_UNDER_VOLTAGE = 301U,
827  CAMERA_OVER_CURRENT = 303U,
840 };
841 
844 } // namespace nvsipl
845 
846 #endif //NVSIPLDEVICEBLOCKINFO_HPP
nvsipl::EEPROMInfo::virtualI2CAddress
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the EEPROM.
Definition: NvSIPLDeviceBlockInfo.hpp:408
NVSIPL_CAP_CSI_INTERFACE_TYPE_CSI_A
@ NVSIPL_CAP_CSI_INTERFACE_TYPE_CSI_A
Specifies CSI port A.
Definition: NvSIPLCapStructs.h:40
nvsipl::IntrGpioInfo::idx
uint32_t idx
The interrupt GPIO index.
Definition: NvSIPLDeviceBlockInfo.hpp:96
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:567
nvsipl::DeserInfo::name
std::string name
Holds the name of the deserializer, for example, "MAX96712".
Definition: NvSIPLDeviceBlockInfo.hpp:587
nvsipl::DeviceBlockInfo::dphyRate
std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION]
Holds the deserializer's data rate in DPHY mode(kHz)
Definition: NvSIPLDeviceBlockInfo.hpp:679
nvsipl::SensorInfo::UserDefDTCaptureSetting::bitsPerPixel
NvSiplBitsPerPixel bitsPerPixel
Holds the bits per pixel.
Definition: NvSIPLDeviceBlockInfo.hpp:176
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:72
nvsipl::DeviceBlockInfo::csiPort
NvSiplCapInterfaceType csiPort
Holds the NvSiplCapInterfaceType that specifies the CSI port of the SoC to which the deserializer is ...
Definition: NvSIPLDeviceBlockInfo.hpp:632
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:287
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:336
nvsipl::IntrGpioInfo
Describes an Interrupt GPIO configuration.
Definition: NvSIPLDeviceBlockInfo.hpp:85
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:646
nvsipl::SensorInfo::vcInfoList
VirtualChannelInfo vcInfoList[MAX_VIRTUAL_CHANNELS_PER_SENSOR]
Holds an array of virtual channel information per sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:301
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:106
nvsipl::DeviceBlockInfo::isPwrCtrlDisabled
bool isPwrCtrlDisabled
Holds a flag which indicates whether power control is disabled on the platform.
Definition: NvSIPLDeviceBlockInfo.hpp:708
nvsipl::SensorInfo::VirtualChannelInfo::fps
float_t fps
Holds the average number of frames per second.
Definition: NvSIPLDeviceBlockInfo.hpp:249
nvsipl::SerInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address.
Definition: NvSIPLDeviceBlockInfo.hpp:449
nvsipl::SerdesDataTransmissionMode::PIXEL_MODE
@ PIXEL_MODE
Pixel mode - Serializer processes CSI-2 packets (default)
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:271
nvsipl::DeviceBlockInfo::i2cDevice
uint32_t i2cDevice
Holds the I2C device bus number used to connect the deserializer with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:644
NvSiplBitsPerPixel
NvSiplBitsPerPixel
Specifies bits per pixel.
Definition: NvSIPLCapStructs.h:154
nvsipl::SensorInfo::VirtualChannelInfo::vcIdDst
uint32_t vcIdDst
Holds the destination virtual channel id.
Definition: NvSIPLDeviceBlockInfo.hpp:202
nvsipl::DeserInfo::description
std::string description
Holds the description of the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:590
NVSIPL_CAP_INPUT_FORMAT_TYPE_USER_DEFINED_8
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_USER_DEFINED_8
Specifies User defined 8 (0x37).
Definition: NvSIPLCapStructs.h:139
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:723
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:66
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:139
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:428
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:609
nvsipl::SensorInfo::VirtualChannelInfo::cfa
uint32_t cfa
Holds the Bayer color filter array order of the sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:213
nvsipl::EEPROMInfo
Defines the EEPROM information.
Definition: NvSIPLDeviceBlockInfo.hpp:374
nvsipl::DeserInfo::resetAll
bool resetAll
Holds flag to indicate that the deserializer needs to run a reset all sequence at startup.
Definition: NvSIPLDeviceBlockInfo.hpp:614
nvsipl::CameraModuleInfo::sensorInfo
SensorInfo sensorInfo
Holds the information about the sensor in a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:545
nvsipl::DeviceBlockInfo::numCameraModules
uint32_t numCameraModules
Holds the number of camera modules connected to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:652
nvsipl::SensorInfo::description
std::string description
Holds the description of the image sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:274
nvsipl::InitErrorCode
InitErrorCode
Init Error Codes.
Definition: NvSIPLDeviceBlockInfo.hpp:745
nvsipl::SensorInfo::UserDefDTCaptureSetting
Defines the user defined datatype capture settings.
Definition: NvSIPLDeviceBlockInfo.hpp:147
nvsipl::CameraModuleInfo::linkIndex
uint32_t linkIndex
Holds the index of the deserializer link to which this module is connected.
Definition: NvSIPLDeviceBlockInfo.hpp:523
nvsipl::SensorInfo::VirtualChannelInfo::inputFormat
NvSiplCapInputFormatType inputFormat
Holds the input format.
Definition: NvSIPLDeviceBlockInfo.hpp:237
nvsipl::SensorInfo::Resolution::width
uint32_t width
Holds the width in pixels.
Definition: NvSIPLDeviceBlockInfo.hpp:130
nvsipl::X2_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION
Indicates the index for CSI 2 lanes.
Definition: NvSIPLDeviceBlockInfo.hpp:75
nvsipl::SensorInfo::isTriggerModeEnabled
bool isTriggerModeEnabled
Holds a flag which indicates whether trigger mode is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:307
NvSiplCapInterfaceType
NvSiplCapInterfaceType
Specifies the capture interface type for the CSI interface.
Definition: NvSIPLCapStructs.h:38
nvsipl::InitErrorCode::CAMERA_POST_INIT_FAILURE
@ CAMERA_POST_INIT_FAILURE
Camera module Post Init Failure causing failure in the camera pipeline.
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:465
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:177
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:281
nvsipl::CameraModuleInfo
Defines information for the camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:510
NvSIPLCapStructs.h
nvsipl::DeviceBlockInfo::gpios
std::vector< uint32_t > gpios
Holds non-error monitoring GPIO indices for the Device Block.
Definition: NvSIPLDeviceBlockInfo.hpp:705
nvsipl::SensorInfo::UserDefDTCaptureSetting::inputFormat
NvSiplCapInputFormatType inputFormat
Holds the input format.
Definition: NvSIPLDeviceBlockInfo.hpp:170
nvsipl::MAX_VIRTUAL_CHANNELS_PER_SENSOR
static constexpr uint32_t MAX_VIRTUAL_CHANNELS_PER_SENSOR
Indicates the maximum number of virtual channels per sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:63
nvsipl::SensorInfo::patternMode
uint32_t patternMode
Holds the Test Pattern Generator (TPG) pattern mode.
Definition: NvSIPLDeviceBlockInfo.hpp:347
nvsipl::SensorInfo::VirtualChannelInfo::embeddedTopLines
uint32_t embeddedTopLines
Holds the number of top embedded lines.
Definition: NvSIPLDeviceBlockInfo.hpp:221
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:654
nvsipl::SerdesDataTransmissionMode
SerdesDataTransmissionMode
Defines the data transmission mode for serializer-deserializer link.
Definition: NvSIPLDeviceBlockInfo.hpp:492
nvsipl::SensorInfo
Defines the image sensor information.
Definition: NvSIPLDeviceBlockInfo.hpp:114
nvsipl::EEPROMInfo::description
std::string description
Holds the description of the EEPROM.
Definition: NvSIPLDeviceBlockInfo.hpp:380
nvsipl::IntrGpioInfo::enableGetStatus
bool enableGetStatus
Whether to enable driver error localization upon interrupt.
Definition: NvSIPLDeviceBlockInfo.hpp:100
nvsipl::CameraModuleInfo::dataTransmissionMode
SerdesDataTransmissionMode dataTransmissionMode
Data transmission mode for the serializer-deserializer link.
Definition: NvSIPLDeviceBlockInfo.hpp:576
nvsipl::X4_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION
Indicates the index for CSI 4 lanes.
Definition: NvSIPLDeviceBlockInfo.hpp:78
nvsipl::SensorInfo::UserDefDTCaptureSetting::height
uint32_t height
Holds the height of the user defined datatype.
Definition: NvSIPLDeviceBlockInfo.hpp:162
nvsipl::SensorInfo::VirtualChannelInfo::isEmbeddedDataTypeEnabled
bool isEmbeddedDataTypeEnabled
Indicates whether the embedded data is coming in CSI packet with different data.
Definition: NvSIPLDeviceBlockInfo.hpp:257
nvsipl::DeviceBlockInfo::pwrPort
std::uint32_t pwrPort
Holds the power port number.
Definition: NvSIPLDeviceBlockInfo.hpp:672
nvsipl::SensorInfo::useVcInfoList
bool useVcInfoList
Holds a flag which indicates whether to use vcInfoList instead of vcInfo.
Definition: NvSIPLDeviceBlockInfo.hpp:293
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:533
nvsipl::DeviceBlockInfo::desI2CPort
std::uint32_t desI2CPort
Holds the deserializer I2C port number connected with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:660
nvsipl::DeserInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address of the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:597
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:634
nvsipl::SensorInfo::VirtualChannelInfo::resolution
Resolution resolution
Holds the Resolution of the captured frame.
Definition: NvSIPLDeviceBlockInfo.hpp:241
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:319
nvsipl::SerInfo::longCable
bool longCable
Holds long cable support.
Definition: NvSIPLDeviceBlockInfo.hpp:452
nvsipl::CameraModuleInfo::name
std::string name
Holds the name of the camera module, for example, "SF3324".
Definition: NvSIPLDeviceBlockInfo.hpp:513
nvsipl::SensorInfo::UserDefDTCaptureSetting::isDataTypeEnabled
bool isDataTypeEnabled
Indicates whether the user defined datatype is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:154
NvSiplCapInputFormatType
NvSiplCapInputFormatType
Specifies the capture input format type.
Definition: NvSIPLCapStructs.h:98
nvsipl::DeviceBlockInfo::isGroupInitProg
bool isGroupInitProg
Holds a flag which indicates whether group initialization is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:695
nvsipl::SerdesGPIOPinMap
Defines GPIO mapping from the serializer to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:416
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:345
nvsipl::CameraModuleInfo::serInfo
SerInfo serInfo
Holds the SerInfo of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:535
nvsipl::DeserInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:599
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:584
nvsipl::DeviceBlockInfo::longCables
bool longCables[MAX_CAMERAMODULES_PER_BLOCK]
Holds long cable support.
Definition: NvSIPLDeviceBlockInfo.hpp:710
nvsipl::SerdesGPIOPinMap::sourceGpio
uint8_t sourceGpio
The source multifunction pin (MFP) number on the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:422
nvsipl::SerInfo::virtualI2CAddress
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:478
nvsipl::SensorInfo::Resolution
Defines the image resolution.
Definition: NvSIPLDeviceBlockInfo.hpp:121
nvsipl::SerInfo::description
std::string description
Holds the description of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:442
nvsipl::InitErrorCode::CAMERA_EN_LINK_DETECT_FAILURE
@ CAMERA_EN_LINK_DETECT_FAILURE
Camera module Link Detect Failure causing failure in the camera pipeline.
nvsipl::SensorInfo::VirtualChannelInfo::userDefDTCapSetting
UserDefDTCaptureSetting userDefDTCapSetting
Holds the UserDefDTCaptureSetting for the virtual channel.
Definition: NvSIPLDeviceBlockInfo.hpp:261
nvsipl::SensorInfo::VirtualChannelInfo::vcId
uint32_t vcId
Holds the virtual channel id.
Definition: NvSIPLDeviceBlockInfo.hpp:194
nvsipl::DeviceBlockInfo
Defines the DeviceBlock information.
Definition: NvSIPLDeviceBlockInfo.hpp:626
nvsipl::CameraModuleInfo::eepromInfo
EEPROMInfo eepromInfo
Holds the information about EEPROM device in a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:543
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:736
nvsipl::SerInfo::serdesGPIOPinMappings
std::vector< SerdesGPIOPinMap > serdesGPIOPinMappings
Holds the information about GPIO mapping from the serializer to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:467
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:377
NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
Specifies RAW 12.
Definition: NvSIPLCapStructs.h:117
nvsipl::CameraModuleInfo::description
std::string description
Holds the description of the camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:516
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:53
nvsipl::InitErrorCode::PIPELINE_RECOVERED_FROM_INIT_ERROR_ON_RETRY
@ PIPELINE_RECOVERED_FROM_INIT_ERROR_ON_RETRY
Pipeline recovered from init error on retry.
NVSIPL_BITS_PER_PIXEL_8
@ NVSIPL_BITS_PER_PIXEL_8
Specifies 8 bits per pixel.
Definition: NvSIPLCapStructs.h:156
nvsipl::DeviceBlockInfo::desTxPort
std::uint32_t desTxPort
Holds the deserializer Tx port number connected with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:666
nvsipl::SerInfo::name
std::string name
Holds the name of the serializer, for example, "MAX96705".
Definition: NvSIPLDeviceBlockInfo.hpp:439
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:397
nvsipl::SensorInfo::numContext
uint16_t numContext
Holds the number of capture contexts a sensor supports.
Definition: NvSIPLDeviceBlockInfo.hpp:366
nvsipl::InitErrorCode::CAMERA_POWER_FAILURE
@ CAMERA_POWER_FAILURE
Camera module Power Failure causing Initialization issue in the camera pipeline.
nvsipl::SensorInfo::numVCs
uint32_t numVCs
Holds the number of virtual channels enabled for a sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:299
nvsipl
Describes the custom interface for IMX623.
Definition: AR0820_CUST1_CustomInterface.hpp:21
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:359
nvsipl::SensorInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:309
nvsipl::MAX_SENSORS_PER_PLATFORM
static constexpr uint32_t MAX_SENSORS_PER_PLATFORM
Indicates the maximum number of sensors per platform.
Definition: NvSIPLDeviceBlockInfo.hpp:69
nvsipl::CameraModuleInfo::isEEPROMSupported
bool isEEPROMSupported
Holds EEPROM support.
Definition: NvSIPLDeviceBlockInfo.hpp:541
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:436
nvsipl::SerInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:455
nvsipl::DeviceBlockInfo::resetAll
bool resetAll
Reset all sequence is needed when starting deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:713
nvsipl::SensorInfo::VirtualChannelInfo
Defines the information of a virtual channel/single exposure.
Definition: NvSIPLDeviceBlockInfo.hpp:185
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:47
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:229
NVSIPL_CAP_CSI_DPHY_MODE
@ NVSIPL_CAP_CSI_DPHY_MODE
Specifies that CSI is in DPHY mode.
Definition: NvSIPLCapStructs.h:179
nvsipl::SerdesDataTransmissionMode::TUNNELING_MODE
@ TUNNELING_MODE
Tunneling mode - Serializer bypasses video pipeline, forwards raw data.
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:686
nvsipl::DeviceBlockInfo::isPassiveModeEnabled
bool isPassiveModeEnabled
Holds a flag which indicates whether passive mode must be enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:693