hi_mpi_isp_set_fmw_state

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 ISP firmware status.

Prototype

hi_s32 hi_mpi_isp_set_fmw_state(hi_vi_pipe vi_pipe, const hi_isp_fmw_state state)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

state

Input

ISP firmware status

  • When state is HI_ISP_FMW_STATE_FREEZE, some algorithms of the ISP firmware are frozen, and the sensor registers are not configured any more and their values before freezing are retained. The algorithms include the 3A algorithm, sharpen algorithm, dynamic range compression (DRC) algorithm, crosstalk removal algorithm, NR algorithm, dehazing algorithm, demosaic algorithm, black level algorithm, fixed pattern noise (FPN) removal algorithm, and WDR algorithm.
  • If state is HI_ISP_FMW_STATE_RUN, the ISP firmware runs properly.

Returns

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