hi_mpi_isp_set_stats_cfg

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 3A statistics configuration.

Prototype

hi_s32 hi_mpi_isp_set_stats_cfg(hi_vi_pipe vi_pipe, const hi_isp_stats_cfg *stat_cfg)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

stat_cfg

Input

ISP statistics configuration

Returns

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

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.