pub struct Profile {
pub profile_space: u8,
pub tier_flag: bool,
pub profile_idc: u8,
pub profile_compatibility_flag: ProfileCompatibilityFlags,
pub progressive_source_flag: bool,
pub interlaced_source_flag: bool,
pub non_packed_constraint_flag: bool,
pub frame_only_constraint_flag: bool,
pub additional_flags: ProfileAdditionalFlags,
pub inbld_flag: Option<bool>,
pub level_idc: Option<u8>,
}Expand description
Profile part of the Profile, tier and level structure.
Fields§
§profile_space: u8Decoders shall ignore the CVS when general_profile_space is not equal to 0.
tier_flag: boolSpecifies the tier context for the interpretation of general_level_idc as specified in ISO/IEC 23008-2 - Annex A.
profile_idc: u8When general_profile_space is equal to 0, indicates a profile to which the CVS
conforms as specified in ISO/IEC 23008-2 - Annex A.
profile_compatibility_flag: ProfileCompatibilityFlagsprofile_compatibility_flag[j] equal to true, when general_profile_space is equal to 0, indicates
that the CVS conforms to the profile indicated by general_profile_idc equal to j
as specified in ISO/IEC 23008-2 - Annex A.
progressive_source_flag: bool- If
general_progressive_source_flagis equal totrueandgeneral_interlaced_source_flagis equal tofalse, the source scan type of the pictures in the CVS should be interpreted as progressive only. - Otherwise, if
general_progressive_source_flagis equal tofalseandgeneral_interlaced_source_flagis equal totrue, the source scan type of the pictures in the CVS should be interpreted as interlaced only. - Otherwise, if
general_progressive_source_flagis equal tofalseandgeneral_interlaced_source_flagis equal tofalse, the source scan type of the pictures in the CVS should be interpreted as unknown or unspecified. - Otherwise (
general_progressive_source_flagis equal totrueandgeneral_interlaced_source_flagis equal totrue), the source scan type of each picture in the CVS is indicated at the picture level using the syntax elementsource_scan_typein a picture timing SEI message.
interlaced_source_flag: bool§non_packed_constraint_flag: boolEqual to 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.
Equal to 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.
frame_only_constraint_flag: boolEqual to true specifies that field_seq_flag is equal to 0.
Equal to false indicates that field_seq_flag may or may not be equal to 0.
additional_flags: ProfileAdditionalFlagsAny additional flags that may be present in the profile.
inbld_flag: Option<bool>Equal to true specifies that the INBLD capability as specified in ISO/IEC 23008-2 - Annex F is required for
decoding of the layer to which the profile_tier_level( ) syntax structure applies.
Equal to false specifies that the INBLD capability as specified in ISO/IEC 23008-2 - Annex F is not required for
decoding of the layer to which the profile_tier_level( ) syntax structure applies.
level_idc: Option<u8>Indicates a level to which the CVS conforms as specified in ISO/IEC 23008-2 - Annex A.
Always present for the general profile.