pub enum SourceAlpha {
Vp9SideData,
HevcAuxiliaryLayer,
Planar,
}Expand description
How a video stream carries an alpha channel.
Variants§
Vp9SideData
VP9 in Matroska or WebM with alpha_mode 1: the alpha plane is a second VP9 stream in
block additions, readable only by libvpx’s decoder.
HevcAuxiliaryLayer
HEVC with an auxiliary alpha layer (Apple’s HEVC with alpha). No supported decoder reads it, so the base layer decodes opaque.
Planar
A pixel format with an alpha plane (ProRes 4444, PNG, QuickTime Animation).
Implementations§
Trait Implementations§
Source§impl Clone for SourceAlpha
impl Clone for SourceAlpha
impl Copy for SourceAlpha
Source§impl Debug for SourceAlpha
impl Debug for SourceAlpha
impl Eq for SourceAlpha
Source§impl PartialEq for SourceAlpha
impl PartialEq for SourceAlpha
impl StructuralPartialEq for SourceAlpha
Auto Trait Implementations§
impl Freeze for SourceAlpha
impl RefUnwindSafe for SourceAlpha
impl Send for SourceAlpha
impl Sync for SourceAlpha
impl Unpin for SourceAlpha
impl UnsafeUnpin for SourceAlpha
impl UnwindSafe for SourceAlpha
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