hi_mpi_isp_set_module_ctrl

Description

Sets whether to enable functional modules of the ISP.

Constraints

The register corresponding to this interface is multiplexed with the enable register of each module.

Prototype

hi_s32 hi_mpi_isp_set_module_ctrl(hi_vi_pipe vi_pipe, const hi_isp_module_ctrl *mod_ctrl)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

mod_ctrl

Input

Module control value. Each bit controls a functional module of the ISP.

  • 0: enabled
  • 1: disabled

Returns

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