ADL (AMD Display Library) Public APIs  Version 17.1
RegammaAndGamut

Description: This sample demonstrates Gamut and Gamma interfaces which user can configure color space features across supported configurations. Also, provides more user-friendly command line parameters.

Supported OS: Windows

Init and Destroy: Initialize the library before using it and destroy it after the usage. Refer to InitADL() for initialization and clean-up is done inside main function only.

Functionality: Notice:

Sample Path: Sample\RegammaAndGamut


Additional information:

Re-gamma default value 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


Gamut matrix default value sRGB Colormatch RGB Adobe RGB ProPhoto RGB
Red-x 0.64 0.63 0.64 0.735
Red-y 0.33 0.34 0.33 0.254
Red-Y 0.213 0.275 0.297 0.288
Green-x 0.3 0.295 0.21 0.16
Green-y 0.6 0.605 0.71 0.84
Green-Y 0.715 0.658 0.627 0.712
Blue-x 0.15 0.15 0.15 0.037
Blue-y 0.06 0.075 0.06 0.001
Blue-Y 0.072 0.067 0.075 0.001

Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.