pub type RequestPattern = VSRequestPattern;

Aliased Type§

enum RequestPattern {
    General,
    NoFrameReuse,
    StrictSpatial,
}

Variants§

§

General

Anything goes. Note that filters that may be requesting beyond the end of a [VSNode] length in frames (repeating the last frame) should use [VSRequestPattern::General]) and not any of the other modes.

§

NoFrameReuse

Will only request an input frame at most once if all output frames are requested exactly one time. This includes filters such as Trim, Reverse, SelectEvery.

§

StrictSpatial

Only requests frame N to output frame N. The main difference to [VSRequestPattern::NoFrameReuse] is that the requested frame is always fixed and known ahead of time. Filter examples Lut, Expr (conditionally, see [VSRequestPattern::General] note) and similar.