skia2/modules/skottie
Florin Malita 6ba939d288 [skottie] Improved Hue/Saturation effect
The current HueSaturation effect implementation relies on a simple
HSLA color matrix operation and assumes the controls are linear.

Turns out AE's saturation is more sophisticated, both in implementation
and in control mapping.

Updating the effect to use a chain of specialized color filters:

  - keep HSLAMatrix() for hue adjustments
  - introduce a custom runtime effect for saturation
    (following AE's semantics)
  - use a plain Matrix() CF for lightness adjustments

Change-Id: Iba6c9f7fd8c01dc33c1cd00822ea546867c057ac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/452976
Commit-Queue: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-09-27 13:30:48 +00:00
..
fuzz [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
gm [skottie] Add text colorization GM 2020-12-10 17:10:48 +00:00
include Reland "[skottie] AllCaps support" 2021-09-03 14:43:59 +00:00
src [skottie] Improved Hue/Saturation effect 2021-09-27 13:30:48 +00:00
tests [skottie] Fix Keyframe::Value equality operator 2021-09-21 19:23:26 +00:00
utils Expanded PropertyObserver interface to include Node Type 2021-06-11 17:00:47 +00:00
BUILD.gn Reland "[skottie] AllCaps support" 2021-09-03 14:43:59 +00:00
skottie.gni [skottie] Initial fractal noise effect 2021-03-01 19:50:10 +00:00