pub struct Node {
pub graph: String,
pub hw: Hw,
pub clock: Clock,
pub preroll: Option<u32>,
pub postroll: Option<u32>,
pub whole_clip: Option<bool>,
pub free_timing: bool,
pub files: Vec<PathBuf>,
pub run: String,
pub labelled: bool,
}Expand description
A raw libavfilter graph on a layer (filter).
Fields§
§graph: StringThe graph text, verbatim. A graph of several chains (;), or one with link labels,
names its input [in] and its output [out].
hw: Hw§clock: Clock§preroll: Option<u32>Overrides of the table’s reach.
postroll: Option<u32>§whole_clip: Option<bool>§free_timing: booltiming: free: the graph may change frame timing or count; the layer takes what comes
(run over the whole clip, no guarantee across pieces).
files: Vec<PathBuf>§run: StringThe graph as ffmpeg runs it: graph with each file it reads made absolute.
labelled: boolWhether run names its ends [in] and [out] (several chains, or link labels), as the
tokenizer reads it: set by locate.
Implementations§
Source§impl Node
impl Node
Sourcepub fn resolve(&self) -> Result<Reach, String>
pub fn resolve(&self) -> Result<Reach, String>
The node’s reach: the table’s over its filters (summed, generously), overridden by its
own preroll, postroll and whole_clip.
§Errors
A graph that doesn’t parse, a timing-changing filter without timing: free, or a
frame counter (n) outside a whole-clip node.
Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.