hi_mpi_awb_register

Description

Registers the Ascend AWB algorithm library with the ISP.

Prototype

hi_s32 hi_mpi_awb_register(hi_vi_pipe vi_pipe, hi_isp_3a_alg_lib *awb_lib)

Constraints

  • Multiple instances can be registered with the AWB algorithm library.
  • This API does not support multiple processes.

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

awb_lib

Input

Pointer to the data structure of the AWB algorithm library

Returns

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