Draft: color: add tone mapping RFC draft
The functionality could be used for HDR(PQ) to SDR and HDR (PQ) to HDR(PQ).
We build on the fly the tone mapping LCMS color pipeline based on Spec BT 2390.
The input and output color space is CIE XYZ.
Our TM pipeline consists of the following operations:
XYZ->LMS->ITP->TM->ITP->LMS->XYZ.
If the input PCS is CIE LAB then LCMS handles this.
Signed-off-by: Vitaly Prosyak vitaly.prosyak@amd.com RFC @pq and @swick