hi_mpi_isp_get_module_ctrl

Description

Obtains the status of whether each functional module of the ISP is enabled.

Prototype

hi_s32 hi_mpi_isp_get_module_ctrl(hi_vi_pipe vi_pipe, hi_isp_module_ctrl *mod_ctrl)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

mod_ctrl

Output

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.