pub enum VideoSettingsSubType {
Show 22 variants
ARGB32,
BGRA8,
D16,
H263,
H264,
H264ES,
HEVC,
HEVCES,
IYUV,
L8,
L16,
MJPG,
NV12,
MPEG1,
MPEG2,
RGB24,
RGB32,
WMV3,
WVC1,
VP9,
YUY2,
YV12,
}Expand description
Video encoder subtypes.
Variantsยง
ARGB32
Uncompressed 32-bit ARGB (8:8:8:8).
BGRA8
Uncompressed 32-bit BGRA (8:8:8:8).
D16
16-bit depth format.
H263
H.263 video.
H264
H.264/AVC video.
H264ES
H.264 elementary stream.
HEVC
H.265/HEVC video.
HEVCES
H.265/HEVC elementary stream.
IYUV
Planar YUV 4:2:0 (IYUV).
L8
8-bit luminance (grayscale).
L16
16-bit luminance (grayscale).
MJPG
Motion JPEG.
NV12
NV12 YUV 4:2:0 (semi-planar).
MPEG1
MPEG-1 video.
MPEG2
MPEG-2 video.
RGB24
24-bit RGB.
RGB32
32-bit RGB.
WMV3
Windows Media Video 9 (WMV3).
WVC1
Windows Media Video Advanced Profile (VC-1).
VP9
VP9 video.
YUY2
Packed YUY2 4:2:2.
YV12
Planar YV12 4:2:0.
Implementationsยง
Sourceยงimpl VideoSettingsSubType
impl VideoSettingsSubType
Sourcepub fn to_hstring(&self) -> HSTRING
pub fn to_hstring(&self) -> HSTRING
Returns the Windows Media subtype identifier string for this VideoSettingsSubType.
Trait Implementationsยง
Sourceยงimpl Clone for VideoSettingsSubType
impl Clone for VideoSettingsSubType
Sourceยงfn clone(&self) -> VideoSettingsSubType
fn clone(&self) -> VideoSettingsSubType
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for VideoSettingsSubType
impl Debug for VideoSettingsSubType
Sourceยงimpl PartialEq for VideoSettingsSubType
impl PartialEq for VideoSettingsSubType
impl Copy for VideoSettingsSubType
impl Eq for VideoSettingsSubType
impl StructuralPartialEq for VideoSettingsSubType
Auto Trait Implementationsยง
impl Freeze for VideoSettingsSubType
impl RefUnwindSafe for VideoSettingsSubType
impl Send for VideoSettingsSubType
impl Sync for VideoSettingsSubType
impl Unpin for VideoSettingsSubType
impl UnsafeUnpin for VideoSettingsSubType
impl UnwindSafe for VideoSettingsSubType
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more