ADL (AMD Display Library) Public APIs
Version 17.1
|
Macros | |
#define | ADL_APPLY_DEGAMMA (1 << 5) |
Used for struct ADLRegamma. If the gamma ramp flag is used then the driver could apply de gamma corretion to the supplied curve and this depends on this flag. More... | |
#define | ADL_CUSTOM_GAMUT (1 << 1) |
#define | ADL_CUSTOM_WHITE_POINT (1 << 0) |
The flags are used to describe the source of gamut and how read information from struct ADLGamutData. More... | |
#define | ADL_EDID_REGAMMA_COEFFICIENTS (1 << 0) |
describes whether the coefficients are from EDID or custom user values. More... | |
#define | ADL_EDID_REGAMMA_PREDEFINED_36 (1 << 6) |
specifies that 3.6 gamma should be applied More... | |
#define | ADL_EDID_REGAMMA_PREDEFINED_APPCTRL (1 << 8) |
specifies that regamma should be disabled, and application controls regamma content (of the whole screen) More... | |
#define | ADL_EDID_REGAMMA_PREDEFINED_BT709 (1 << 7) |
specifies that BT709 gama should be applied More... | |
#define | ADL_EDID_REGAMMA_PREDEFINED_PQ (1 << 2) |
specifies that PQ gamma curve should be applied More... | |
#define | ADL_EDID_REGAMMA_PREDEFINED_PQ_2084_INTERIM (1 << 3) |
specifies that PQ gamma curve should be applied, lower max nits More... | |
#define | ADL_EDID_REGAMMA_PREDEFINED_SRGB (1 << 1) |
specifies that standard SRGB gamma should be applied More... | |
#define | ADL_GAMUT_GAMUT_VIDEO_CONTENT (1 << 1) |
#define | ADL_GAMUT_REFERENCE_SOURCE (1 << 0) |
The flags desribes that gamut is related to source or to destination and to overlay or to graphics. More... | |
#define | ADL_GAMUT_REMAP_ONLY (1 << 2) |
#define | ADL_GAMUT_SPACE_ADOBE_RGB (1 << 2) |
#define | ADL_GAMUT_SPACE_APPCTRL (1 << 6) |
#define | ADL_GAMUT_SPACE_CCIR_2020 (1 << 5) |
#define | ADL_GAMUT_SPACE_CCIR_601 (1 << 1) |
#define | ADL_GAMUT_SPACE_CCIR_709 (1 << 0) |
#define | ADL_GAMUT_SPACE_CIE_RGB (1 << 3) |
#define | ADL_GAMUT_SPACE_CUSTOM (1 << 4) |
#define | ADL_GAMUT_WHITEPOINT_DIVIDER 10000 |
#define | ADL_REGAMMA_COEFFICIENT_A0_DIVIDER 10000000 |
gamma a0 coefficient uses the following divider: More... | |
#define | ADL_REGAMMA_COEFFICIENT_A1A2A3_DIVIDER 1000 |
gamma a1 ,a2,a3 coefficients use the following divider: More... | |
#define | ADL_USE_GAMMA_RAMP (1 << 4) |
Used for struct ADLRegamma. Feature if set use gamma ramp, if missing use regamma coefficents. More... | |
#define | ADL_WHITE_POINT_5000K (1 << 0) |
Predefine white point values are structed similar to gamut . More... | |
#define | ADL_WHITE_POINT_6500K (1 << 1) |
#define | ADL_WHITE_POINT_7500K (1 << 2) |
#define | ADL_WHITE_POINT_9300K (1 << 3) |
#define | ADL_WHITE_POINT_CUSTOM (1 << 4) |
#define ADL_APPLY_DEGAMMA (1 << 5) |
Used for struct ADLRegamma. If the gamma ramp flag is used then the driver could apply de gamma corretion to the supplied curve and this depends on this flag.
#define ADL_CUSTOM_GAMUT (1 << 1) |
#define ADL_CUSTOM_WHITE_POINT (1 << 0) |
The flags are used to describe the source of gamut and how read information from struct ADLGamutData.
#define ADL_EDID_REGAMMA_COEFFICIENTS (1 << 0) |
describes whether the coefficients are from EDID or custom user values.
#define ADL_EDID_REGAMMA_PREDEFINED_36 (1 << 6) |
specifies that 3.6 gamma should be applied
#define ADL_EDID_REGAMMA_PREDEFINED_APPCTRL (1 << 8) |
specifies that regamma should be disabled, and application controls regamma content (of the whole screen)
#define ADL_EDID_REGAMMA_PREDEFINED_BT709 (1 << 7) |
specifies that BT709 gama should be applied
#define ADL_EDID_REGAMMA_PREDEFINED_PQ (1 << 2) |
specifies that PQ gamma curve should be applied
#define ADL_EDID_REGAMMA_PREDEFINED_PQ_2084_INTERIM (1 << 3) |
specifies that PQ gamma curve should be applied, lower max nits
#define ADL_EDID_REGAMMA_PREDEFINED_SRGB (1 << 1) |
specifies that standard SRGB gamma should be applied
#define ADL_GAMUT_GAMUT_VIDEO_CONTENT (1 << 1) |
#define ADL_GAMUT_REFERENCE_SOURCE (1 << 0) |
The flags desribes that gamut is related to source or to destination and to overlay or to graphics.
#define ADL_GAMUT_REMAP_ONLY (1 << 2) |
#define ADL_GAMUT_SPACE_ADOBE_RGB (1 << 2) |
#define ADL_GAMUT_SPACE_APPCTRL (1 << 6) |
#define ADL_GAMUT_SPACE_CCIR_2020 (1 << 5) |
#define ADL_GAMUT_SPACE_CCIR_601 (1 << 1) |
#define ADL_GAMUT_SPACE_CCIR_709 (1 << 0) |
The define means the predefined gamut values . Driver uses to find entry in the table and apply appropriate gamut space.
#define ADL_GAMUT_SPACE_CIE_RGB (1 << 3) |
#define ADL_GAMUT_SPACE_CUSTOM (1 << 4) |
#define ADL_GAMUT_WHITEPOINT_DIVIDER 10000 |
gamut and white point coordinates are from 0.0 -1.0 and divider is used to find the real value . X float = X int /divider
#define ADL_REGAMMA_COEFFICIENT_A0_DIVIDER 10000000 |
gamma a0 coefficient uses the following divider:
#define ADL_REGAMMA_COEFFICIENT_A1A2A3_DIVIDER 1000 |
gamma a1 ,a2,a3 coefficients use the following divider:
#define ADL_USE_GAMMA_RAMP (1 << 4) |
Used for struct ADLRegamma. Feature if set use gamma ramp, if missing use regamma coefficents.
#define ADL_WHITE_POINT_5000K (1 << 0) |
Predefine white point values are structed similar to gamut .
#define ADL_WHITE_POINT_6500K (1 << 1) |
#define ADL_WHITE_POINT_7500K (1 << 2) |
#define ADL_WHITE_POINT_9300K (1 << 3) |
#define ADL_WHITE_POINT_CUSTOM (1 << 4) |