commit | 12d371af853554e30905e0b7922e9d6912e2efab | [log] [tgz] |
---|---|---|
author | Sally Qi <sallyqi@google.com> | Wed Oct 26 17:30:26 2022 -0700 |
committer | Sally Qi <sallyqi@google.com> | Tue Dec 20 14:09:00 2022 -0800 |
tree | f6351270967a9e3e895e2c2991e64be00fbfedd8 | |
parent | ef63ef4e8773f5289bd0f6e3563791bb4c1027c4 [diff] |
Add BT2020_HLG, BT2020_PQ to ColorSpace.Named enum - Reuse transferParameters class to initialize non ICC curve ColorSpace, e.g., BT2020_HLG, BT2020_PQ. - Add back-compactability between skia and java side for HLG/PQ. - lift up the restriction that BitmapFactory#isPreferredColorSpace is ICC parametric curve. Bug: 241284309 Test: android.graphics.cts.ColorSpaceTest, android.graphics.cts.BitmapTest Change-Id: Ib8d0f53fa4dc71cbd0f4eb239564c8d21f1e2ba7