commit | ec78f685becda099b59d4719bd0ba786bd83015a | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Dec 13 13:57:11 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Dec 13 19:13:49 2019 +0000 |
tree | ec7a004d89e2660334f5c9c373ae3dd5be40d47f | |
parent | cd31cb38833cfd31e271f592b77d5dfeece3799d [diff] |
Direct fit of small tables can produce "kBad" transfer functions Example profile generates a negative 'a' by allowing linear fit for the for first N-1 points, then a negative slope to the last point. Bug: oss-fuzz:19467 Change-Id: Ia6a061cdf1c249eeb9d0ef378f89a13a302a1b8d Reviewed-on: https://skia-review.googlesource.com/c/skcms/+/260036 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>