pub enum ProfileAdditionalFlags {
Full {
max_12bit_constraint_flag: bool,
max_10bit_constraint_flag: bool,
max_8bit_constraint_flag: bool,
max_422chroma_constraint_flag: bool,
max_420chroma_constraint_flag: bool,
max_monochrome_constraint_flag: bool,
intra_constraint_flag: bool,
one_picture_only_constraint_flag: bool,
lower_bit_rate_constraint_flag: bool,
max_14bit_constraint_flag: Option<bool>,
},
Main10Profile {
one_picture_only_constraint_flag: bool,
},
None,
}
Expand description
Additional profile flags that can be present in the profile.
Variants§
Full
All additional flags are present.
Fields
Main10Profile
Only the one_picture_only_constraint_flag
is present because profile_idc
is 2 or general_profile_compatibility_flag[2]
is true
.
None
No additional flags are present.
Trait Implementations§
Source§impl Clone for ProfileAdditionalFlags
impl Clone for ProfileAdditionalFlags
Source§fn clone(&self) -> ProfileAdditionalFlags
fn clone(&self) -> ProfileAdditionalFlags
Returns a copy 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 ProfileAdditionalFlags
impl Debug for ProfileAdditionalFlags
Source§impl PartialEq for ProfileAdditionalFlags
impl PartialEq for ProfileAdditionalFlags
impl StructuralPartialEq for ProfileAdditionalFlags
Auto Trait Implementations§
impl Freeze for ProfileAdditionalFlags
impl RefUnwindSafe for ProfileAdditionalFlags
impl Send for ProfileAdditionalFlags
impl Sync for ProfileAdditionalFlags
impl Unpin for ProfileAdditionalFlags
impl UnwindSafe for ProfileAdditionalFlags
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