NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

Describes the custom interface for IMX623.

Contains the classes and variables for implementation of NvSIPL.

Describes the custom interface for IMX728.

Data Structures

class  AR0820_CUST1_CustomInterface
 The class of custom interfaces in Sensor AR0820. More...
 
struct  CameraDeviceInfoList
 Defines a list of all external image devices supported by SIPL. More...
 
struct  CameraModuleInfo
 Defines information for the camera module. More...
 
struct  DeserializerCSIPLLLockInfo
 Structure to hold deserializer's custom error information for CSI phase-locked loop (PLL) lock. More...
 
struct  DeserializerOverflowErrInfo
 Structure to hold deserializer's custom error information for command buffer overflow and line memory overflow. More...
 
struct  DeserializerRTFlagsInfo
 Structure to hold deserializer's custom error information for Combined ARQ Retransmission Event Flag (RT_CNT_FLAG) and Combined ARQ Maximum Retransmission Limit Error Flag (MAX_RT_FLAG) in INTR11 register. More...
 
struct  DeserializerVidSeqErrInfo
 Structure to hold deserializer's custom error information for video RX sequence error detected (VID_SEQ_ERR) in VIDEO_RX8 registers. More...
 
struct  DeserInfo
 Defines the deserializer information. More...
 
struct  DeviceBlockInfo
 Defines the DeviceBlock information. More...
 
struct  DeviceInfoList
 Defines a list of all external image devices supported by. More...
 
struct  EEPROMInfo
 Defines the EEPROM information. More...
 
struct  EMPTY_INTR_NTFN
 Empty (invalid) InterruptNotification. More...
 
class  IInterfaceProvider
 Class providing access to device interfaces. More...
 
class  IInterruptStatus
 Interface defining Interrupt Status functionality. More...
 
class  IMX390_CUST1_V2_CustomInterface
 
class  IMX623_CustomInterface
 The class of custom interfaces in Sensor IMX623. More...
 
class  IMX728_CustomInterface
 The class of custom interfaces in Sensor IMX728. More...
 
class  Interface
 Top-level interface class implementable for a particular device. More...
 
struct  IntrGpioInfo
 Describes an Interrupt GPIO configuration. More...
 
class  INvSIPLCamera
 The top-level API for SIPL. More...
 
class  INvSIPLCameraQuery
 Defines the public data structures and describes the interfaces for NvSIPLCameraQuery. More...
 
class  INvSIPLClient
 Defines the public data structures and describes the interfaces for NvSIPL Client. More...
 
class  INvSIPLDeviceBlockTrace
 Describes the interfaces of NvSIPLDeviceBlockTrace. More...
 
class  INvSIPLFrameCompletionQueue
 The interface to the frame completion queue. More...
 
class  INvSIPLISPStatCustomInterface
 Custom interface to be implemented by the Tegra SIPL Pipeline HAL. More...
 
class  INvSIPLNotificationQueue
 The interface to the notification queue. More...
 
class  INvSIPLQuery
 Defines the public data structures and describes the interfaces for NvSIPLQuery. More...
 
class  INvSIPLQueryTrace
 
class  INvSIPLTrace
 Defines the public interfaces to control the logging/tracing of SIPL. More...
 
class  ISensorControl
 Interface defining basic Sensor Control functionality. More...
 
class  ISiplControlAuto
 Defines SIPL Control Auto Interface Class. More...
 
struct  IspBlcOverrideSettings
 Structure containing override control settings for ISP black level correction block. More...
 
struct  IspGtmOverrideSettings
 Structure containing override control settings for ISP GTM block. More...
 
struct  IspHistogramOverrideSettings
 Structure containing override control settings for ISP Histogram statistics block. More...
 
struct  IspLscOverrideSettings
 Structure containing override control settings for ISP Lens Shading Correction(LSC) block. More...
 
struct  IspNrOverrideSettings
 Structure to hold ISP noise reduction override settings. More...
 
struct  IspStatsData
 ISP statistics container for data attributes. More...
 
struct  IspStatsInfo
 ISP statistics container for settings and data. More...
 
struct  IspStatsSettings
 ISP statistics container for settings attributes. More...
 
class  MAX96712FusaNvCustomInterface
 The class of custom interfaces in deserializer MAX96712. More...
 
struct  MAX96724DeserializerCSIPLLLockInfo
 Describes the custom error information for CSI PLL lock. More...
 
struct  MAX96724DeserializerOverflowErrInfo
 Describes the custom error information for line memory overflow and command buffer overflow for deserializer. More...
 
struct  MAX96724DeserializerRTFlagsInfo
 Describes the custom error information for RT_CNT_FLAG and MAX_RT_FLAG bits in INTR11 register. More...
 
class  MAX96724FusaNvCustomInterface
 
class  MAX96792ACustomInterface
 The class of custom interfaces in deserializer MAX96792A. More...
 
struct  MAX96792ADeserializerVidSeqErrInfo
 Structure to hold deserializer's custom error information for video RX sequence error detected (VID_SEQ_ERR) in VIDEO_RX8 registers. More...
 
class  NonCopyable
 A class to prevent drivers being copied and duplicating state. More...
 
struct  NvIspStatsHeaderInfo
 ISP decoded stats including the stats header info. More...
 
