Enum ffmpeg_sys_next::AVStereo3DType[][src]

#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.