M9.11: OCIO transforms, Color Stabilizer and Color Profile Converter

Built-in minimal OCIO config (ACES2065-1, ACEScg, ACEScct, sRGB, Rec.709,
Rec.2020, Display P3, linear variants, XYZ) from published primaries,
transfer functions and Bradford adaptation; CDL v1.2 maths; .cube/.3dl/.csp
and .cc/.ccc/.cdl file transforms with nearest/trilinear/tetrahedral
interpolation and inverse; displays/views/looks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-02 20:46:53 -04:00
co-authored by Claude Opus 5.5
parent 97cf7e2c02
commit fe81588867
4 changed files with 1349 additions and 4 deletions
+6
View File
@@ -27,6 +27,7 @@ mod misc;
mod noise;
mod noise2;
mod obsolete;
mod ocio;
pub mod paint;
mod perspective;
mod perspective2;
@@ -245,6 +246,10 @@ pub struct EffectEnv<'a> {
pub frame_rate: f64,
/// Index of the running effect in its layer's stack (for [`EffectHost::self_at`]).
pub effect_index: usize,
/// The project's working colour space (`None` = unmanaged, treated as sRGB).
pub working_space: Option<effectcraft_color::ColorSpace>,
/// Working-space pixels are linear light (Linearize Working Space).
pub working_linear: bool,
}
/// What an effect gets to render with.
@@ -348,6 +353,7 @@ pub fn registry() -> &'static [EffectSpec] {
v.extend(noise2::specs());
v.extend(color3::specs());
v.extend(obsolete::specs());
v.extend(ocio::specs());
v.extend(time_fx::specs());
v.extend(audio_fx::specs());
v.extend(paint::specs());