hi_mpi_isp_set_pregamma_attr
Description
Sets the PreGamma attribute.
Prototype
hi_s32 hi_mpi_isp_set_pregamma_attr(hi_vi_pipe vi_pipe, const hi_isp_pregamma_attr *pregamma_attr)
Constraints
The PreGamma module is coupled with the DRC module. The PreGamma module takes effect only when the DRC module is enabled. The PreGamma module does not support ping-pong handover. The handover processing may cause image exceptions. This MPI is only used for debugging.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
vi_pipe |
Input |
VI pipe ID Value range: [0, 8) |
pregamma_attr |
Input |
PreGamma attribute |
Returns
- 0: success
- Other values: failure. For details, see Error Codes.
Parent topic: PreGamma