|
|
Jetson Linux API Reference
|
39.2 Release
|
Go to the documentation of this file.
13 #ifndef NVSIPLDEVICEBLOCKINFO_HPP
14 #define NVSIPLDEVICEBLOCKINFO_HPP
277 uint32_t
id = UINT32_MAX;
283 #endif // !NV_IS_SAFETY
328 #if defined(NVMEDIA_QNX) || defined(NVMEDIA_LINUX)
345 #endif // NVMEDIA_QNX
356 #endif // !NV_IS_SAFETY
391 uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX};
439 #endif // !NV_IS_SAFETY
449 #endif // !NV_IS_SAFETY
485 std::string keyPurpose;
502 uint32_t cryptoChanID;
512 std::string
const &
name,
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; };
566 #endif // !NV_IS_SAFETY
636 #endif // !NV_IS_SAFETY
753 #endif // !NV_IS_SAFETY
885 #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)
NvSiplBitsPerPixel bitsPerPixel
Holds the bits per pixel.
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.
VirtualChannelInfo vcInfoList[MAX_VIRTUAL_CHANNELS_PER_SENSOR]
Holds an array of virtual channel information per sensor.
@ 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.
@ PIXEL_MODE
Pixel mode - Serializer processes CSI-2 packets (default)
@ 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.
NvSiplBitsPerPixel
Specifies bits per pixel.
uint32_t vcIdDst
Holds the destination virtual channel id.
std::string description
Holds the description of the deserializer.
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_USER_DEFINED_8
Specifies User defined 8 (0x37).
@ 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.
Defines the user defined datatype capture settings.
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.
NvSiplCapInputFormatType inputFormat
Holds the input format.
static constexpr uint32_t MAX_VIRTUAL_CHANNELS_PER_SENSOR
Indicates the maximum number of virtual channels per sensor.
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.
SerdesDataTransmissionMode
Defines the data transmission mode for serializer-deserializer link.
Defines the image sensor information.
std::string description
Holds the description of the EEPROM.
bool enableGetStatus
Whether to enable driver error localization upon interrupt.
SerdesDataTransmissionMode dataTransmissionMode
Data transmission mode for the serializer-deserializer link.
static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION
Indicates the index for CSI 4 lanes.
uint32_t height
Holds the height of the user defined datatype.
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 useVcInfoList
Holds a flag which indicates whether to use vcInfoList instead of vcInfo.
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".
bool isDataTypeEnabled
Indicates whether the user defined datatype is enabled.
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.
uint32_t embeddedDataOffset
Holds the byte offset from the buffer start to the first active pixel.
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.
UserDefDTCaptureSetting userDefDTCapSetting
Holds the UserDefDTCaptureSetting for the virtual channel.
uint32_t vcId
Holds the virtual channel id.
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.
@ NVSIPL_BITS_PER_PIXEL_8
Specifies 8 bits per pixel.
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...
uint16_t numContext
Holds the number of capture contexts a sensor supports.
@ CAMERA_POWER_FAILURE
Camera module Power Failure causing Initialization issue in the camera pipeline.
uint32_t numVCs
Holds the number of virtual channels enabled for a sensor.
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.
@ TUNNELING_MODE
Tunneling mode - Serializer bypasses video pipeline, forwards raw data.
@ 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.