struct  NvSiplControlInfo
 Defines the control info. More...
 
struct  NvSIPLDeviceBlockQueues
 Holds the queues used by the client to receive device block event notifications. More...
 
struct  NvSIPLDownscaleCropCfg
 Downscale and crop configuration. More...
 
class  NvSIPLImageGroupWriter
 Describes the interfaces of SIPL pipeline feeder. More...
 
struct  NvSiplISPBadPixelStats
 Holds controls for bad pixel statistics (BP Stats). More...
 
struct  NvSiplISPBadPixelStatsData
 Holds bad pixel statistics (BP Stats). More...
 
struct  NvSiplISPDeadPixelCorrectionStatsData
 Holds dead pixel correction statistics (DPC Stats). More...
 
struct  NvSiplISPDeadPixelCorrectionStatsROIData
 Holds dead pixel correction statistics (DPC Stats) metrics. More...
 
struct  NvSiplISPEllipse
 Defines an ellipse. More...
 
struct  NvSiplISPGlobalToneMapInfo
 Defines the global tone map spline. More...
 
struct  NvSiplISPHistogramStats
 Holds controls for histogram statistics (HIST Stats). More...
 
struct  NvSiplISPHistogramStatsData
 Holds histogram statistics (HIST Stats). More...
 
struct  NvSiplISPHistogramStatsOverride
 SIPL ISP Histogram Statistics Override Params. More...
 
struct  NvSiplISPLocalAvgClipStats
 Holds controls for local average and clip statistics (LAC Stats). More...
 
struct  NvSiplISPLocalAvgClipStatsData
 Holds local average and clip statistics block (LAC Stats). More...
 
struct  NvSiplISPLocalAvgClipStatsROIData
 Holds local average and clip statistics data for a region of interest. More...
 
struct  NvSiplISPRadialTF
 Defines a radial transform. More...
 
struct  NvSiplISPSplineControlPoint
 Defines a spline control point. More...
 
struct  NvSiplISPStatisticsWindows
 Defines the windows used in ISP LAC stats calculations. More...
 
struct  NvSIPLIspStatsOverrideSetting
 SIPL ISP Statistics Override Parameters. More...
 
struct  NvSIPLNitoMetadata
 NvSIPLNitoMetadata defines the 3-tuple returned by a successful call to GetNitoMetadataFromMemory(). More...
 
struct  NvSIPLPipelineBufferCfg
 Data structure to define the camera pipeline buffer configuration. More...
 
struct  NvSIPLPipelineConfiguration
 Defines the camera pipeline configuration. More...
 
class  NvSIPLPipelineNotifier
 Describes the interfaces of the SIPL pipeline notification handler. More...
 
struct  NvSIPLPipelineQueues
 This is the output structure for INvSIPLCamera::SetPipelineCfg(). More...
 
struct  NvSiplPoint
 Defines the location of a point on a two-dimensional object. More...
 
struct  NvSiplPointFloat
 Defines the float-precision location of a point on a two-dimensional object. More...
 
struct  NvSiplRect
 SIPL provides abstract and simple API to capture the output of image sensors with optional image processing. More...
 
struct  NvSIPLVersion
 Holds the version information of NvSIPL Camera and NvSIPL Client. More...
 
class  OV2311CustomInterface
 Interface to specify custom APIs required for the sensor. More...
 
class  OvtDefaultCustomInterface
 
class  OvtHDRBayerRX0CustomInterface
 
class  OvtSDRMonoRX0CustomInterface
 
class  OvtSDRRGBIrRX0CustomInterface
 
struct  PlatformCfg
 Defines the camera platform configuration. More...
 
struct  SensorInfo
 Defines the image sensor information. More...
 
struct  SerdesGPIOPinMap
 Defines GPIO mapping from the serializer to the deserializer. More...
 
struct  SerInfo
 Defines the serializer information. More...
 
struct  SiplControlAutoAwbGain
 Color Gains assuming order RGGB, RCCB, RCCC. More...
 
struct  SiplControlAutoAwbSetting
 Automatic white balance settings. More...
 
struct  SiplControlAutoInputParam
 Input parameters for processing AE/AWB. More...
 
struct  SiplControlAutoMetadata
 Structure containing metadata info for processing AE/AWB algorithm. More...
 
struct  SiplControlAutoOutputParam
 AE/AWB Output parameters. More...
 
struct  SiplControlAutoSensorSetting
 Sensor settings. More...
 
struct  SiplControlEmbedData
 Embedded data and parsed information. More...
 
struct  SiplControlEmbedInfo
 Parsed frame embedded information. More...
 
struct  SiplControlIspOverrideSetting
 Structure containing dynamic override ISP block settings to be applied during runtime. More...
 
struct  SiplControlIspStatsInfo
 Structure containing ISP Stats information. More...
 
struct  SIPLErrorDetails
 Error details for a particular device. More...
 
struct  SIPLGpioDriverResult
 Describes one driver result from GPIO interrupt responder handling. More...
 
struct  SIPLGpioEventInfo
 Describes GPIO event information carried by a pipeline notification. More...
 
class  UUID
 A universally unique identifier. More...
 

Typedefs

using NvSiplGlobalTime = uint64_t
 Media global time, measured in microseconds. More...
 
