SetReGammaCoefficient

Sets the re-gamma coefficient on a display.

Syntax

Copied!

ADLX_RESULT     SetReGammaCoefficient (ADLX_RegammaCoeff  coeff)

Parameters

  1. [in] coeff ADLX_RegammaCoeff The re-gamma coefficient.

Return Value

If the re-gamma coefficient is successfully set, ADLX_OK is returned.

If the re-gamma coefficient is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The method sets the custom coefficient on a display. The following is an example of a standard coefficient. ================ ======== ========= =========== =========== ======= coeff sRGB BT709 Gamma2.2 Gamma2.4 P3 ================ ======== ========= =========== =========== ======= CoefficientA0 31308 180000 0 0 0 CoefficientA1 12920 4500 0 0 0 CoefficientA2 55 99 0 0 0 CoefficientA3 55 99 0 0 0 Gamma 2400 2200 2200 2400 2600 ================ ======== ========= =========== =========== =======

Requirements

Header

include “IDisplayGamma.h”

Minimum version

1.0