Struct matroska_demuxer::Video
source · pub struct Video { /* private fields */ }
Expand description
Video settings.
Implementations§
source§impl Video
impl Video
sourcepub fn flag_interlaced(&self) -> FlagInterlaced
pub fn flag_interlaced(&self) -> FlagInterlaced
A flag to declare if the video is known to be progressive, or interlaced, and if applicable to declare details about the interlacement.
sourcepub fn stereo_mode(&self) -> Option<StereoMode>
pub fn stereo_mode(&self) -> Option<StereoMode>
Stereo-3D video mode.
sourcepub fn alpha_mode(&self) -> Option<u64>
pub fn alpha_mode(&self) -> Option<u64>
Alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data.
sourcepub fn pixel_width(&self) -> NonZeroU64
pub fn pixel_width(&self) -> NonZeroU64
Width of the encoded video frames in pixels.
sourcepub fn pixel_height(&self) -> NonZeroU64
pub fn pixel_height(&self) -> NonZeroU64
Height of the encoded video frames in pixels.
sourcepub fn pixel_crop_bottom(&self) -> Option<u64>
pub fn pixel_crop_bottom(&self) -> Option<u64>
The number of video pixels to remove at the bottom of the image.
sourcepub fn pixel_crop_top(&self) -> Option<u64>
pub fn pixel_crop_top(&self) -> Option<u64>
The number of video pixels to remove at the top of the image.
sourcepub fn pixel_crop_left(&self) -> Option<u64>
pub fn pixel_crop_left(&self) -> Option<u64>
The number of video pixels to remove on the left of the image.
sourcepub fn pixel_crop_right(&self) -> Option<u64>
pub fn pixel_crop_right(&self) -> Option<u64>
The number of video pixels to remove on the right of the image.
sourcepub fn display_width(&self) -> Option<NonZeroU64>
pub fn display_width(&self) -> Option<NonZeroU64>
Width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).
sourcepub fn display_height(&self) -> Option<NonZeroU64>
pub fn display_height(&self) -> Option<NonZeroU64>
Height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).
sourcepub fn display_unit(&self) -> Option<DisplayUnit>
pub fn display_unit(&self) -> Option<DisplayUnit>
How DisplayWidth & DisplayHeight are interpreted.
sourcepub fn aspect_ratio_type(&self) -> Option<AspectRatioType>
pub fn aspect_ratio_type(&self) -> Option<AspectRatioType>
Specify the possible modifications to the aspect ratio.