2018-01-09, 20:09
(2018-01-09, 17:57)wesk05 Wrote:(2018-01-09, 09:27)Koying Wrote: This colorspace API just seem to be the standard conversion matrix being baked into android, really.No, it isn't related to mode selection. I also don't think apps can use it. This is akin to what Amlogic is already doing. I think the API can be used to match the source and destination color spaces and do transforms when necessary. It looks like they are using CIE XYZ transforms which is indeed the best way to do color space transformations.
It doesn't help as far as hell mode selection is concerned, nor does it give more control over how surface is rendering, at first sight (unless they added a new hook into mediacodec or surface)
So rather than switching output colour space between 709 and 2020 on a source-by-source basis, you run constantly in 2020 and the OS handles 709->2020 conversion ? (Rather than the display - which presumably has to do colour space conversion based on its primaries?)