hi_mpi_isp_set_gamma_attr

Description

Sets the gamma attribute.

Prototype

hi_s32 hi_mpi_isp_set_gamma_attr(hi_vi_pipe vi_pipe, const hi_isp_gamma_attr *gamma_attr)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 8)

gamma_attr

Input

Gamma attribute

Returns

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