Support applying Gain Maps for HDR output reconstruction
Spec: https://helpx.adobe.com/camera-raw/using/gain-map.html
Includes more details and pseudo code. Not sure if this should be implemented in libplacebo or maybe directly in decoder like lavc.
EDIT:
Also https://developer.android.com/media/platform/hdr-image-format