|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.1.15.0 Release For Test and Development only
|
Go to the documentation of this file.
11 #ifndef NVSIPLDEVICEBLOCK_HPP
12 #define NVSIPLDEVICEBLOCK_HPP
88 std::uint32_t
cfa = 0U;
104 std::uint32_t
id = -1U;
346 static std::unique_ptr <INvSIPLDeviceBlock>
Create(
void);
432 #endif //NVSIPLDEVICEBLOCK_HPP
static std::unique_ptr< INvSIPLDeviceBlock > Create(void)
Creates an instance of INvSIPLDeviceBlock implementation and returns a handle.
NvMediaICPInterfaceType
Specifies the image capture interface type for the CSI interface.
std::uint32_t i2cAddress
Holds the native I2C address.
std::string name
Holds the name of the deserializer, for example, "MAX96712".
Defines NvSIPL DeviceBlock (libnvsipl_devblk.so) version information.
@ NVMEDIA_ICP_CSI_DPHY_MODE
Specifies that CSI is in DPHY mode.
virtual SIPLStatus Stop(void)=0
Stops streaming from the sensors.
std::uint32_t width
Holds the width in pixels.
virtual SIPLStatus Start(void)=0
Starts streaming from the sensors.
static constexpr std::uint32_t PATCH_VER
Indicates a patch revision.
std::uint32_t i2cAddress
Holds the native I2C address.
DeserInfo deserInfo
Holds the DeserInfo deserializer information.
std::uint32_t embeddedBot
Holds the number of embedded bottom lines.
VirtualChannelInfo vcInfoList[MAX_VIRTUAL_CHANNELS_PER_SENSOR]
Holds virtual channel information.
virtual SIPLStatus Deinit(void)=0
Deinitializes NvSIPL DeviceBlock (libnvsipl_devblk.so).
Defines virtual channel properties.
NvMediaICPCsiPhyMode phyMode
Holds the NvMediaICPCsiPhyMode Phy mode.
uint32_t numVirtualChannels
Holds the number of virtual channels used.
bool isPwrCtrlDisabled
Holds a flag which indicates whether power control is disabled on the platform.
std::string name
Holds the name of the image sensor, for example, "AR0231".
std::uint32_t height
Holds the height in pixels.
std::string description
Holds the description of the deserializer.
NvMediaRect clipRect
Holds the NvMediaRect clipping rectangle.
virtual SIPLStatus GetProperty(DeviceBlockProperty &property) const =0
Gets the properties of the NvSIPL DeviceBlock (libnvsipl_devblk.so) after initializing with a specifi...
uint32_t numSensors
Holds the number of image sensors in the module.
virtual SIPLStatus SetConfig(const DeviceBlockInfo *deviceBlockInfo)=0
Sets the configuration for DeviceBlockInfo.
NvMediaICPInterfaceType csiPort
Holds the NvMediaICPInterfaceType that specifies the CSI port of the SoC to which the deserializer is...
std::uint32_t embeddedBottomLines
Holds the number of bottom embedded lines.
uint32_t i2cAddress
Holds the native I2C address of the image sensor.
Defines the EEPROM information.
std::uint32_t frameRate
Holds the channel frame rate in frames per second.
std::uint32_t virtualChannelIndex
Holds the virtual channel index.
uint32_t numCameraModules
Holds the number of camera modules connected to the deserializer.
std::string description
Holds the description of the image sensor.
std::uint32_t embeddedTop
Holds the number of embedded top lines.
std::uint32_t numOfVCs
Holds the number of virtual channels.
static const std::uint32_t MAX_SENSORS_PER_CAMERA_MODULE
Indicates the maximum number of image sensors per camera module.
bool isTriggerModeEnabled
Holds a flag which indicates whether trigger mode is enabled.
std::uint32_t uMajor
Holds a major revision.
@ NVMEDIA_IMAGE_CAPTURE_CSI_INTERFACE_TYPE_CSI_A
Specifies CSI port A.
Defines the public data structures and interfaces for NvSIPL DeviceBlock.
virtual SIPLStatus ReconfigureModule(std::uint8_t cameraModules)=0
Recovers from a camera module error.
Defines information for the camera module.
virtual SIPLStatus Init(void)=0
Initializes NvSIPL DeviceBlock (libnvsipl_devblk.so) for the selected configuration.
EEPROMInfo eepromInfoList[MAX_EEPROMS_PER_CAMERA_MODULE]
Holds an array of information about each EEPROM device in a camera module.
uint32_t patternMode
Holds the Test Pattern Generator (TPG) pattern mode.
static const std::uint32_t MAX_SENSORS_PER_PLATFORM
Indicates the maximum number of sensors per platform.
bool isSlaveModeEnabled
Holds a flag which indicates whether slave mode must be enabled.
Defines camera module properties.
CameraModuleInfo cameraModuleInfoList[MAX_CAMERAMODULES_PER_BLOCK]
Holds an array of information about each camera module in the device block.
Defines the image sensor information.
std::string description
Holds the description of the EEPROM.
std::uint32_t sensorIndex
Holds the ID of the sensor specified in the platform configuration file.
bool isEmbeddedDataTypeEnabled
Indicates whether embedded data type is enabled.
uint32_t numEEPROMs
Holds the number of EEPROMs in the module.
NvMediaISCDevice * EEPROMHandle
Holds the NvMediaISCDevice handle of the EEPROM.
static const std::uint32_t MAX_VIRTUAL_CHANNELS_PER_SENSOR
Indicates the maximum number of virtual channels per image sensor.
NvMediaICPCsiPhyMode
Specifies the CSI phy mode.
static const std::uint32_t MAX_EEPROMS_PER_CAMERA_MODULE
Indicates the maximum number of EEPROMs per camera module.
bool isSimulatorModeEnabled
Holds a flag which indicates whether simulator mode has been enabled.
SIPLStatus
Defines the status codes returned by functions in Sensor Input Processing Library (SIPL) modules.
std::uint32_t i2cAddress
Holds the native I2C address of the deserializer.
Resolution resolution
Holds the Resolution of the captured frame.
bool longCable
Holds long cable support.
std::string name
Holds the name of the camera module, for example, "SF3324".
bool isGroupInitProg
Holds a flag which indicates whether group initialization is enabled.
bool isTPGEnabled
Holds a flag which indicates whether the sensor requires configuration in Test Pattern Generator (TPG...
std::uint32_t cfa
Holds the Bayer color filter array order of the sensor.
SerInfo serInfo
Holds the SerInfo of the serializer.
static constexpr std::uint32_t MINOR_VER
Indicates a minor revision.
Defines the deserializer information.
std::uint32_t numOfModules
Holds the number of camera modules connected to the deserializer.
virtual ~INvSIPLDeviceBlock()=default
Default destructor.
bool longCables[MAX_CAMERAMODULES_PER_BLOCK]
Holds long cable support.
std::uint32_t uMinor
Holds a minor revision.
Defines the image resolution.
std::string description
Holds the description of the serializer.
Defines the DeviceBlock information.
std::string name
Holds the name of the EEPROM, for example, "N24C64".
std::string description
Holds the description of the camera module.
virtual SIPLStatus DetectErrors(std::uint8_t &cameraModules)=0
Detects errors on the cameras device(s).
SensorInfo sensorInfoList[MAX_SENSORS_PER_CAMERA_MODULE]
Holds an array of information about each sensor in a camera module.
std::string name
Holds the name of the serializer, for example, "MAX96705".
std::uint32_t linkIndex
Holds the index of the deserializer link to which this module is connected.
Contains the classes and variables for implementation of Sensor Input Processing Library (SIPL).
NvMediaISCDevice * sensorHandle
Holds the NvMediaISCDevice handle of the image sensor.
static const std::uint32_t MAX_CAMERAMODULES_PER_BLOCK
Indicates the maximum number of camera modules per device block.
static const std::uint32_t MAX_CAMERAMODULES_PER_PLATFORM
Indicates the maximum number of camera modules per platform.
std::uint32_t embeddedTopLines
Holds the number of top embedded lines.
Defines the serializer information.
static constexpr std::uint32_t MAJOR_VER
Indicates a major revision.
Defines the information of a virtual channel/single exposure.
virtual SIPLStatus WaitForError(void)=0
Waits for an error to occur.
Defines DeviceBlock properties.
static void GetVersion(Version &version)
Gets the version of the library.
std::uint32_t uPatch
Holds a patch revision.
std::string inputFormat
Holds the input format, for example, "raw12".
static const std::uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM
Indicates the maximum number of device blocks per platform.
NvMediaICPSettings icpSettings
Holds the NvMediaICPSettings to configure NvMediaICP to capture the virtual channel.
float fps
Holds the average number of frames per second.
std::uint32_t numOfSensors
Holds the number of image sensors in the module.
Defines image sensor properties.
std::uint32_t i2cDevice
Holds the I2C device bus number used to connect the deserializer with the SoC.