pub enum Interlace {
Any,
Progressive,
Interleaved,
}Expand description
Scan structure of raw video (M935). Any is the unconstrained default
nearly every caps site uses, and it reads as “progressive unless declared”
(GStreamer’s meaning for an absent interlace-mode): a decoder that sees
interlaced pictures refines it to Interleaved via CapsChanged, which is
what deinterlace mode=auto acts on. Unlike Dim::Any / Rate::Any the
wildcard survives fixate and counts as fixed, so the field never blocks a
solve and pre-M935 negotiations are unchanged.
Variants§
Any
Progressive
Interleaved
Both fields woven into one frame, top field first (ffmpeg’s default for a stream that declares no field order).
Implementations§
Trait Implementations§
impl Copy for Interlace
impl Eq for Interlace
impl StructuralPartialEq for Interlace
Auto Trait Implementations§
impl Freeze for Interlace
impl RefUnwindSafe for Interlace
impl Send for Interlace
impl Sync for Interlace
impl Unpin for Interlace
impl UnsafeUnpin for Interlace
impl UnwindSafe for Interlace
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
Mutably borrows from an owned value. Read more