Struct ProfileTierLevel

Source
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§

Trait Implementations§

Source§

impl Clone for ProfileTierLevel

Source§

fn clone(&self) -> ProfileTierLevel

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ProfileTierLevel

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ProfileTierLevel

Source§

fn default() -> ProfileTierLevel

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ProfileTierLevel

Source§

fn eq(&self, other: &ProfileTierLevel) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for ProfileTierLevel

Source§

impl StructuralPartialEq for ProfileTierLevel

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.