Skip to content

IADLXDisplayGamma

Navigation: ADLX SDK ReferencesADLX InterfacesDisplay

The IADLXDisplayGamma interface configures gamma correction on a display.

InterfaceId:IADLXDisplayGamma
Smart Pointer Interface Name:IADLXDisplayGammaPtr
Inherits:IADLXInterface
Inherited By:N/A

The IADLXDisplayGamma interface provides two types of gamma correction which are gamma ramp and gamma coefficient. Both gamma ramp and gamma coefficient have two sub-types: de-gamma and re-gamma.

  • Gamma ramp provides a Lookup Table (LUT) for the gamma correction, it applies the LUT with the assumption that all pixels are in sRGB space.
  • Re-Gamma coefficient uses the following non-linear formula:

Code

C++

// Error reading file: [Errno 13] Permission denied: '..\\adlx\\drivers\\ADLX\\Samples\\cpp'
  • De-Gamma coefficient uses the following non-linear formula:

Code

C++

// Error reading file: [Errno 13] Permission denied: '..\\adlx\\drivers\\ADLX\\Samples\\cpp'

Methods

MethodDescription
GetGammaCoefficientGets the re-gamma coefficient settings on a display.
GetGammaRampGets the gamma ramp LUT on a display.
IsCurrentDeGammaRampChecks if de-gamma ramp is used by a display.
IsCurrentReGamma36Checks if the 3.6 re-gamma is used by a display.
IsCurrentReGammaBT709Checks if the BT709 re-gamma is used by a display.
IsCurrentReGammaPQChecks if the PQ re-gamma is used by a display.
IsCurrentReGammaPQ2084InterimChecks if the PQ2084 re-gamma curve is used by a display.
IsCurrentReGammaRampChecks if re-gamma ramp is used by a display.
IsCurrentReGammaSRGBChecks if the sRGB re-gamma is used by a display.
IsCurrentRegammaCoefficientChecks if re-gamma coefficient is used by a display.
IsSupportedReGamma36Checks if the 3.6 re-gamma is supported on a display.
IsSupportedReGammaBT709Checks if the BT709 re-gamma is supported on a display.
IsSupportedReGammaPQChecks if the PQ re-gamma is supported on a display.
IsSupportedReGammaPQ2084InterimChecks if the PQ2084 re-gamma curve is supported on a display.
IsSupportedReGammaSRGBChecks if the sRGB re-gamma is supported on a display.
ResetGammaRampResets the gamma ramp on a display.
SetDeGammaRampSets the de-gamma on a display using a ramp file.
SetDeGammaRampSets the de-gamma on a display using a ramp buffer.
SetReGamma36Sets the 3.6 re-gamma on a display.
SetReGammaBT709Sets the BT709 re-gamma on a display.
SetReGammaCoefficientSets the re-gamma coefficient on a display.
SetReGammaPQSets the PQ re-gamma on a display.
SetReGammaPQ2084InterimSets the PQ2084 re-gamma curve on a display.
SetReGammaRampSets the re-gamma on a display using a ramp file.
SetReGammaRampSets the re-gamma on a display using a ramp buffer.
SetReGammaSRGBSets the sRGB re-gamma on a display.

Requirements

Headerinclude “IDisplayGamma.h”
Minimum version1.0

Example

To see how to use this interface in a C++ application, refer to the DisplayGamma C++ sample.

For a C application, refer to the DisplayGamma C sample.

Subpages

API Reference

This page references: