M12.7: GPU colour effects (Color Balance, Vibrance, Lumetri, Black & White, Tritone, Colorama, Channel Mixer, Selective Color, Linear Color Key, Key Light)

fx_color kernels mirror the CPU effects operation for operation: one per-pixel
pass for the point effects, Lumetri with its Sharpen luminance blur, and Key
Light's matte pipeline (pre-blur, clip, rollback, despot, shrink/grow, softness,
edge band) as plane passes. CPU fallback: Key Light with Inside/Outside masks or
Hard Colour after Screen Softness, Colorama with Interpolate Palette off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 02:46:52 -04:00
co-authored by Claude Opus 5.5
parent 9a6389db86
commit 91ab3a3fc5
6 changed files with 1276 additions and 17 deletions
+11
View File
@@ -641,6 +641,17 @@ pub const GPU_EFFECTS: &[&str] = &[
"ec.color.exposure",
"ec.channel.invert",
"ec.distort.transform",
// effectcraft-gpu fx_color
"ec.color.colorbalance",
"ec.color.vibrance",
"ec.color.lumetri",
"ec.color.blackwhite",
"ec.color.tritone",
"ec.color.colorama",
"ec.color.channelmixer",
"ec.color.selectivecolor",
"ec.key.linearcolor",
"ec.keying.keylight",
];
/// Effects whose output depends on [`EffectCtx::time`] directly (not only through animated