Expand description
Turns a VapourSynth clip’s format and a filter’s script arguments
into the option types av-denoise-core denoises with.
Everything here is a pure function over plain values, with no
VapourSynth core and no GPU, so the whole accept/reject matrix is
unit-testable. Format itself cannot
be built outside a running core, so layout_from_format takes a
RawFormat of the plain fields it needs instead. The caller in
filter.rs does the short extraction from a real Format.
Structs§
- RawFormat
- The handful of format fields
layout_from_formatactually reads. - RawParams
- The raw script arguments a filter function receives, before they are
validated and folded into a
PlaneOptions.
Enums§
- Algorithm
Kind - Which denoising algorithm a filter function runs.
Functions§
- layout_
from_ format - Validates a clip’s format and turns it into a
FrameLayout. - plane_
options_ from - Validates
rawagainstlayoutand builds thePlaneOptionsaPlanarDenoiseris created from.