|
|
Jetson Linux API Reference
|
39.2 Release
|
Go to the documentation of this file.
13 #ifndef NVSIPLCAMERATYPES_HPP
14 #define NVSIPLCAMERATYPES_HPP
42 uint32_t
idx {UINT32_MAX};
281 uint32_t
id {UINT32_MAX};
340 #endif // !NV_IS_SAFETY
359 #endif // !NV_IS_SAFETY
776 using TransportType = std::variant<CoETransportConfig, GmslTransportConfig>;
837 #endif // NVSIPLCAMERATYPES_HPP
uint32_t cphyRate
C-PHY symbol rate in ksps.
@ NVSIPL_CAP_CSI_INTERFACE_TYPE_CSI_A
Specifies CSI port A.
TransportConfig & operator=(TransportConfig const &) &=default
std::string name
Name of the transport.
bool isEmbeddedDataTypeEnabled
Indicates whether the embedded data is coming in CSI packet with different data.
std::string name
Holds the name of the sensor, for example, "AR0231".
Defines the image resolution.
@ POLARITY_ACB
A-C-B polarity configuration for CPHY, swap polarity for DPHY.
@ LINK_MODE_GMSL3
GMSL version 3.
@ POLARITY_CAB
C-A-B polarity configuration for CPHY.
I2CAddressInfo address
I2C address information for the module power control device.
@ POLARITY_BCA
B-C-A polarity configuration for CPHY.
uint32_t transportId
ID of the transport that this module is connected to.
std::vector< EEPROMConfig > eepromConfigs
EEPROM configurations for this module.
std::vector< InterruptGpioInfo > errGpios
Holds Interrupt GPIO configurations for the serializer.
uint32_t dphyRate
D-PHY clock rate in kbps.
@ LINK_MODE_GMSL2_6GBPS
GMSL version 2, 6GBPS mode.
uint32_t embeddedDataOffset
Holds the byte offset from the buffer start to the first active pixel.
uint32_t ipAddress
IP address of the HSB.
@ LANE_SWIZZLE_A0B1B0A1
Lane swizzle pattern A0B1B0A1.
std::vector< GmslSensorConfig > sensorConfigs
Sensor configurations for this module.
std::vector< TransportConfig > transports
Transport configurations.
std::vector< SerdesGPIOPinMap > serdesGPIOPinMappings
Holds the information about GPIO mapping from the serializer to the deserializer.
uint8_t tHsSettle
THS settle time of the MIPI lane, in nanoseconds.
Combined structure describing module configurations and transport configurations.
uint32_t vcIdSrc
Holds the source virtual channel id.
bool syncSensors
Whether multiple sensors on this HSB should be synchronized.
ModuleConfig & operator=(ModuleConfig const &) &=default
NvSiplCapInterfaceType csiPort
CSI port connected to this deserializer.
GmslDeserializerConfig()=default
Default constructor.
std::array< uint8_t, 6 > MacAddress
NvSiplCapInputFormatType inputFormat
Holds the input format.
bool lpBypassMode
LP bypass mode.
@ LINK_MODE_GMSL2_3GBPS
GMSL version 2, 3GBPS mode.
uint32_t ipAddress
Optional IP address for this sensor's data path.
NvSiplBitsPerPixel
Specifies bits per pixel.
uint32_t embeddedBottomLines
Holds the number of bottom embedded lines.
uint32_t i2cDevice
I2C device bus number.
I2CAddressInfo address
Holds I2C address information for the EEPROM.
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_USER_DEFINED_8
Specifies User defined 8 (0x37).
Address i2cAddress
Native I2C address of the device.
Common information for all sensors.
std::vector< ModuleConfig > modules
Module configurations.
std::string interfaceName
Ethernet interface name on the host.
Defines the EEPROM information.
MIPI configuration parameters for camera connections.
NvSiplCapInputFormatType inputFormat
Holds the input format.
uint32_t linkIndex
Deserializer link index for this module.
GmslLinkMode
Defines GMSL link mode options for deserializer-serializer connections.
Describes an Interrupt GPIO configuration.
Settings for the HSB (Holoscan Sensor Bridge).
struct nvsipl::sensorconfig::GmslPowerControlConfig::ModuleInfo moduleInfo
CommonSensorConfig & operator=(CommonSensorConfig const &) &=default
@ FSYNC_INVALID
Invalid FSYNC mode.
bool isPassiveModeEnabled
Whether passive mode is enabled.
std::array< NvSiplMipiPolarity, 4 > lanePolarity
Lane polarity configuration for each lane/trio.
CoECameraSensorConfig & operator=(CoECameraSensorConfig const &) &=default
PHY replication entry for CSI data cloning between TX ports.
I2CAddressInfo address
I2C address information for the deserializer.
struct nvsipl::sensorconfig::GmslPowerControlConfig::DeserializerInfo deserializerInfo
NvSiplCapCsiPhyMode phyMode
PHY mode (D-PHY or C-PHY).
Defines the serializer information.
uint8_t destGpio
The destination multifunction pin (MFP) number on the deserializer.
ModuleType moduleType
Module type configuration.
uint32_t powerPort
Power port number.
uint32_t srcPhy
Source PHY index.
uint8_t sourceGpio
The source multifunction pin (MFP) number on the serializer.
std::string name
Name of the deserializer power control device.
bool isSimulatorModeEnabled
Whether simulator mode is enabled for this module.
Defines the user defined datatype capture configuration.
Defines GPIO mapping from the serializer to the deserializer.
std::string platform
Platform name this module is associated with (e.g., "ferrix", "kenari").
NvSiplCapInterfaceType
Specifies the capture interface type for the CSI interface.
SensorSystemConfig & operator=(SensorSystemConfig const &) &=default
CoETransportConfig & operator=(CoETransportConfig const &) &=default
std::vector< ReplicationEntry > replicationInfo
Optional PHY replication pairs (max 2)
MacAddress macAddress
MAC address of the sensor.
NvSiplCapCsiPhyMode
Specifies the CSI PHY mode.
bool enableGetStatus
Whether to enable driver error localization upon interrupt.
uint8_t deviceIndex
Device index of this sensor.
bool isTriggerModeEnabled
Holds a flag which indicates whether trigger mode is enabled.
Resolution resolution
Holds the Resolution of the captured frame.
@ LANE_SWIZZLE_A0A1B0B1
Lane swizzle pattern A0A1B0B1 (default)
@ LANE_SWIZZLE_A0B1A1B0
Lane swizzle pattern A0B1A1B0.
@ POLARITY_BAC
B-A-C polarity configuration for CPHY.
std::optional< Address > virtualI2CAddress
Requested virtual I2C address of the device.
TransportType transportType
Transport type configuration.
std::variant< CoEModule, GmslModule > ModuleType
NvSiplMipiSwizzle laneSwizzle
Lane swizzle pattern.
float_t fps
Holds the average number of frames per second.
std::chrono::milliseconds timeout
Error localization timeout duration.
@ LINK_MODE_NONE
No link mode (e.g., TPG mode)
std::string description
Holds the description of the sensor.
std::vector< InterruptGpioInfo > errGpios
Holds Interrupt GPIO configurations for the sensor.
CoEModule & operator=(CoEModule const &) &=default
NvSiplBitsPerPixel bitsPerPixel
Holds the bits per pixel.
std::variant< GmslCameraSensorConfig > GmslSensorConfig
Variant type for all GMSL sensor types.
EEPROMConfig & operator=(EEPROMConfig const &) &=default
GmslLinkMode linkMode
GMSL link mode for serializer communication.
Deserializer power control configuration.
std::string description
Description of the module.
SerializerConfig & operator=(SerializerConfig const &) &=default
std::optional< uint32_t > gpioPinIndex
GPIO pin index for direct GPIO power control (optional).
std::string name
Holds the name of the EEPROM, for example, "N24C64".
GmslPowerControlConfig & operator=(GmslPowerControlConfig const &) &=default
std::string name
Holds the name of the serializer, for example, "MAX96705".
@ LINK_MODE_GMSL1
GMSL version 1.
GmslCameraSensorConfig & operator=(GmslCameraSensorConfig const &) &=default
Module power control configuration.
uint16_t numContext
Holds the number of capture contexts a sensor supports.
uint32_t idx
The interrupt GPIO index.
std::optional< UserDataTypeCaptureConfig > userDataTypeCapture
Optional user defined datatype capture configuration.
uint32_t cfa
Holds the Bayer color filter array order of the sensor.
uint32_t mipiClockRate
MIPI clock rate for D-Phy.
@ FSYNC_OSC_MANUAL
Oscillator Manual (internal)
Settings for a camera module connected to an HSB.
NvSiplMipiPolarity
Enum for MIPI lane polarity options.
Settings for an individual sensor within a camera module.
@ FSYNC_EXTERNAL
External FSYNC from Tegra.
GmslDeserializerConfig deserializerConfig
Deserializer configuration.
I2CAddressInfo address
I2C address information for the deserializer power control device.
GmslFsyncMode
Defines GMSL frame sync mode options for deserializer.
NvSiplCapInputFormatType
Specifies the capture input format type.
@ POLARITY_MAX
Max enum value (used for bounds checking)
uint8_t tClkSettle
MIPI TCLK-SETTLE timing.
static constexpr Address INVALID
GmslModule & operator=(GmslModule const &) &=default
~GmslDeserializerConfig()=default
Destructor.
uint32_t embeddedTopLines
Holds the number of top embedded lines.
@ LANE_SWIZZLE_A0B0B1A1
Lane swizzle pattern A0B0B1A1.
bool isSimulatorModeEnabled
Whether simulator mode is enabled for this module.
std::vector< CoESensorConfig > sensorConfigs
Configuration for each sensor in this camera module.
std::string name
Name of the module.
@ POLARITY_ABC
Default polarity configuration (A-B-C for CPHY, no swap for DPHY)
std::string platformConfig
Platform configuration identifier.
ModuleInfo & operator=(ModuleInfo const &) &=default
@ LINK_MODE_GMSL3_GMSL2
GMSL3 in deserializer, GMSL2 in serializer.
std::string name
Name of the module power control device.
std::string description
Holds the description of the EEPROM.
GmslFsyncMode fsyncMode
Frame sync mode for this module.
uint32_t dstPhy
Destination PHY index.
@ NVSIPL_CAP_INPUT_FORMAT_TYPE_RAW12
Specifies RAW 12.
std::variant< CoETransportConfig, GmslTransportConfig > TransportType
Defines GMSL power control information for both module and deserializer power management.
bool vlanEnable
Flag indicating if VLAN tagging is enabled.
@ NVSIPL_BITS_PER_PIXEL_8
Specifies 8 bits per pixel.
@ POLARITY_CBA
C-B-A polarity configuration for CPHY.
@ LANE_SWIZZLE_A0B0A1B1
Lane swizzle pattern A0B0A1B1.
GmslDeserializerConfig & operator=(GmslDeserializerConfig const &) &=default
Copy assignment operator.
std::vector< VirtualChannelInfo > vcInfoList
Holds information on all virtual channels per sensor.
uint8_t lanes
Number of data lanes used.
DeserializerInfo & operator=(DeserializerInfo const &) &=default
Information about the I2C address of a device.
std::string description
Description of the transport.
GmslPowerControlConfig powerControlConfig
Power control configuration.
I2CAddressInfo address
Holds I2C address information for the serializer.
uint32_t deserializerTxPort
Deserializer Tx port number.
std::string description
Holds the description of the serializer.
std::vector< InterruptGpioInfo > errGpios
Interrupt GPIO configurations for the deserializer.
@ LANE_SWIZZLE_MAX
Max enum value (used for bounds checking)
uint32_t deserializerI2CPort
Deserializer I2C port number.
GmslTransportConfig & operator=(GmslTransportConfig const &) &=default
I2CAddressInfo address
Holds I2C address information for the sensor.
Defines the information of a virtual channel/single exposure.
std::string name
Name of the deserializer driver (e.g., "Max96724GmslDeserializer").
@ LANE_SWIZZLE_A0A1B1B0
Lane swizzle pattern A0A1B1B0.
NvSiplMipiSwizzle
Enum for MIPI lane swizzle patterns.
uint32_t vcIdDst
Holds the destination virtual channel id.
uint32_t width
Holds the width in pixels.
bool bootAcceleratorUseStaggeredStart
Whether to use staggered start with boot accelerator.
MipiSettings mipiSettings
MIPI settings for this module.
uint32_t height
Holds the height in pixels.
@ NVSIPL_CAP_CSI_DPHY_MODE
Specifies that CSI is in DPHY mode.
uint32_t sensorGroup
Sensors with the same sensorGroup are grouped into one logical camera.
uint32_t lines
Holds the number of lines of the user defined datatype.
std::string bootAcceleratorTag
Boot accelerator tag.
uint32_t transportId
Unique ID for this transport.
SerializerConfig serializerConfig
Serializer configuration for this module.
std::variant< CoECameraSensorConfig > CoESensorConfig
Variant type for all CoE sensor types.