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
sourceimpl Clone for AVStereo3DType
impl Clone for AVStereo3DType
sourcefn clone(&self) -> AVStereo3DType
fn clone(&self) -> AVStereo3DType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AVStereo3DType
impl Debug for AVStereo3DType
sourceimpl Hash for AVStereo3DType
impl Hash for AVStereo3DType
sourceimpl PartialEq<AVStereo3DType> for AVStereo3DType
impl PartialEq<AVStereo3DType> for AVStereo3DType
impl Copy for AVStereo3DType
impl Eq for AVStereo3DType
impl StructuralEq for AVStereo3DType
impl StructuralPartialEq for AVStereo3DType
Auto Trait Implementations
impl RefUnwindSafe for AVStereo3DType
impl Send for AVStereo3DType
impl Sync for AVStereo3DType
impl Unpin for AVStereo3DType
impl UnwindSafe for AVStereo3DType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more