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,
}展开描述
视频编码器子类型。
变体§
ARGB32
未压缩 32 位 ARGB(8:8:8:8)。
BGRA8
未压缩 32 位 BGRA(8:8:8:8)。
D16
16 位深度格式。
H263
H.263 视频。
H264
H.264/AVC 视频。
H264ES
H.264 基本流。
HEVC
H.265/HEVC 视频。
HEVCES
H.265/HEVC 基本流。
IYUV
平面 YUV 4:2:0 (IYUV)。
L8
8 位亮度(灰度)。
L16
16 位亮度(灰度)。
MJPG
运动 JPEG。
NV12
NV12 YUV 4:2:0(半平面)。
MPEG1
MPEG-1 视频。
MPEG2
MPEG-2 视频。
RGB24
24 位 RGB。
RGB32
32 位 RGB。
WMV3
Windows Media Video 9 (WMV3)。
WVC1
Windows Media Video 高级配置 (VC-1)。
VP9
VP9 视频。
YUY2
打包的 YUY2 4:2:2。
YV12
平面 YV12 4:2:0。
Implementations§
源代码§impl VideoSettingsSubType
impl VideoSettingsSubType
源代码pub fn to_hstring(&self) -> HSTRING
pub fn to_hstring(&self) -> HSTRING
返回此 VideoSettingsSubType 的 Windows Media 子类型标识符字符串。
Trait 实现§
源代码§impl Clone for VideoSettingsSubType
impl Clone for VideoSettingsSubType
源代码§fn clone(&self) -> VideoSettingsSubType
fn clone(&self) -> VideoSettingsSubType
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. 阅读更多源代码§impl Debug for VideoSettingsSubType
impl Debug for VideoSettingsSubType
源代码§impl PartialEq for VideoSettingsSubType
impl PartialEq for VideoSettingsSubType
impl Copy for VideoSettingsSubType
impl Eq for VideoSettingsSubType
impl StructuralPartialEq for VideoSettingsSubType
自动 Trait 实现§
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
通用实现§
源代码§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
源代码§impl<T> IntoEither for T
impl<T> IntoEither for T
源代码§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left is true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多源代码§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left(&self) returns true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多