hi_mpi_isp_get_exp_convert

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

×

Atlas A3 training products/Atlas A3 inference products

×

Atlas A2 training products/Atlas A2 inference products

×

Atlas 200I/500 A2 inference products

√

Atlas inference products

×

Atlas training products

×

Description

Sets the attributes for exposure conversion at different frame rates.

Prototype

hi_s32 hi_mpi_isp_get_exp_convert(hi_vi_pipe vi_pipe, hi_isp_exp_conv_param *conv_param)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

conv_param

Output

Pointer to the exposure conversion attributes

Returns

  • 0: success
  • Other values: failure. For details, see Error Codes.

Constraints

  • The sensor exposure time, analog gain, and digital gain of the sensor after conversion are the values of the sensor register and have the corresponding register addresses, which can be directly configured for the sensor register. The converted ISP digital gain is in the unit of multiple and the precision is 10 bits.
  • The sensor exposure time, analog gain, and digital gain after conversion can be set to a maximum of 10 register values and 10 register addresses.