NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvsipl::OvtHDRBayerRX0CustomInterface Class Referenceabstract

Detailed Description

Definition at line 790 of file OVTCustomInterface.hpp.

Inheritance diagram for nvsipl::OvtHDRBayerRX0CustomInterface:
Collaboration diagram for nvsipl::OvtHDRBayerRX0CustomInterface:

Public Member Functions

const UUID & getInstanceInterfaceID () const noexcept override
 Get Sensor OX5B HDR Bayer instance custom interface ID. More...
 
virtual SIPLStatus SetSensorRegisterValue (uint16_t const address, uint8_t const mask, uint8_t const value)=0
 API: SetSensorRegisterValue. More...
 
virtual SIPLStatus GetSensorRegisterValue (uint16_t const address, uint8_t const mask, uint8_t *const value)=0
 API: GetSensorRegisterValue. More...
 
virtual SIPLStatus SetCombineMode (uint16_t const cmbmode)=0
 API: SetCombineMode. More...
 
virtual SIPLStatus SetSPDWBRatio (float_t const r, float_t const g, float_t const b)=0
 API: SetSPDWBRatio. More...
 
virtual SIPLStatus GetTimeofLine (float_t *const tline)=0
 API: GetTimeofline. More...
 

Static Public Member Functions

static const UUID & getClassInterfaceID ()
 Get Sensor OX5B HDR Bayer class custom interface ID. More...
 

Protected Member Functions

 ~OvtHDRBayerRX0CustomInterface ()=default
 

Constructor & Destructor Documentation

◆ ~OvtHDRBayerRX0CustomInterface()

nvsipl::OvtHDRBayerRX0CustomInterface::~OvtHDRBayerRX0CustomInterface ( )
protecteddefault

Member Function Documentation

◆ getClassInterfaceID()

static const UUID& nvsipl::OvtHDRBayerRX0CustomInterface::getClassInterfaceID ( )
inlinestatic

Get Sensor OX5B HDR Bayer class custom interface ID.

This function is used by application to get sensor's custom interface ID. Application can use this ID to get the interface of the class.

Precondition
None.
Return values
OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_IDCustom interface id for OX5B HDR Bayer. Valid value: OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

Definition at line 827 of file OVTCustomInterface.hpp.

References nvsipl::OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID.

◆ getInstanceInterfaceID()

const UUID& nvsipl::OvtHDRBayerRX0CustomInterface::getInstanceInterfaceID ( ) const
inlineoverridevirtualnoexcept

Get Sensor OX5B HDR Bayer instance custom interface ID.

This function is used by application to get sensor's custom interface ID. Application can use this ID to get the interface of the instance.

Precondition
None.
Return values
OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_IDCustom interface id for OX5B HDR Bayer. Valid value: OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

Implements nvsipl::Interface.

Definition at line 865 of file OVTCustomInterface.hpp.

References nvsipl::OVTHDR_BAYER_RX0_CUSTOM_INTERFACE_ID.

◆ GetSensorRegisterValue()

virtual SIPLStatus nvsipl::OvtHDRBayerRX0CustomInterface::GetSensorRegisterValue ( uint16_t const  address,
uint8_t const  mask,
uint8_t *const  value 
)
pure virtual

API: GetSensorRegisterValue.

Get one sensor register value

Parameters
[in]addressThe senosr register address.
[in]maskThe mask is used to control which bits in value will be operated
[out]valueThe senosr register value.
Returns
SIPLStatus the completion status of the operation.
Note
  • This custom API is used for test only during IQ tuning process
Precondition
Call after camera init before steaming starts to check value set by SetSensorRegisterValue


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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

◆ GetTimeofLine()

virtual SIPLStatus nvsipl::OvtHDRBayerRX0CustomInterface::GetTimeofLine ( float_t *const  tline)
pure virtual

API: GetTimeofline.

Get time of one exposure line

Parameters
[out]tlineThe time of one exposure line (seconds)
Returns
SIPLStatus the completion status of the operation.
Precondition
Call this API after camera starts streaming


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ SetCombineMode()

virtual SIPLStatus nvsipl::OvtHDRBayerRX0CustomInterface::SetCombineMode ( uint16_t const  cmbmode)
pure virtual

API: SetCombineMode.

Set sensor hdr combine mode

Parameters
[in]cmbmodeThe hdr combine mode.
Returns
SIPLStatus the completion status of the operation.
Precondition
Call after camera init before steaming starts
Note
  • This custom API is used for test only during IQ tuning process
  • Call this API after camera init to override normal configuration


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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

◆ SetSensorRegisterValue()

virtual SIPLStatus nvsipl::OvtHDRBayerRX0CustomInterface::SetSensorRegisterValue ( uint16_t const  address,
uint8_t const  mask,
uint8_t const  value 
)
pure virtual

API: SetSensorRegisterValue.

Set one sensor register value

Parameters
[in]addressThe senosr register address.
[in]maskThe mask is used to control which bits in value will be operated
[in]valueThe senosr register value.
Returns
SIPLStatus the completion status of the operation.
Note
  • This custom API is used for test only during IQ tuning process
  • Call this API after camera init to override normal value
Precondition
Call after camera init before steaming starts


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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

◆ SetSPDWBRatio()

virtual SIPLStatus nvsipl::OvtHDRBayerRX0CustomInterface::SetSPDWBRatio ( float_t const  r,
float_t const  g,
float_t const  b 
)
pure virtual

API: SetSPDWBRatio.

Set sensor white balance gain for special exposure channel

Parameters
[in]idxExpoThe index of exposure .
[in]wbGainThe white balance gain in float format .
Returns
SIPLStatus the completion status of the operation.
Precondition
Call after camera init before steaming starts
Note
  • This custom API is used for test only during IQ tuning process
  • Call this API after camera init to override normal configuration
  • when sensor write back is on, White balance gain will be overwrote by AWB too


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • 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

The documentation for this class was generated from the following file: