Function apply_effects

Source
fn apply_effects(
    clip: &Clip,
    lt: f64,
    s: f32,
    img_scale: f32,
    img: &mut Frame,
    fx: &mut Frame,
    pre: &mut Frame,
    cov: &mut Vec<u8>,
    p: &mut Placement,
)
Expand description

Run the clip’s effect stack on the layer image; geometric effects (Wobble) move p instead. s = canvas px per project px; img_scale = layer-image px per project px. A masked effect is mixed back over the pre-effect image by the mask’s coverage (as shaders.rs::apply_mask does).