pub struct ProfileTierLevel {Show 42 fields
pub general_profile_space: u8,
pub general_tier_flag: bool,
pub general_profile_idc: u8,
pub general_profile_compatibility_flag: [bool; 32],
pub general_progressive_source_flag: bool,
pub general_interlaced_source_flag: bool,
pub general_non_packed_constraint_flag: bool,
pub general_frame_only_constraint_flag: bool,
pub general_max_12bit_constraint_flag: bool,
pub general_max_10bit_constraint_flag: bool,
pub general_max_8bit_constraint_flag: bool,
pub general_max_422chroma_constraint_flag: bool,
pub general_max_420chroma_constraint_flag: bool,
pub general_max_monochrome_constraint_flag: bool,
pub general_intra_constraint_flag: bool,
pub general_lower_bit_rate_constraint_flag: bool,
pub general_max_14bit_constraint_flag: bool,
pub general_one_picture_only_constraint_flag: bool,
pub general_inbld_flag: bool,
pub general_level_idc: Level,
pub sub_layer_profile_present_flag: [bool; 6],
pub sub_layer_level_present_flag: [bool; 6],
pub sub_layer_profile_space: [u8; 6],
pub sub_layer_tier_flag: [bool; 6],
pub sub_layer_profile_idc: [u8; 6],
pub sub_layer_profile_compatibility_flag: [[bool; 32]; 6],
pub sub_layer_progressive_source_flag: [bool; 6],
pub sub_layer_interlaced_source_flag: [bool; 6],
pub sub_layer_non_packed_constraint_flag: [bool; 6],
pub sub_layer_frame_only_constraint_flag: [bool; 6],
pub sub_layer_max_12bit_constraint_flag: [bool; 6],
pub sub_layer_max_10bit_constraint_flag: [bool; 6],
pub sub_layer_max_8bit_constraint_flag: [bool; 6],
pub sub_layer_max_422chroma_constraint_flag: [bool; 6],
pub sub_layer_max_420chroma_constraint_flag: [bool; 6],
pub sub_layer_max_monochrome_constraint_flag: [bool; 6],
pub sub_layer_intra_constraint_flag: [bool; 6],
pub sub_layer_one_picture_only_constraint_flag: [bool; 6],
pub sub_layer_lower_bit_rate_constraint_flag: [bool; 6],
pub sub_layer_max_14bit_constraint_flag: [bool; 6],
pub sub_layer_inbld_flag: [bool; 6],
pub sub_layer_level_idc: [Level; 6],
}
Fields§
§general_profile_space: u8
Specifies the context for the interpretation of general_profile_idc and
general_profile_compatibility_flag[ j ]
for all values of j in the range
of 0 to 31, inclusive.
general_tier_flag: bool
Specifies the tier context for the interpretation of general_level_idc as specified in Annex A.
general_profile_idc: u8
When general_profile_space is equal to 0, indicates a profile to which the CVS conforms as specified in Annex A. Bitstreams shall not contain values of general_profile_idc other than those specified in Annex A. Other values of general_profile_idc are reserved for future use by ITU-T | ISO/IEC.
general_profile_compatibility_flag: [bool; 32]
general_profile_compatibility_flag[ j ]
equal to true, when
general_profile_space is false, indicates that the CVS conforms to the
profile indicated by general_profile_idc equal to j as specified in
Annex A.
general_progressive_source_flag: bool
general_progressive_source_flag and general_interlaced_source_flag are interpreted as follows:
–If general_progressive_source_flag is true and general_interlaced_source_flag is false, the source scan type of the pictures in the CVS should be interpreted as progressive only.
–Otherwise, if general_progressive_source_flag is false and general_interlaced_source_flag is true, the source scan type of the pictures in the CVS should be interpreted as interlaced only.
–Otherwise, if general_progressive_source_flag is false and general_interlaced_source_flag is false, the source scan type of the pictures in the CVS should be interpreted as unknown or unspecified.
–Otherwise (general_progressive_source_flag is true and general_interlaced_source_flag is true), the source scan type of each picture in the CVS is indicated at the picture level using the syntax element source_scan_type in a picture timing SEI message.
general_interlaced_source_flag: bool
See general_progressive_source_flag
.
general_non_packed_constraint_flag: bool
If true, specifies that there are no frame packing arrangement SEI messages, segmented rectangular frame packing arrangement SEI messages, equirectangular projection SEI messages, or cubemap projection SEI messages present in the CVS. If false, indicates that there may or may not be one or more frame packing arrangement SEI messages, segmented rectangular frame packing arrangement SEI messages, equirectangular projection SEI messages, or cubemap projection SEI messages present in the CVS.
general_frame_only_constraint_flag: bool
When true, specifies that field_seq_flag is false. When false, indicates that field_seq_flag may or may not be false.
general_max_12bit_constraint_flag: bool
See Annex A.
general_max_10bit_constraint_flag: bool
See Annex A.
general_max_8bit_constraint_flag: bool
See Annex A.
general_max_422chroma_constraint_flag: bool
See Annex A.
general_max_420chroma_constraint_flag: bool
See Annex A.
general_max_monochrome_constraint_flag: bool
See Annex A.
general_intra_constraint_flag: bool
See Annex A.
general_lower_bit_rate_constraint_flag: bool
See Annex A.
general_max_14bit_constraint_flag: bool
See Annex A.
general_one_picture_only_constraint_flag: bool
See Annex A.
general_inbld_flag: bool
When true, specifies that the INBLD capability as specified in Annex F is required for decoding of the layer to which the profile_tier_level( ) syntax structure applies. When false, specifies that the INBLD capability as specified in Annex F is not required for decoding of the layer to which the profile_tier_level( ) syntax structure applies.
general_level_idc: Level
Indicates a level to which the CVS conforms as specified in Annex A.
sub_layer_profile_present_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_level_present_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_profile_space: [u8; 6]
Sub-layer syntax element.
sub_layer_tier_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_profile_idc: [u8; 6]
Sub-layer syntax element.
sub_layer_profile_compatibility_flag: [[bool; 32]; 6]
Sub-layer syntax element.
sub_layer_progressive_source_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_interlaced_source_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_non_packed_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_frame_only_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_12bit_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_10bit_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_8bit_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_422chroma_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_420chroma_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_monochrome_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_intra_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_one_picture_only_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_lower_bit_rate_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_max_14bit_constraint_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_inbld_flag: [bool; 6]
Sub-layer syntax element.
sub_layer_level_idc: [Level; 6]
Sub-layer syntax element.
Implementations§
Source§impl ProfileTierLevel
impl ProfileTierLevel
pub fn max_luma_ps(&self) -> u32
pub fn max_dpb_pic_buf(&self) -> u32
Trait Implementations§
Source§impl Clone for ProfileTierLevel
impl Clone for ProfileTierLevel
Source§fn clone(&self) -> ProfileTierLevel
fn clone(&self) -> ProfileTierLevel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more