pub enum VideoEncodeProfile {
H264 {
profile: H264Profile,
chroma_subsampling: VideoChromaSubsampling,
luma_bit_depth: VideoComponentBitDepth,
chroma_bit_depth: VideoComponentBitDepth,
},
H265 {
profile: H265Profile,
chroma_subsampling: VideoChromaSubsampling,
luma_bit_depth: VideoComponentBitDepth,
chroma_bit_depth: VideoComponentBitDepth,
},
}Expand description
One exact encode profile presented to the selected device.
Variants§
H264
Fields
§
profile: H264Profile§
chroma_subsampling: VideoChromaSubsampling§
luma_bit_depth: VideoComponentBitDepth§
chroma_bit_depth: VideoComponentBitDepthH265
Fields
§
profile: H265Profile§
chroma_subsampling: VideoChromaSubsampling§
luma_bit_depth: VideoComponentBitDepth§
chroma_bit_depth: VideoComponentBitDepthImplementations§
Source§impl VideoEncodeProfile
impl VideoEncodeProfile
Sourcepub const fn h264_high_420_8bit() -> Self
pub const fn h264_high_420_8bit() -> Self
Construct the donor H.264 High 4:2:0 8-bit encode profile.
Sourcepub const fn h265_main_420_8bit() -> Self
pub const fn h265_main_420_8bit() -> Self
Construct the donor H.265 Main 4:2:0 8-bit encode profile.
Trait Implementations§
Source§impl Clone for VideoEncodeProfile
impl Clone for VideoEncodeProfile
impl Copy for VideoEncodeProfile
Source§impl Debug for VideoEncodeProfile
impl Debug for VideoEncodeProfile
impl Eq for VideoEncodeProfile
Source§impl PartialEq for VideoEncodeProfile
impl PartialEq for VideoEncodeProfile
impl StructuralPartialEq for VideoEncodeProfile
Auto Trait Implementations§
impl Forget for VideoEncodeProfile
impl Freeze for VideoEncodeProfile
impl Move for VideoEncodeProfile
impl RefUnwindSafe for VideoEncodeProfile
impl Send for VideoEncodeProfile
impl Sync for VideoEncodeProfile
impl Unpin for VideoEncodeProfile
impl UnsafeUnpin for VideoEncodeProfile
impl UnwindSafe for VideoEncodeProfile
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