Struct matroska_demuxer::Video[][src]

pub struct Video { /* fields omitted */ }

Video settings.

Implementations

impl Video[src]

pub fn flag_interlaced(&self) -> FlagInterlaced[src]

A flag to declare if the video is known to be progressive, or interlaced, and if applicable to declare details about the interlacement.

pub fn stereo_mode(&self) -> Option<StereoMode>[src]

Stereo-3D video mode.

pub fn alpha_mode(&self) -> Option<u64>[src]

Alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data.

pub fn pixel_width(&self) -> NonZeroU64[src]

Width of the encoded video frames in pixels.

pub fn pixel_height(&self) -> NonZeroU64[src]

Height of the encoded video frames in pixels.

pub fn pixel_crop_bottom(&self) -> Option<u64>[src]

The number of video pixels to remove at the bottom of the image.

pub fn pixel_crop_top(&self) -> Option<u64>[src]

The number of video pixels to remove at the top of the image.

pub fn pixel_crop_left(&self) -> Option<u64>[src]

The number of video pixels to remove on the left of the image.

pub fn pixel_crop_right(&self) -> Option<u64>[src]

The number of video pixels to remove on the right of the image.

pub fn display_width(&self) -> Option<NonZeroU64>[src]

Width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).

pub fn display_height(&self) -> Option<NonZeroU64>[src]

Height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).

pub fn display_unit(&self) -> Option<DisplayUnit>[src]

How DisplayWidth & DisplayHeight are interpreted.

pub fn aspect_ratio_type(&self) -> Option<AspectRatioType>[src]

Specify the possible modifications to the aspect ratio.

pub fn colour(&self) -> Option<&Colour>[src]

Settings describing the colour format.

Trait Implementations

impl Clone for Video[src]

impl Debug for Video[src]

Auto Trait Implementations

impl RefUnwindSafe for Video

impl Send for Video

impl Sync for Video

impl Unpin for Video

impl UnwindSafe for Video

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, 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.