Enum ffmpeg_sys_next::AVStereo3DType
source · #[repr(u32)]
pub enum AVStereo3DType {
AV_STEREO3D_2D,
AV_STEREO3D_SIDEBYSIDE,
AV_STEREO3D_TOPBOTTOM,
AV_STEREO3D_FRAMESEQUENCE,
AV_STEREO3D_CHECKERBOARD,
AV_STEREO3D_SIDEBYSIDE_QUINCUNX,
AV_STEREO3D_LINES,
AV_STEREO3D_COLUMNS,
}Expand description
List of possible 3D Types
Variants§
AV_STEREO3D_2D
Video is not stereoscopic (and metadata has to be there).
AV_STEREO3D_SIDEBYSIDE
Views are next to each other.
@code{.unparsed} LLLLRRRR LLLLRRRR LLLLRRRR … @endcode
AV_STEREO3D_TOPBOTTOM
Views are on top of each other.
@code{.unparsed} LLLLLLLL LLLLLLLL RRRRRRRR RRRRRRRR @endcode
AV_STEREO3D_FRAMESEQUENCE
Views are alternated temporally.
@code{.unparsed} frame0 frame1 frame2 … LLLLLLLL RRRRRRRR LLLLLLLL LLLLLLLL RRRRRRRR LLLLLLLL LLLLLLLL RRRRRRRR LLLLLLLL … … … @endcode
AV_STEREO3D_CHECKERBOARD
Views are packed in a checkerboard-like structure per pixel.
@code{.unparsed} LRLRLRLR RLRLRLRL LRLRLRLR … @endcode
AV_STEREO3D_SIDEBYSIDE_QUINCUNX
Views are next to each other, but when upscaling apply a checkerboard pattern.
@code{.unparsed} LLLLRRRR L L L L R R R R LLLLRRRR => L L L L R R R R LLLLRRRR L L L L R R R R LLLLRRRR L L L L R R R R @endcode
AV_STEREO3D_LINES
Views are packed per line, as if interlaced.
@code{.unparsed} LLLLLLLL RRRRRRRR LLLLLLLL … @endcode
AV_STEREO3D_COLUMNS
Views are packed per column.
@code{.unparsed} LRLRLRLR LRLRLRLR LRLRLRLR … @endcode
Trait Implementations§
source§impl Clone for AVStereo3DType
impl Clone for AVStereo3DType
source§fn clone(&self) -> AVStereo3DType
fn clone(&self) -> AVStereo3DType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AVStereo3DType
impl Debug for AVStereo3DType
source§impl Hash for AVStereo3DType
impl Hash for AVStereo3DType
source§impl PartialEq<AVStereo3DType> for AVStereo3DType
impl PartialEq<AVStereo3DType> for AVStereo3DType
source§fn eq(&self, other: &AVStereo3DType) -> bool
fn eq(&self, other: &AVStereo3DType) -> bool
self and other values to be equal, and is used
by ==.