hi_mpi_isp_get_pregamma_attr

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

×

Atlas A3 training products/Atlas A3 inference products

×

Atlas A2 training products/Atlas A2 inference products

×

Atlas 200I/500 A2 inference products

√

Atlas inference products

×

Atlas training products

×

Description

Obtains the PreGamma attribute.

Prototype

hi_s32 hi_mpi_isp_get_pregamma_attr(hi_vi_pipe vi_pipe, hi_isp_pregamma_attr *pregamma_attr)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

pregamma_attr

Input

PreGamma attribute

Returns

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

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.