M9.13: Lumetri (HSL Secondary, hue/sat curves, RGB curves, HDR, looks) + Hue/Sat ranges + Levels/Curves channels + Timewarp optical flow

- Lumetri: HSL Secondary key/refine/correction with Show Mask, Hue vs Sat/Hue/Luma,
  Luma vs Sat, Sat vs Sat and per-channel RGB curves, High Dynamic Range (HDR White /
  Specular), Input LUT and Look (custom .cube + built-in looks).
- Hue/Saturation: Channel Control with Reds..Magentas ranges (range + fall-offs).
- Levels: Channel popup and Red/Green/Blue/Alpha controls; Curves: Channel parameter.
- catalog::param_shown: Effect Controls shows only what a popup selects.
- Timewarp Pixel Motion: block-matching flow (raster::flow::block_flow_window) with
  Vector Detail, Smoothing, Error Threshold, Block Size, Weighting, Correct Luminance,
  Filtering, Build From One Image; Matte Layer/Channel, Warp Layer, Show, Source Crops.
- GPU falls back to CPU when channel/range controls are used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 02:20:57 -04:00
co-authored by Claude Opus 5.5
parent e3ae230387
commit ce6db35d14
10 changed files with 1366 additions and 88 deletions
+10 -1
View File
@@ -60,7 +60,7 @@ pub mod warp_stab;
use std::collections::HashMap;
use std::sync::OnceLock;
pub use color_fx::{exposure_settings, levels_clip};
pub use color_fx::{HUESAT_CHANNELS, LEVELS_CHANNELS, exposure_settings, huesat_ranges_identity, levels_channel_ids, levels_channels_identity, levels_clip};
pub use color2::Curve;
use effectcraft_keyframe::Value;
use effectcraft_project::build::Ids;
@@ -504,6 +504,12 @@ pub const PARAM_GROUPS: &[(&str, &str)] = &[
("curves", "Curves"),
("colorWheels", "Color Wheels"),
("vignette", "Vignette"),
("rgbCurves", "RGB Curves"),
("hueSaturationCurves", "Hue Saturation Curves"),
("hslSecondary", "HSL Secondary"),
("key", "Key"),
("refine", "Refine"),
("correction", "Correction"),
// Camera Lens Blur.
("irisProperties", "Iris Properties"),
("highlight", "Highlight"),
@@ -530,6 +536,9 @@ pub const PARAM_GROUPS: &[(&str, &str)] = &[
// Time: Timewarp.
("tuning", "Tuning"),
("motionBlur", "Motion Blur"),
("smoothing", "Smoothing"),
("weighting", "Weighting"),
("sourceCrops", "Source Crops"),
// Simulation.
("extras", "Extras"),
("wiggle", "Wiggle"),