[][src]Enum gstreamer_video::VideoMultiviewMode

#[non_exhaustive]pub enum VideoMultiviewMode {
    None,
    Mono,
    Left,
    Right,
    SideBySide,
    SideBySideQuincunx,
    ColumnInterleaved,
    RowInterleaved,
    TopBottom,
    Checkerboard,
    FrameByFrame,
    MultiviewFrameByFrame,
    Separated,
    // some variants omitted
}

All possible stereoscopic 3D and multiview representations. In conjunction with VideoMultiviewFlags, describes how multiview content is being transported in the stream.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

A special value indicating no multiview information. Used in GstVideoInfo and other places to indicate that no specific multiview handling has been requested or provided. This value is never carried on caps.

Mono

All frames are monoscopic.

Left

All frames represent a left-eye view.

Right

All frames represent a right-eye view.

SideBySide

Left and right eye views are provided in the left and right half of the frame respectively.

SideBySideQuincunx

Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views.

ColumnInterleaved

Alternating vertical columns of pixels represent the left and right eye view respectively.

RowInterleaved

Alternating horizontal rows of pixels represent the left and right eye view respectively.

TopBottom

The top half of the frame contains the left eye, and the bottom half the right eye.

Checkerboard

Pixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion.

FrameByFrame

Left and right eye views are provided in separate frames alternately.

MultiviewFrameByFrame

Multiple independent views are provided in separate frames in sequence. This method only applies to raw video buffers at the moment. Specific view identification is via the GstVideoMultiviewMeta and VideoMeta(s) on raw video buffers.

Separated

Multiple views are provided as separate gst::Memory framebuffers attached to each gst::Buffer, described by the GstVideoMultiviewMeta and VideoMeta(s)

Trait Implementations

impl Clone for VideoMultiviewMode[src]

impl Copy for VideoMultiviewMode[src]

impl Debug for VideoMultiviewMode[src]

impl Eq for VideoMultiviewMode[src]

impl From<VideoMultiviewFramePacking> for VideoMultiviewMode[src]

impl<'a> FromValue<'a> for VideoMultiviewMode[src]

impl<'a> FromValueOptional<'a> for VideoMultiviewMode[src]

impl Hash for VideoMultiviewMode[src]

impl Ord for VideoMultiviewMode[src]

impl PartialEq<VideoMultiviewMode> for VideoMultiviewMode[src]

impl PartialOrd<VideoMultiviewMode> for VideoMultiviewMode[src]

impl SetValue for VideoMultiviewMode[src]

impl StaticType for VideoMultiviewMode[src]

impl StructuralEq for VideoMultiviewMode[src]

impl StructuralPartialEq for VideoMultiviewMode[src]

impl TryFrom<VideoMultiviewMode> for VideoMultiviewFramePacking[src]

type Error = BoolError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for VideoMultiviewMode

impl Send for VideoMultiviewMode

impl Sync for VideoMultiviewMode

impl Unpin for VideoMultiviewMode

impl UnwindSafe for VideoMultiviewMode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.