hi_mpi_isp_set_bind_attr

Description

Binds the ISP library to the 3A algorithm library and sensor.

Prototype

hi_s32 hi_mpi_isp_set_bind_attr(hi_vi_pipe vi_pipe, const hi_isp_bind_attr *bind_attr)

Constraints

  • This API is called only when you register multiple AE and AWB libraries and want to switch the libraries. If multiple AE and AWB libraries are registered, the last registered AE and AWB libraries are bound by default.
  • This API does not support multiple processes.

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

bind_attr

Input

Pointer to the binding data structure

Returns

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