using NvSiplBool = uint32_t
 A boolean value, holding SIPL_TRUE or SIPL_FALSE. More...
 

Enumerations

enum  NvSiplTimeBase : std::uint8_t {
  NVSIPL_TIME_BASE_CLOCK_PTP,
  NVSIPL_TIME_BASE_CLOCK_MONOTONIC,
  NVSIPL_TIME_BASE_CLOCK_USER_DEFINED
}
 Defines clock base for NvSiplTime. More...
 
enum  SIPLStatus : std::uint8_t {
  NVSIPL_STATUS_OK = 0,
  NVSIPL_STATUS_BAD_ARGUMENT,
  NVSIPL_STATUS_NOT_SUPPORTED,
  NVSIPL_STATUS_OUT_OF_MEMORY,
  NVSIPL_STATUS_RESOURCE_ERROR,
  NVSIPL_STATUS_TIMED_OUT,
  NVSIPL_STATUS_INVALID_STATE,
  NVSIPL_STATUS_EOF,
  NVSIPL_STATUS_NOT_INITIALIZED,
  NVSIPL_STATUS_FAULT_STATE,
  NVSIPL_STATUS_ERROR
}
 Defines the status codes returned by functions in NvSIPL modules. More...
 
enum  SIPLGpioEvent : std::uint8_t {
  NVSIPL_GPIO_EVENT_NOTHING = 0,
  NVSIPL_GPIO_EVENT_INTR,
  NVSIPL_GPIO_EVENT_INTR_TIMEOUT,
  NVSIPL_GPIO_EVENT_ERROR_CAMGPIO,
  NVSIPL_GPIO_EVENT_ERROR_BACKEND,
  NVSIPL_GPIO_EVENT_INTR_INJECTED,
  NVSIPL_GPIO_EVENT_ERROR_UNKNOWN
}
 CDAC GPIO event codes. More...
 
enum  SIPLModuleErrorReadFlag : std::uint8_t {
  NVSIPL_MODULE_ERROR_READ_SENSOR,
  NVSIPL_MODULE_ERROR_READ_SERIALIZER,
  NVSIPL_MODULE_ERROR_READ_ALL
}
 Flag indicating which module errors to read. More...
 
enum  SerdesDataTransmissionMode : uint8_t {
  SerdesDataTransmissionMode::PIXEL_MODE = 0U,
  SerdesDataTransmissionMode::TUNNELING_MODE = 1U
}
 Defines the data transmission mode for serializer-deserializer link. More...
 
enum  InitErrorCode : uint32_t {
  InitErrorCode::DEFAULT_INIT_ERROR_CODE_NONE = 0U,
  InitErrorCode::PIPELINE_RECOVERED_FROM_INIT_ERROR_ON_RETRY = 1U,
  InitErrorCode::CBA_FAILURE = 10U,
  InitErrorCode::DESER_POWER_FAILURE = 100U,
  InitErrorCode::DESER_INIT_FAILURE = 101U,
  InitErrorCode::DESER_EN_LINK_FAILURE = 102U,
  InitErrorCode::DESER_START_FAILURE = 103U,
  InitErrorCode::DESER_CHECK_LINK_LOCK_FAILURE = 104U,
  InitErrorCode::CAMERA_POWER_FAILURE = 200U,
  InitErrorCode::CAMERA_INIT_FAILURE = 201U,
  InitErrorCode::CAMERA_EN_LINK_DETECT_FAILURE = 202U,
  InitErrorCode::CAMERA_AUTH_FAILURE = 203U,
  InitErrorCode::CAMERA_POST_INIT_FAILURE = 204U,
  InitErrorCode::CAMERA_START_FAILURE = 205U,
  InitErrorCode::CAMERA_POST_START_FAILURE = 206U,
  InitErrorCode::CAMERA_OVER_VOLTAGE = 300U,
  InitErrorCode::CAMERA_UNDER_VOLTAGE = 301U,
  InitErrorCode::CAMERA_LINE_TO_LINE_FAULT = 302U,
  InitErrorCode::CAMERA_OVER_CURRENT = 303U,
  InitErrorCode::CAMERA_THERMAL_SHUTDOWN = 304U,
  InitErrorCode::CAMERA_CIRCUIT_OPEN_DISCONNECTION = 305U,
  InitErrorCode::CAMERA_INCORRECT_IMPEDANCE = 306U
}
 Init Error Codes. More...
 
enum  CapturePathType : uint8_t { CapturePathType::VI = 0 }
 Defines the capture path type for the pipeline. More...
 

Functions

constexpr UUID IMX390_CUST1_V2_CUSTOM_INTERFACE_ID (0x5ECD0312U, 0x5B70U, 0x4A68U, 0xAA73U, 0xE0U, 0xBFU, 0x54U, 0x15U, 0x07U, 0x97U)
 
constexpr UUID IMX623_CUSTOM_INTERFACE_ID (0x90FB9A0DU, 0xA3AAU, 0x4C1BU, 0xA3B0U, 0xA1U, 0xE0U, 0xE9U, 0xBFU, 0x4FU, 0x7DU)
 This is version 4 UUID obtained using https://www.uuidgenerator.net/ It's unique to IMX623 custom interface class and will be used to uniquely identify this interface. More...
 
