Jetson Linux API Reference

39.2 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 
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 {5U};
49 #endif
50 
52 static constexpr uint32_t MAX_CAMERAMODULES_PER_BLOCK {8U};
53 
62 static constexpr uint32_t MAX_VIRTUAL_CHANNELS_PER_SENSOR {4U};
63 
66 
69 
71 static constexpr std::uint32_t MAX_CSI_LANE_CONFIGURATION {2U};
72 
74 static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION {0U};
75 
77 static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION {1U};
78 
81 {
91  uint32_t idx;
101  uint32_t timeout_ms;
102 };
103 
106 {
108  struct Resolution
109  {
117  uint32_t width {0U};
118 
126  uint32_t height {0U};
127  };
128 
131  {
137  bool isDataTypeEnabled {false};
145  uint32_t height {0U};
160  };
161 
166  {
174  uint32_t vcId {UINT32_MAX};
182  uint32_t vcIdDst {UINT32_MAX};
193  uint32_t cfa {0U};
201  uint32_t embeddedTopLines {UINT32_MAX};
209  uint32_t embeddedBottomLines {UINT32_MAX};
229  float_t fps {0.0F};
265  uint32_t embeddedDataOffset {0U};
270  };
271 
277  uint32_t id = UINT32_MAX;
279  std::string name = "";
280 #if !NV_IS_SAFETY
281 
282  std::string description = "";
283 #endif // !NV_IS_SAFETY
284 
289  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
301  bool useVcInfoList {false};
307  uint32_t numVCs {1U};
315  bool isTriggerModeEnabled {false};
317  std::vector<IntrGpioInfo> errGpios {};
327  bool useCDIv2API {false};
328 #if defined(NVMEDIA_QNX) || defined(NVMEDIA_LINUX)
329 
336  bool isAuthEnabled {true};
337 #else
338 
344  bool isAuthEnabled {false};
345 #endif // NVMEDIA_QNX
346 #if !NV_IS_SAFETY
347 
353  bool isTPGEnabled {false};
355  uint32_t patternMode {0U};
356 #endif // !NV_IS_SAFETY
357 
367  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
368 
374  uint16_t numContext {1U};
375 };
376 
379 {
381  std::string name = "";
382 #if !NV_IS_SAFETY
383 
384  std::string description = "";
385 #endif
386 
391  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
392 
401  bool useCDIv2API {false};
412  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
413 };
414 
422  uint8_t sourceGpio;
428  uint8_t destGpio;
429 };
430 
432 struct SerInfo
433 {
435  std::string name = "";
436 #if !NV_IS_SAFETY
437 
438  std::string description = "";
439 #endif // !NV_IS_SAFETY
440 
445  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
446 #if !NV_IS_SAFETY
447 
448  bool longCable {false};
449 #endif // !NV_IS_SAFETY
450 
451  std::vector<IntrGpioInfo> errGpios {};
461  bool useCDIv2API {false};
463  std::vector<SerdesGPIOPinMap> serdesGPIOPinMappings {};
474  uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX};
475 };
476 
485  std::string keyPurpose;
492  std::string keyName;
502  uint32_t cryptoChanID;
503 public:
511  CryptoKeyInfo(std::string const &purpose,
512  std::string const &name,
513  uint32_t const chanID):
514  keyPurpose(purpose), keyName(name), cryptoChanID(chanID) { };
515 
521  std::string const &name() const noexcept { return keyName; };
527  std::string const &purpose() const noexcept { return keyPurpose; };
533  uint32_t chanID() const noexcept { return cryptoChanID; };
534 };
535 
544 enum class SerdesDataTransmissionMode : uint8_t
545 {
547  PIXEL_MODE = 0U,
548 
550  TUNNELING_MODE = 1U
551 };
552 
560 {
562  std::string name = "";
563 #if !NV_IS_SAFETY
564 
565  std::string description = "";
566 #endif // !NV_IS_SAFETY
567 
572  uint32_t linkIndex {UINT32_MAX};
590  bool isEEPROMSupported {false};
616  std::vector<CryptoKeyInfo> cryptoKeysList {};
617 
626 };
627 
629 struct DeserInfo
630 {
632  std::string name = "";
633 #if !NV_IS_SAFETY
634 
635  std::string description = "";
636 #endif // !NV_IS_SAFETY
637 
642  uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
644  std::vector<IntrGpioInfo> errGpios {};
654  bool useCDIv2API {false};
659  bool resetAll {false};
660 };
661 
669 {
686  uint32_t i2cDevice {UINT32_MAX};
694  uint32_t numCameraModules {0U};
702  std::uint32_t desI2CPort {UINT32_MAX};
708  std::uint32_t desTxPort {UINT32_MAX};
714  std::uint32_t pwrPort = UINT32_MAX;
721  std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION] = {0U};
728  std::uint32_t cphyRate[MAX_CSI_LANE_CONFIGURATION] = {0U};
735  bool isPassiveModeEnabled {false};
737  bool isGroupInitProg {false};
747  std::vector<uint32_t> gpios {};
748 #if !NV_IS_SAFETY
749 
750  bool isPwrCtrlDisabled {false};
753 #endif // !NV_IS_SAFETY
754 
755  bool resetAll;
765  std::string bootAcceleratorTag = "";
779 };
780 
784 enum class InitErrorCode : uint32_t {
793 
794  // CBA operation failures
798  CBA_FAILURE = 10U,
799 
800  // DDI API based failures
804  DESER_POWER_FAILURE = 100U,
808  DESER_INIT_FAILURE = 101U,
812  DESER_EN_LINK_FAILURE = 102U,
816  DESER_START_FAILURE = 103U,
824  CAMERA_POWER_FAILURE = 200U,
828  CAMERA_INIT_FAILURE = 201U,
836  CAMERA_AUTH_FAILURE = 203U,
844  CAMERA_START_FAILURE = 205U,
849 
850  // Power based failures
854  CAMERA_OVER_VOLTAGE = 300U,
858  CAMERA_UNDER_VOLTAGE = 301U,
866  CAMERA_OVER_CURRENT = 303U,
879 };
880 
883 } // namespace nvsipl
884 
885 #endif //NVSIPLDEVICEBLOCKINFO_HPP
nvsipl::EEPROMInfo::virtualI2CAddress
uint8_t virtualI2CAddress
Holds the requested virtual I2C address of the EEPROM.
Definition: NvSIPLDeviceBlockInfo.hpp:412
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:91
nvsipl::CryptoKeyInfo::chanID
uint32_t chanID() const noexcept
Returns a crypto channel ID associated with the key.
Definition: NvSIPLDeviceBlockInfo.hpp:533
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:616
nvsipl::DeserInfo::name
std::string name
Holds the name of the deserializer, for example, "MAX96712".
Definition: NvSIPLDeviceBlockInfo.hpp:632
nvsipl::DeviceBlockInfo::dphyRate
std::uint32_t dphyRate[MAX_CSI_LANE_CONFIGURATION]
Holds the deserializer's data rate in DPHY mode(kHz)
Definition: NvSIPLDeviceBlockInfo.hpp:721
nvsipl::SensorInfo::UserDefDTCaptureSetting::bitsPerPixel
NvSiplBitsPerPixel bitsPerPixel
Holds the bits per pixel.
Definition: NvSIPLDeviceBlockInfo.hpp:159
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:71
nvsipl::DeviceBlockInfo::csiPort
NvSiplCapInterfaceType csiPort
Holds the NvSiplCapInterfaceType that specifies the CSI port of the SoC to which the deserializer is ...
Definition: NvSIPLDeviceBlockInfo.hpp:674
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:295
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:344
nvsipl::IntrGpioInfo
Describes an Interrupt GPIO configuration.
Definition: NvSIPLDeviceBlockInfo.hpp:80
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:688
nvsipl::SensorInfo::vcInfoList
VirtualChannelInfo vcInfoList[MAX_VIRTUAL_CHANNELS_PER_SENSOR]
Holds an array of virtual channel information per sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:309
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:101
nvsipl::DeviceBlockInfo::isPwrCtrlDisabled
bool isPwrCtrlDisabled
Holds a flag which indicates whether power control is disabled on the platform.
Definition: NvSIPLDeviceBlockInfo.hpp:750
nvsipl::SensorInfo::VirtualChannelInfo::fps
float_t fps
Holds the average number of frames per second.
Definition: NvSIPLDeviceBlockInfo.hpp:229
nvsipl::SerInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address.
Definition: NvSIPLDeviceBlockInfo.hpp:445
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:279
nvsipl::DeviceBlockInfo::i2cDevice
uint32_t i2cDevice
Holds the I2C device bus number used to connect the deserializer with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:686
NvSiplBitsPerPixel
NvSiplBitsPerPixel
Specifies bits per pixel.
Definition: NvSIPLCapStructs.h:147
nvsipl::SensorInfo::VirtualChannelInfo::vcIdDst
uint32_t vcIdDst
Holds the destination virtual channel id.
Definition: NvSIPLDeviceBlockInfo.hpp:182
nvsipl::DeserInfo::description
std::string description
Holds the description of the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:635
NVSIPL_CAP_INPUT_FORMAT_TYPE_USER_DEFINED_8
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_USER_DEFINED_8
Specifies User defined 8 (0x37).
Definition: NvSIPLCapStructs.h:133
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:765
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:65
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:126
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:654
nvsipl::SensorInfo::VirtualChannelInfo::cfa
uint32_t cfa
Holds the Bayer color filter array order of the sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:193
nvsipl::EEPROMInfo
Defines the EEPROM information.
Definition: NvSIPLDeviceBlockInfo.hpp:378
nvsipl::DeserInfo::resetAll
bool resetAll
Holds flag to indicate that the deserializer needs to run a reset all sequence at startup.
Definition: NvSIPLDeviceBlockInfo.hpp:659
nvsipl::CameraModuleInfo::sensorInfo
SensorInfo sensorInfo
Holds the information about the sensor in a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:594
nvsipl::DeviceBlockInfo::numCameraModules
uint32_t numCameraModules
Holds the number of camera modules connected to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:694
nvsipl::SensorInfo::description
std::string description
Holds the description of the image sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:282
nvsipl::InitErrorCode
InitErrorCode
Init Error Codes.
Definition: NvSIPLDeviceBlockInfo.hpp:784
nvsipl::SensorInfo::UserDefDTCaptureSetting
Defines the user defined datatype capture settings.
Definition: NvSIPLDeviceBlockInfo.hpp:130
nvsipl::CameraModuleInfo::linkIndex
uint32_t linkIndex
Holds the index of the deserializer link to which this module is connected.
Definition: NvSIPLDeviceBlockInfo.hpp:572
nvsipl::SensorInfo::VirtualChannelInfo::inputFormat
NvSiplCapInputFormatType inputFormat
Holds the input format.
Definition: NvSIPLDeviceBlockInfo.hpp:217
nvsipl::SensorInfo::Resolution::width
uint32_t width
Holds the width in pixels.
Definition: NvSIPLDeviceBlockInfo.hpp:117
nvsipl::X2_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION
Indicates the index for CSI 2 lanes.
Definition: NvSIPLDeviceBlockInfo.hpp:74
nvsipl::SensorInfo::isTriggerModeEnabled
bool isTriggerModeEnabled
Holds a flag which indicates whether trigger mode is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:315
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:478
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:461
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:167
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:289
nvsipl::CameraModuleInfo
Defines information for the camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:559
NvSIPLCapStructs.h
nvsipl::DeviceBlockInfo::gpios
std::vector< uint32_t > gpios
Holds non-error monitoring GPIO indices for the Device Block.
Definition: NvSIPLDeviceBlockInfo.hpp:747
nvsipl::SensorInfo::UserDefDTCaptureSetting::inputFormat
NvSiplCapInputFormatType inputFormat
Holds the input format.
Definition: NvSIPLDeviceBlockInfo.hpp:153
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:62
nvsipl::SensorInfo::patternMode
uint32_t patternMode
Holds the Test Pattern Generator (TPG) pattern mode.
Definition: NvSIPLDeviceBlockInfo.hpp:355
nvsipl::SensorInfo::VirtualChannelInfo::embeddedTopLines
uint32_t embeddedTopLines
Holds the number of top embedded lines.
Definition: NvSIPLDeviceBlockInfo.hpp:201
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:696
nvsipl::SerdesDataTransmissionMode
SerdesDataTransmissionMode
Defines the data transmission mode for serializer-deserializer link.
Definition: NvSIPLDeviceBlockInfo.hpp:544
nvsipl::SensorInfo
Defines the image sensor information.
Definition: NvSIPLDeviceBlockInfo.hpp:105
nvsipl::EEPROMInfo::description
std::string description
Holds the description of the EEPROM.
Definition: NvSIPLDeviceBlockInfo.hpp:384
nvsipl::IntrGpioInfo::enableGetStatus
bool enableGetStatus
Whether to enable driver error localization upon interrupt.
Definition: NvSIPLDeviceBlockInfo.hpp:95
nvsipl::CameraModuleInfo::dataTransmissionMode
SerdesDataTransmissionMode dataTransmissionMode
Data transmission mode for the serializer-deserializer link.
Definition: NvSIPLDeviceBlockInfo.hpp:625
nvsipl::X4_CSI_LANE_CONFIGURATION
static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION
Indicates the index for CSI 4 lanes.
Definition: NvSIPLDeviceBlockInfo.hpp:77
nvsipl::SensorInfo::UserDefDTCaptureSetting::height
uint32_t height
Holds the height of the user defined datatype.
Definition: NvSIPLDeviceBlockInfo.hpp:145
nvsipl::SensorInfo::VirtualChannelInfo::isEmbeddedDataTypeEnabled
bool isEmbeddedDataTypeEnabled
Indicates whether the embedded data is coming in CSI packet with different data.
Definition: NvSIPLDeviceBlockInfo.hpp:237
nvsipl::DeviceBlockInfo::pwrPort
std::uint32_t pwrPort
Holds the power port number.
Definition: NvSIPLDeviceBlockInfo.hpp:714
nvsipl::SensorInfo::useVcInfoList
bool useVcInfoList
Holds a flag which indicates whether to use vcInfoList instead of vcInfo.
Definition: NvSIPLDeviceBlockInfo.hpp:301
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:582
nvsipl::DeviceBlockInfo::desI2CPort
std::uint32_t desI2CPort
Holds the deserializer I2C port number connected with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:702
nvsipl::DeserInfo::i2cAddress
uint8_t i2cAddress
Holds the native I2C address of the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:642
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:676
nvsipl::CryptoKeyInfo::purpose
const std::string & purpose() const noexcept
Returns purpose of the key.
Definition: NvSIPLDeviceBlockInfo.hpp:527
nvsipl::CryptoKeyInfo::name
const std::string & name() const noexcept
Returns a name of the key.
Definition: NvSIPLDeviceBlockInfo.hpp:521
nvsipl::SensorInfo::VirtualChannelInfo::resolution
Resolution resolution
Holds the Resolution of the captured frame.
Definition: NvSIPLDeviceBlockInfo.hpp:221
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:327
nvsipl::SerInfo::longCable
bool longCable
Holds long cable support.
Definition: NvSIPLDeviceBlockInfo.hpp:448
nvsipl::CameraModuleInfo::name
std::string name
Holds the name of the camera module, for example, "SF3324".
Definition: NvSIPLDeviceBlockInfo.hpp:562
nvsipl::SensorInfo::UserDefDTCaptureSetting::isDataTypeEnabled
bool isDataTypeEnabled
Indicates whether the user defined datatype is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:137
NvSiplCapInputFormatType
NvSiplCapInputFormatType
Specifies the capture input format type.
Definition: NvSIPLCapStructs.h:92
nvsipl::DeviceBlockInfo::isGroupInitProg
bool isGroupInitProg
Holds a flag which indicates whether group initialization is enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:737
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::VirtualChannelInfo::embeddedDataOffset
uint32_t embeddedDataOffset
Holds the byte offset from the buffer start to the first active pixel.
Definition: NvSIPLDeviceBlockInfo.hpp:265
nvsipl::SensorInfo::isTPGEnabled
bool isTPGEnabled
Holds a flag which indicates whether the sensor requires configuration in Test Pattern Generator (TPG...
Definition: NvSIPLDeviceBlockInfo.hpp:353
nvsipl::CameraModuleInfo::serInfo
SerInfo serInfo
Holds the SerInfo of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:584
nvsipl::DeserInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:644
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:629
nvsipl::DeviceBlockInfo::longCables
bool longCables[MAX_CAMERAMODULES_PER_BLOCK]
Holds long cable support.
Definition: NvSIPLDeviceBlockInfo.hpp:752
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:474
nvsipl::SensorInfo::Resolution
Defines the image resolution.
Definition: NvSIPLDeviceBlockInfo.hpp:108
nvsipl::SerInfo::description
std::string description
Holds the description of the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:438
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:269
nvsipl::SensorInfo::VirtualChannelInfo::vcId
uint32_t vcId
Holds the virtual channel id.
Definition: NvSIPLDeviceBlockInfo.hpp:174
nvsipl::DeviceBlockInfo
Defines the DeviceBlock information.
Definition: NvSIPLDeviceBlockInfo.hpp:668
nvsipl::CameraModuleInfo::eepromInfo
EEPROMInfo eepromInfo
Holds the information about EEPROM device in a camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:592
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:778
nvsipl::SerInfo::serdesGPIOPinMappings
std::vector< SerdesGPIOPinMap > serdesGPIOPinMappings
Holds the information about GPIO mapping from the serializer to the deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:463
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:381
NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
Specifies RAW 12.
Definition: NvSIPLCapStructs.h:111
nvsipl::CameraModuleInfo::description
std::string description
Holds the description of the camera module.
Definition: NvSIPLDeviceBlockInfo.hpp:565
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:511
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_BITS_PER_PIXEL_8
@ NVSIPL_BITS_PER_PIXEL_8
Specifies 8 bits per pixel.
Definition: NvSIPLCapStructs.h:149
nvsipl::DeviceBlockInfo::desTxPort
std::uint32_t desTxPort
Holds the deserializer Tx port number connected with the SoC.
Definition: NvSIPLDeviceBlockInfo.hpp:708
nvsipl::SerInfo::name
std::string name
Holds the name of the serializer, for example, "MAX96705".
Definition: NvSIPLDeviceBlockInfo.hpp:435
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:401
nvsipl::SensorInfo::numContext
uint16_t numContext
Holds the number of capture contexts a sensor supports.
Definition: NvSIPLDeviceBlockInfo.hpp:374
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:307
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: NvSIPLCameraQuery.hpp:22
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:367
nvsipl::SensorInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the sensor.
Definition: NvSIPLDeviceBlockInfo.hpp:317
nvsipl::MAX_SENSORS_PER_PLATFORM
static constexpr uint32_t MAX_SENSORS_PER_PLATFORM
Indicates the maximum number of sensors per platform.
Definition: NvSIPLDeviceBlockInfo.hpp:68
nvsipl::CameraModuleInfo::isEEPROMSupported
bool isEEPROMSupported
Holds EEPROM support.
Definition: NvSIPLDeviceBlockInfo.hpp:590
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:432
nvsipl::SerInfo::errGpios
std::vector< IntrGpioInfo > errGpios
Holds Interrupt GPIO configurations for the serializer.
Definition: NvSIPLDeviceBlockInfo.hpp:451
nvsipl::DeviceBlockInfo::resetAll
bool resetAll
Reset all sequence is needed when starting deserializer.
Definition: NvSIPLDeviceBlockInfo.hpp:755
nvsipl::SensorInfo::VirtualChannelInfo
Defines the information of a virtual channel/single exposure.
Definition: NvSIPLDeviceBlockInfo.hpp:165
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:209
NVSIPL_CAP_CSI_DPHY_MODE
@ NVSIPL_CAP_CSI_DPHY_MODE
Specifies that CSI is in DPHY mode.
Definition: NvSIPLCapStructs.h:169
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:728
nvsipl::DeviceBlockInfo::isPassiveModeEnabled
bool isPassiveModeEnabled
Holds a flag which indicates whether passive mode must be enabled.
Definition: NvSIPLDeviceBlockInfo.hpp:735