pub struct Prep {}Expand description
A filter node’s run for one piece of a layer, for the renderer to make before the GPU pass:
feed map’s source frames at rate, stamped from pts, through graph; keep its outputs
store in a lossless intermediate named by key; show the intermediate’s frames show.
Fields§
§graph: String§labelled: boolThe graph names its ends [in] and [out] (Node::labelled).
hw: Hw§free_timing: bool§input: PathBufThe source video.
dims: (u32, u32)Its display size (upright), px: the graph must keep it.
start: DurationWhere decoding starts (half a frame before the first frame map reads).
map: Arc<[i64]>The source frame of each fed frame, counted from the first frame at or after start.
rate: f64The fed (canvas) frame rate.
pts: i64The first fed frame’s index on the node’s clock (its PTS in frames).
store: Range<usize>The graph’s outputs kept (pre-roll and post-roll dropped; all of them for a whole-clip node, whose intermediate every piece shares).
show: Range<usize>The intermediate’s frames the piece shows.
key: StringThe intermediate’s name: a digest of the node’s recipe and store.