hi_mpi_isp_set_stats_cfg

Description

Sets the ISP 3A statistics configuration.

Prototype

hi_s32 hi_mpi_isp_set_stats_cfg(hi_vi_pipe vi_pipe, const hi_isp_stats_cfg *stat_cfg)

Constraints

  • Unnecessary statistics can be disabled to improve system performance.
  • This MPI can be called only after hi_mpi_isp_init is called.
  • If you want to change the configuration of the AE statistical algorithm, ensure that the image width is greater than or equal to 256 pixels and the image height is greater than or equal to 120 pixels.

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

stat_cfg

Input

ISP statistics configuration

Returns

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