hi_mpi_isp_query_wb_info

Description

Obtains the current WB gain coefficient, color temperature, saturation, and color correction matrix coefficient.

Prototype

hi_s32 hi_mpi_isp_query_wb_info(hi_vi_pipe vi_pipe, hi_isp_wb_info *wb_info)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

wb_info

Output

Color description parameter

Returns

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