constexpr UUID IMX728_CUSTOM_INTERFACE_ID (0xBCE64356U, 0x1505U, 0x11EDU, 0x861DU, 0x02U, 0x42U, 0xACU, 0x12U, 0x00U, 0x02U)
 This is version 4 UUID obtained using https://www.uuidgenerator.net/ It's unique to IMX728 custom interface class and will be used to uniquely identify this interface. More...
 
constexpr UUID MAX96712_FUSA_NV_CUSTOM_INTERFACE_ID (0xF9FE70B0U, 0x289FU, 0x4240U, 0xA055U, 0xDFU, 0x66U, 0xC7U, 0xC8U, 0x64U, 0xB5U)
 It's unique to MAX96712 custom interface class and will be used to uniquely identify this interface. More...
 
constexpr UUID MAX96792A_CUSTOM_INTERFACE_ID (0x018FC53FU, 0xE816U, 0x7886U, 0xBEECU, 0xBCU, 0x57U, 0x06U, 0x54U, 0x92U, 0x6BU)
 It's unique to MAX96792A custom interface class and will be used to uniquely identify this interface. More...
 
void NvSIPLGetVersion (NvSIPLVersion &rVersion)
 Indicates the patch revision. More...
 
static constexpr UUID OV2311_CUSTOM_INTERFACE_ID (0xF0A870D8U, 0x2088U, 0x11EBU, 0xADC1U, 0x02U, 0x42U, 0xACU, 0x12U, 0x00U, 0x02U)
 This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OV2311 custom interface class. More...
 

Variables

constexpr UUID AR0820_CUST1_CUSTOM_INTERFACE_ID
 
