Draft: color management: add hdr conversions code
The code proposal is controversial to some degree, there is more than 1 way to do each conversion. There are pros and cons. I would like to hear some feedback on how can we select the appropriate implementation and do experiments. The feedback from @pq, @swick @haasn, and anybody is welcome. Thanks in advance.
The BT2390 was used to create the following conversions: -SDR to PQ -SDR to HLG -PQ to HLG -HLG to PQ
The BT2446 was used to create: -SDR to PQ method A -SDR to HLG method A -SDR to PQ method B -SDR to HLG method B
Method B of BT2446 is the most interesting because the inversion tone mapping occurs in Yu'v' linear chromaticity color space.
Signed-off-by: Vitaly Prosyak vitaly.prosyak@amd.com