commit | 8247d3c2481b2a96d0e983e981cf2f331ca2057f | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Thu Nov 05 14:35:13 2020 -0600 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 06 16:31:20 2021 +0000 |
tree | 6183141472bd3650a77cc52d6639d3d29aca5501 | |
parent | 069b8f699b5941f33295f5415e6d23bdf68a5e32 [diff] |
generalize hlg curves Adding a K parameter makes it possible to rescale HLG. For compatibility with any serialized HLG curves out there, store K-1 in the f parameter where we stored 0. Bug: chromium:1144260 Change-Id: I6c5d91d9a2a481177cb8d77a8d7a13961a145604 Reviewed-on: https://skia-review.googlesource.com/c/skcms/+/332677 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com>