static constexpr uint32_t MAX_DEVGRP_NTFNS_PER_INTR { 16U }
 Maximum number of error notifications to dispatch to the client per device group (i.e. More...
 
static constexpr uint32_t ERRMON_INTR_POLL_INTERVAL_MS { 500U }
 Polling interval in milliseconds for the error monitor interrupt status. More...
 
const UUID MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID (0xF9FE70B0U, 0x289FU, 0x4240U, 0xA055U, 0xDFU, 0x66U, 0xC7U, 0xC8U, 0x64U, 0xB5U)
 
static constexpr uint32_t MAX_DEVICEBLOCKS_PER_PLATFORM {6U}
 Indicates the maximum number of device blocks per platform. More...
 
static constexpr uint32_t MAX_CAMERAMODULES_PER_BLOCK {8U}
 Indicates the maximum number of camera modules per device block. More...
 
static constexpr uint32_t MAX_VIRTUAL_CHANNELS_PER_SENSOR {4U}
 Indicates the maximum number of virtual channels per sensor. More...
 
static constexpr uint32_t MAX_CAMERAMODULES_PER_PLATFORM {MAX_DEVICEBLOCKS_PER_PLATFORM * MAX_CAMERAMODULES_PER_BLOCK}
 Indicates the maximum number of camera modules per platform. More...
 
static constexpr uint32_t MAX_SENSORS_PER_PLATFORM {MAX_CAMERAMODULES_PER_PLATFORM}
 Indicates the maximum number of sensors per platform. More...
 
static constexpr std::uint32_t MAX_CSI_LANE_CONFIGURATION {2U}
 Indicates the maximum number of CSI lane configurations. More...
 
static constexpr std::uint32_t X2_CSI_LANE_CONFIGURATION {0U}
 Indicates the index for CSI 2 lanes. More...
 
static constexpr std::uint32_t X4_CSI_LANE_CONFIGURATION {1U}
 Indicates the index for CSI 4 lanes. More...
 
constexpr uint32_t NUM_GTM_SPLINE_POINTS = 18U
 Defines the number of global tone map spline points. More...
 
constexpr uint32_t NVSIPL_LUMINANCE_CALIB_MATRIX_SIZE {4U}
 Defines the length(M) of a MxM luminance calibration matrix. More...
 
constexpr uint32_t NVSIPL_CCM_MATRIX_SIZE {3U}
 Defines the length(M) of a MxM color correction matrix(ccm). More...
 
static constexpr uint16_t DEFAULT_SET_CAPTURE_BUFFER_COUNT {40U}
 The default number of capture buffers configured for a given pipeline. More...
 
static constexpr uint16_t DEFAULT_SET_ISP_BUFFER_COUNT {64U}
 The default number of ISP buffers configured for a given pipeline. More...
 
constexpr uint32_t NVSIPL_MAJOR_VER = 1U
 
constexpr uint32_t NVSIPL_MINOR_VER = 0U
 Indicates the major revision. More...
 
constexpr uint32_t NVSIPL_PATCH_VER = 0U
 Indicates the minor revision. More...
 
const UUID OVT_DEFAULT_CUSTOM_INTERFACE_ID (0xe78de5f6U, 0x82c4U, 0x11ecU, 0xa8a3U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02)
 This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B custom interface class and will be used to uniquely identify this interface. More...
 
const UUID OVTSDR_MONO_RX0_CUSTOM_INTERFACE_ID (0xe78dea88U, 0x82c4U, 0x11ecU, 0xa8a3U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02)
 This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B SDR Mono custom interface class and will be used to uniquely identify this interface. More...
 
const UUID OVTSDR_RGBIr_RX0_CUSTOM_INTERFACE_ID (0xe78de970U, 0x82c4U, 0x11ecU, 0xa8a3U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02)
 This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B SDR RGBIr custom interface class and will be used to uniquely identify this interface. More...
 
const UUID OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID (0x437f0a8eU, 0xa60bU, 0x11ecU, 0xb909U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02U)
 This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B HDR Bayer custom interface class and will be used to uniquely identify this interface. More...
 
enum  NvSiplNvSciSyncClientType : std::uint8_t {
  SIPL_SIGNALER,
  SIPL_WAITER
}
 Defines SIPL NvSciSync client types. More...
 
enum  NvSiplNvSciSyncObjType : std::uint8_t {
  NVSIPL_PRESYNCOBJ,
  NVSIPL_EOFSYNCOBJ
}
 Defines SIPL NvSciSyncObj types. More...
 
enum  FrameProcessingRate : std::uint8_t {
  FULL_RATE = 0U,
  HALF_RATE,
  THIRD_RATE,
  AWB_HALF_RATE,
  AWB_THIRD_RATE
}
 Defines Auto Control and ISP processing rate options. More...
 
static constexpr size_t NITO_PARAMETER_SET_ID_SIZE {16U}
 Size of the NITO Parameters set ID. More...
 
static constexpr size_t NITO_SCHEMA_HASH_SIZE {32U}
 Size of the NITO Schema Hash. More...
 
static constexpr size_t NITO_DATA_HASH_SIZE {32U}
 Size of the NITO Data Hash. More...
 
SIPLStatus GetNitoMetadataFromMemory (uint8_t const *const nitoMem, size_t const nitoMemLength, NvSIPLNitoMetadata *const metadataArray, size_t const metadataArrayLength, size_t *const metadataCount)
 Get NITO Metadata (knobset UUID, schema hash, data hash) from a NITO memory buffer. More...
 
enum  SIPLGpioInterruptDisposition : std::uint8_t {
  SIPLGpioInterruptDisposition::UNCLAIMED = 1U,
  SIPLGpioInterruptDisposition::CLAIMED,
  SIPLGpioInterruptDisposition::CLAIMED_NEEDS_DIAGNOSTIC,
  SIPLGpioInterruptDisposition::ERROR
}
 Defines the driver response to a GPIO interrupt. More...
 
enum  SIPLGpioResponderGMSLDeviceType : std::uint8_t {
  SIPLGpioResponderGMSLDeviceType::UNKNOWN,
  SIPLGpioResponderGMSLDeviceType::DESERIALIZER,
  SIPLGpioResponderGMSLDeviceType::SERIALIZER,
  SIPLGpioResponderGMSLDeviceType::SENSOR,
  SIPLGpioResponderGMSLDeviceType::MODULE_POWER,
  SIPLGpioResponderGMSLDeviceType::DESERIALIZER_POWER,
  SIPLGpioResponderGMSLDeviceType::MODULE_OTHER
}
 Defines the GMSL device class that produced a GPIO interrupt result. More...
 
enum  SIPLGpioResponderScope : std::uint8_t {
  SIPLGpioResponderScope::UNKNOWN = 0U,
  SIPLGpioResponderScope::AGGREGATOR,
  SIPLGpioResponderScope::PIPELINE
}
 Defines the scope of a GPIO responder result. More...
 
static constexpr uint8_t MAX_GPIO_EVENT_DRIVER_RESULTS {16U}
 Indicates the maximum number of GPIO driver results returned for one GPIO event notification. More...
 
enum  PluginType : std::uint8_t {
  NV_PLUGIN = 0,
  CUSTOM_PLUGIN0,
  MAX_NUM_PLUGINS
}
 Defines types of SIPL Control Auto plug-ins. More...
 
using IspLacOverrideSettings = nvsipl::NvSiplISPLocalAvgClipStats
 
constexpr uint32_t ISP_GTM_PLUGIN_OVERRIDE_MIN_CTRLPOINTS = 2U
 Defines the minimum number of control points for Global Tone Map(GTM) plugin override settings. More...
 
constexpr uint32_t ISP_GTM_PLUGIN_OVERRIDE_MAX_CTRLPOINTS = 200U
 Defines the maximum number of control points for Global Tone Map(GTM) plugin override settings. More...
 

Typedef Documentation

◆ NvSiplBool

using nvsipl::NvSiplBool = typedef uint32_t

A boolean value, holding SIPL_TRUE or SIPL_FALSE.

Definition at line 144 of file NvSIPLCommon.hpp.

◆ NvSiplGlobalTime

using nvsipl::NvSiplGlobalTime = typedef uint64_t

Media global time, measured in microseconds.

Definition at line 111 of file NvSIPLCommon.hpp.

Enumeration Type Documentation

◆ FrameProcessingRate

enum nvsipl::FrameProcessingRate : std::uint8_t

Defines Auto Control and ISP processing rate options.

This enum specifies the relative processing rates for Auto Control (AE-AWB) and ISP.


Usage considerations

  • Maturity: GA
Enumerator
FULL_RATE 

Process Auto Control (AE-AWB) and ISP every frame (default).

HALF_RATE 

Process Auto Control (AE-AWB) and ISP every 2nd frame (half rate).

THIRD_RATE 

Process Auto Control (AE-AWB) and ISP every 3rd frame (third rate).

AWB_HALF_RATE 

Process AE and ISP every frame, AWB every 2nd frame.

AWB_THIRD_RATE 

Process AE and ISP every frame, AWB every 3rd frame.

Definition at line 163 of file NvSIPLCamera.hpp.

◆ NvSiplNvSciSyncClientType

enum nvsipl::NvSiplNvSciSyncClientType : std::uint8_t

Defines SIPL NvSciSync client types.


Usage considerations

  • Maturity: GA
Enumerator
SIPL_SIGNALER 

For a given NvSciSyncObj SIPL acts as a signaler.

This type corresponds to postfences from SIPL

SIPL_WAITER 

For a given NvSciSyncObj SIPL acts as a waiter.

This type corresponds to prefences to SIPL

Definition at line 130 of file NvSIPLCamera.hpp.

◆ NvSiplNvSciSyncObjType

enum nvsipl::NvSiplNvSciSyncObjType : std::uint8_t

Defines SIPL NvSciSyncObj types.


Usage considerations

  • Maturity: GA
Enumerator
NVSIPL_PRESYNCOBJ 

Specifies an NvSciSyncObj type for which SIPL acts as a waiter.

NVSIPL_EOFSYNCOBJ 

Specifies an NvSciSyncObj type for which SIPL acts as a signaler, signaling EOFFence.

Definition at line 148 of file NvSIPLCamera.hpp.

◆ NvSiplTimeBase

enum nvsipl::NvSiplTimeBase : std::uint8_t

Defines clock base for NvSiplTime.


Usage considerations

  • Maturity: GA
Enumerator
NVSIPL_TIME_BASE_CLOCK_PTP 

Specifies that PTP clock is used for base time calculation.

NVSIPL_TIME_BASE_CLOCK_MONOTONIC 

Specifies that kernel monotonic clock is used for base time calculation.

NVSIPL_TIME_BASE_CLOCK_USER_DEFINED 

Specifies that a user defined clock is used for base time calculation.

Definition at line 151 of file NvSIPLCommon.hpp.

◆ SIPLGpioEvent

enum nvsipl::SIPLGpioEvent : std::uint8_t

CDAC GPIO event codes.


Usage considerations

  • Maturity: GA
Enumerator
NVSIPL_GPIO_EVENT_NOTHING 

There is no pending event.

NVSIPL_GPIO_EVENT_INTR 

An interrupt has occured.

NVSIPL_GPIO_EVENT_INTR_TIMEOUT 

An interrupt timeout period has elapsed.

NVSIPL_GPIO_EVENT_ERROR_CAMGPIO 

An error occurred in CAMGPIO code, potentially resulting in permanent loss of functionality.

(Error)

NVSIPL_GPIO_EVENT_ERROR_BACKEND 

An error occurred in backend code, potentially resulting in permanent loss of functionality.

(Error)

NVSIPL_GPIO_EVENT_INTR_INJECTED 

A synthetic interrupt event is injected to continue fault handling when GPIO is stuck in fault state.

NVSIPL_GPIO_EVENT_ERROR_UNKNOWN 

A generic error occurred, potentially resulting in permanent loss of functionality.

(Error)

Definition at line 203 of file NvSIPLCommon.hpp.

◆ SIPLGpioInterruptDisposition

enum nvsipl::SIPLGpioInterruptDisposition : std::uint8_t
strong

Defines the driver response to a GPIO interrupt.


Usage considerations

  • Maturity: Experimental
Enumerator
UNCLAIMED 

Driver checked this responder's device and determined it is not the interrupt source.

CLAIMED 

Driver confirmed this responder's device is the interrupt source.

Camera software still reports the GPIO event to the application; this value does not mean the driver suppressed the event or treated it as an internally handled false positive.

CLAIMED_NEEDS_DIAGNOSTIC 

Driver confirmed this responder's device is the interrupt source and recommends querying the existing device error information API for more information.

ERROR 

Driver could not safely inspect the interrupt source.

Definition at line 52 of file NvSIPLGpioInterrupts.hpp.

◆ SIPLGpioResponderGMSLDeviceType

enum nvsipl::SIPLGpioResponderGMSLDeviceType : std::uint8_t
strong

Defines the GMSL device class that produced a GPIO interrupt result.


Usage considerations

  • Maturity: Experimental
Enumerator
UNKNOWN 

Device class is unknown.

DESERIALIZER 

GPIO source is the deserializer.

SERIALIZER 

GPIO source is a serializer.

SENSOR 

GPIO source is a sensor.

MODULE_POWER 

GPIO source is a module power device.

DESERIALIZER_POWER 

GPIO source is a deserializer power device.

MODULE_OTHER 

GPIO source is another module-local device.

Definition at line 82 of file NvSIPLGpioInterrupts.hpp.

◆ SIPLGpioResponderScope

enum nvsipl::SIPLGpioResponderScope : std::uint8_t
strong

Defines the scope of a GPIO responder result.


Usage considerations

  • Maturity: Experimental
Enumerator
UNKNOWN 

Scope is unknown.

AGGREGATOR 

Result is produced by a group-level aggregator.

PIPELINE 

Result applies to the pipeline that received the notification.

Definition at line 105 of file NvSIPLGpioInterrupts.hpp.

◆ SIPLModuleErrorReadFlag

enum nvsipl::SIPLModuleErrorReadFlag : std::uint8_t

Flag indicating which module errors to read.


Usage considerations

  • Maturity: GA
Enumerator
NVSIPL_MODULE_ERROR_READ_SENSOR 

Read only sensor error information when getting module error details.

Skip reading serializer error information.

NVSIPL_MODULE_ERROR_READ_SERIALIZER 

Read only serializer error information when getting error details.

Skip reading sensor error information.

NVSIPL_MODULE_ERROR_READ_ALL 

Read both sensor and serializer error information when getting error details.

Definition at line 259 of file NvSIPLCommon.hpp.

◆ SIPLStatus

enum nvsipl::SIPLStatus : std::uint8_t

Defines the status codes returned by functions in NvSIPL modules.


Usage considerations

  • Maturity: GA
Enumerator
NVSIPL_STATUS_OK 

Indicates the operation completed successfully without errors.

NVSIPL_STATUS_BAD_ARGUMENT 

Indicates one or more invalid arguments was encountered.

NVSIPL_STATUS_NOT_SUPPORTED 

Indicates an unsupported operation or argument was encountered.

NVSIPL_STATUS_OUT_OF_MEMORY 

Indicates an out of memory or other system resource error was encountered.

NVSIPL_STATUS_RESOURCE_ERROR 

Indicates a resource error was encountered.

NVSIPL_STATUS_TIMED_OUT 

Indicates an operation timed out.

NVSIPL_STATUS_INVALID_STATE 

Indicates a module is in an invalid state.

NVSIPL_STATUS_EOF 

Indicates that end of file has been reached.

NVSIPL_STATUS_NOT_INITIALIZED 

Indicates a module was not initialized.

NVSIPL_STATUS_FAULT_STATE 

Indicates module is in non-recoverable fault state.

NVSIPL_STATUS_ERROR 

Indicates an unspecified error that is used when no other error code applies.

Definition at line 168 of file NvSIPLCommon.hpp.

Function Documentation

◆ GetNitoMetadataFromMemory()

SIPLStatus nvsipl::GetNitoMetadataFromMemory ( uint8_t const *const  nitoMem,
size_t const  nitoMemLength,
NvSIPLNitoMetadata *const  metadataArray,
size_t const  metadataArrayLength,
size_t *const  metadataCount 
)

Get NITO Metadata (knobset UUID, schema hash, data hash) from a NITO memory buffer.

Precondition
None.

The possible return values from this functions are:

  • NVSIPL_STATUS_OK
  • NVSIPL_STATUS_BAD_ARGUMENT
  • NVSIPL_STATUS_INVALID_STATE
  • NVSIPL_STATUS_OUT_OF_MEMORY
  • NVSIPL_STATUS_ERROR
Parameters
[in]nitoMemPointer to location of memory to load from.
[in]nitoMemLengthSize of memory pointed to by nitoMem. This value must be in the range [1, 6MB (6UL * 1024UL * 1024UL)].
[in,out]metadataArrayAn array of NvSIPLNitoMetadata tuples to store the result.
[in]metadataArrayLengthThe size of array metadataArray
[out]metadataCountThe number of tuples stored in metadataArray on success.
Returns
SIPLStatus the completion status of the operation.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: Yes, with the following conditions:
      • Two threads are not using the same metadata array.
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: No
    • Reinit/Deinit Preparation: No
    • Maturity: GA

◆ IMX390_CUST1_V2_CUSTOM_INTERFACE_ID()

constexpr UUID nvsipl::IMX390_CUST1_V2_CUSTOM_INTERFACE_ID ( 0x5ECD0312U  ,
0x5B70U  ,
0x4A68U  ,
0xAA73U  ,
0xE0U  ,
0xBFU  ,
0x54U  ,
0x15U  ,
0x07U  ,
0x97U   
)
constexpr

◆ IMX623_CUSTOM_INTERFACE_ID()

constexpr UUID nvsipl::IMX623_CUSTOM_INTERFACE_ID ( 0x90FB9A0DU  ,
0xA3AAU  ,
0x4C1BU  ,
0xA3B0U  ,
0xA1U  ,
0xE0U  ,
0xE9U  ,
0xBFU  ,
0x4FU  ,
0x7DU   
)
constexpr

This is version 4 UUID obtained using https://www.uuidgenerator.net/ It's unique to IMX623 custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use.

Referenced by nvsipl::IMX623_CustomInterface::getClassInterfaceID(), and nvsipl::IMX623_CustomInterface::getInstanceInterfaceID().

◆ IMX728_CUSTOM_INTERFACE_ID()

constexpr UUID nvsipl::IMX728_CUSTOM_INTERFACE_ID ( 0xBCE64356U  ,
0x1505U  ,
0x11EDU  ,
0x861DU  ,
0x02U  ,
0x42U  ,
0xACU  ,
0x12U  ,
0x00U  ,
0x02U   
)
constexpr

This is version 4 UUID obtained using https://www.uuidgenerator.net/ It's unique to IMX728 custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use.

Referenced by nvsipl::IMX728_CustomInterface::getClassInterfaceID(), and nvsipl::IMX728_CustomInterface::getInstanceInterfaceID().

◆ MAX96712_FUSA_NV_CUSTOM_INTERFACE_ID()

constexpr UUID nvsipl::MAX96712_FUSA_NV_CUSTOM_INTERFACE_ID ( 0xF9FE70B0U  ,
0x289FU  ,
0x4240U  ,
0xA055U  ,
0xDFU  ,
0x66U  ,
0xC7U  ,
0xC8U  ,
0x64U  ,
0xB5U   
)
constexpr

It's unique to MAX96712 custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use.

Referenced by nvsipl::MAX96712FusaNvCustomInterface::getClassInterfaceID(), and nvsipl::MAX96712FusaNvCustomInterface::getInstanceInterfaceID().

◆ MAX96792A_CUSTOM_INTERFACE_ID()

constexpr UUID nvsipl::MAX96792A_CUSTOM_INTERFACE_ID ( 0x018FC53FU  ,
0xE816U  ,
0x7886U  ,
0xBEECU  ,
0xBCU  ,
0x57U  ,
0x06U  ,
0x54U  ,
0x92U  ,
0x6BU   
)
constexpr

It's unique to MAX96792A custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use.

Referenced by nvsipl::MAX96792ACustomInterface::getClassInterfaceID(), and nvsipl::MAX96792ACustomInterface::getInstanceInterfaceID().

◆ OV2311_CUSTOM_INTERFACE_ID()

static constexpr UUID nvsipl::OV2311_CUSTOM_INTERFACE_ID ( 0xF0A870D8U  ,
0x2088U  ,
0x11EBU  ,
0xADC1U  ,
0x02U  ,
0x42U  ,
0xACU  ,
0x12U  ,
0x00U  ,
0x02U   
)
staticconstexpr

This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OV2311 custom interface class.

Variable Documentation

◆ AR0820_CUST1_CUSTOM_INTERFACE_ID

constexpr UUID nvsipl::AR0820_CUST1_CUSTOM_INTERFACE_ID
constexpr
Initial value:
{0x4FC721B6U, 0x3481U, 0x11EBU, 0xADC1U,
0x02U, 0x42U, 0xACU, 0x12U, 0x00U, 0x02U}

Definition at line 24 of file AR0820_CUST1_CustomInterface.hpp.

◆ MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID

const UUID nvsipl::MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID(0xF9FE70B0U, 0x289FU, 0x4240U, 0xA055U, 0xDFU, 0x66U, 0xC7U, 0xC8U, 0x64U, 0xB5U)

◆ NITO_DATA_HASH_SIZE

constexpr size_t nvsipl::NITO_DATA_HASH_SIZE {32U}
staticconstexpr

Size of the NITO Data Hash.

Definition at line 58 of file NvSIPLCamera.hpp.

◆ NITO_SCHEMA_HASH_SIZE

constexpr size_t nvsipl::NITO_SCHEMA_HASH_SIZE {32U}
staticconstexpr

Size of the NITO Schema Hash.

Definition at line 56 of file NvSIPLCamera.hpp.

◆ OVT_DEFAULT_CUSTOM_INTERFACE_ID

const UUID nvsipl::OVT_DEFAULT_CUSTOM_INTERFACE_ID(0xe78de5f6U, 0x82c4U, 0x11ecU, 0xa8a3U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02)

This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use

Referenced by nvsipl::OvtDefaultCustomInterface::getClassInterfaceID(), and nvsipl::OvtDefaultCustomInterface::getInstanceInterfaceID().

◆ OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID

const UUID nvsipl::OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID(0x437f0a8eU, 0xa60bU, 0x11ecU, 0xb909U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02U)

This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B HDR Bayer custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use

Referenced by nvsipl::OvtHDRBayerRX0CustomInterface::getClassInterfaceID(), and nvsipl::OvtHDRBayerRX0CustomInterface::getInstanceInterfaceID().

◆ OVTSDR_MONO_RX0_CUSTOM_INTERFACE_ID

const UUID nvsipl::OVTSDR_MONO_RX0_CUSTOM_INTERFACE_ID(0xe78dea88U, 0x82c4U, 0x11ecU, 0xa8a3U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02)

This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B SDR Mono custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use

Referenced by nvsipl::OvtSDRMonoRX0CustomInterface::getClassInterfaceID(), and nvsipl::OvtSDRMonoRX0CustomInterface::getInstanceInterfaceID().

◆ OVTSDR_RGBIr_RX0_CUSTOM_INTERFACE_ID

const UUID nvsipl::OVTSDR_RGBIr_RX0_CUSTOM_INTERFACE_ID(0xe78de970U, 0x82c4U, 0x11ecU, 0xa8a3U, 0x02U, 0x42U, 0xacU, 0x12U, 0x00U, 0x02)

This is version 1 UUID obtained using https://www.uuidgenerator.net/ It's unique to OX5B SDR RGBIr custom interface class and will be used to uniquely identify this interface.

The client can use this ID to validate the correct interface before use

Referenced by nvsipl::OvtSDRRGBIrRX0CustomInterface::getClassInterfaceID(), and nvsipl::OvtSDRRGBIrRX0CustomInterface::getInstanceInterfaceID().