Struct SequenceHeaderObu

Source
pub struct SequenceHeaderObu {
Show 41 fields pub obu_header: ObuHeader, pub seq_profile: Profile, pub still_picture: bool, pub reduced_still_picture_header: bool, pub frame_width_bits_minus_1: u8, pub frame_height_bits_minus_1: u8, pub max_frame_width_minus_1: u16, pub max_frame_height_minus_1: u16, pub frame_id_numbers_present_flag: bool, pub delta_frame_id_length_minus_2: u32, pub additional_frame_id_length_minus_1: u32, pub use_128x128_superblock: bool, pub enable_filter_intra: bool, pub enable_intra_edge_filter: bool, pub enable_interintra_compound: bool, pub enable_masked_compound: bool, pub enable_warped_motion: bool, pub enable_order_hint: bool, pub enable_dual_filter: bool, pub enable_jnt_comp: bool, pub enable_ref_frame_mvs: bool, pub seq_choose_screen_content_tools: bool, pub seq_force_screen_content_tools: u32, pub seq_choose_integer_mv: bool, pub seq_force_integer_mv: u32, pub order_hint_bits_minus_1: i32, pub order_hint_bits: i32, pub enable_superres: bool, pub enable_cdef: bool, pub enable_restoration: bool, pub film_grain_params_present: bool, pub operating_points_cnt_minus_1: u32, pub operating_points: [OperatingPoint; 32], pub decoder_model_info_present_flag: bool, pub decoder_model_info: DecoderModelInfo, pub initial_display_delay_present_flag: bool, pub timing_info_present_flag: bool, pub timing_info: TimingInfo, pub color_config: ColorConfig, pub bit_depth: BitDepth, pub num_planes: u32,
}

Fields§

§obu_header: ObuHeader

The OBU header from the OBU that generated this sequence.

§seq_profile: Profile

Specifies the features that can be used in the coded video sequence.

§still_picture: bool

If set, specifies that the coded video sequence contains only one coded frame. If not set, specifies that the coded video sequence contains one or more coded frames.

§reduced_still_picture_header: bool

Specifies that the syntax elements not needed by a still picture are omitted.

§frame_width_bits_minus_1: u8

Specifies the number of bits minus 1 used for transmitting the frame width syntax elements.

§frame_height_bits_minus_1: u8

Specifies the number of bits minus 1 used for transmitting the frame height syntax elements.

§max_frame_width_minus_1: u16

Specifies the maximum frame width minus 1 for the frames represented by this sequence header.

§max_frame_height_minus_1: u16

Specifies the maximum frame height minus 1 for the frames represented by this sequence header.

§frame_id_numbers_present_flag: bool

Specifies whether frame id numbers are present in the coded video sequence.

§delta_frame_id_length_minus_2: u32

Specifies the number of bits minus 2 used to encode delta_frame_id syntax elements.

§additional_frame_id_length_minus_1: u32

Used to calculate the number of bits used to encode the frame_id syntax element.

§use_128x128_superblock: bool

When set, indicates that superblocks contain 128x128 luma samples. When not set, it indicates that superblocks contain 64x64 luma samples. (The number of contained chroma samples depends on subsampling_x and subsampling_y.)

§enable_filter_intra: bool

When set, specifies that the use_filter_intra syntax element may be present. When not set, specifies that the use_filter_intra syntax element will not be present.

§enable_intra_edge_filter: bool

Specifies whether the intra edge filtering process should be enabled.

§enable_interintra_compound: bool

When set, specifies that the mode info for inter blocks may contain the syntax element interintra. If not set, specifies that the syntax element interintra will not be present.

§enable_masked_compound: bool

When set, specifies that the mode info for inter blocks may contain the syntax element compound_type. When not set, specifies that the syntax element compound_type will not be present.

§enable_warped_motion: bool

When set, indicates that the allow_warped_motion syntax element may be present. When not set, indicates that the allow_warped_motion syntax element will not be present.

§enable_order_hint: bool

When set, indicates that tools based on the values of order hints may be used. When not set, indicates that tools based on order hints are disabled.

§enable_dual_filter: bool

When set, indicates that the inter prediction filter type may be specified independently in the horizontal and vertical directions. If the flag is not set, only one filter type may be specified, which is then used in both directions.

§enable_jnt_comp: bool

If set, indicates that the distance weights process may be used for inter prediction.

§enable_ref_frame_mvs: bool

If set, indicates that the use_ref_frame_mvs syntax element may be present. If not set, indicates that the use_ref_frame_mvs syntax element will not be present.

§seq_choose_screen_content_tools: bool

If not set, indicates that the seq_force_screen_content_tools syntax element will be present. If set, indicates that seq_force_screen_content_tools should be set equal to SELECT_SCREEN_CONTENT_TOOLS.

§seq_force_screen_content_tools: u32

Equal to SELECT_SCREEN_CONTENT_TOOLS indicates that the allow_screen_content_tools syntax element will be present in the frame header. Otherwise, seq_force_screen_content_tools contains the value for allow_screen_content_tools.

§seq_choose_integer_mv: bool

If not set, indicates that the seq_force_integer_mv syntax element will be present. If set, indicates that seq_force_integer_mv should be set equal to SELECT_INTEGER_MV.

§seq_force_integer_mv: u32

Equal to SELECT_INTEGER_MV indicates that the force_integer_mv syntax element will be present in the frame header (providing allow_screen_content_tools is equal to 1). Otherwise, seq_force_integer_mv contains the value for force_integer_mv.

§order_hint_bits_minus_1: i32

Used to compute OrderHintBits.

§order_hint_bits: i32

Specifies the number of bits used for the order_hint syntax element.

§enable_superres: bool

If set, specifies that the use_superres syntax element will be present in the uncompressed header. If not set, specifies that the use_superres syntax element will not be present (instead use_superres will be set to 0 in the uncompressed header without being read).

§enable_cdef: bool

If set, specifies that cdef filtering may be enabled. If not set, specifies that cdef filtering is disabled.

§enable_restoration: bool

If set, specifies that loop restoration filtering may be enabled. If not set, specifies that loop restoration filtering is disabled.

§film_grain_params_present: bool

Specifies whether film grain parameters are present in the coded video sequence.

§operating_points_cnt_minus_1: u32

Indicates the number of operating points minus 1 present in the coded video sequence. An operating point specifies which spatial and temporal layers should be decoded.

§operating_points: [OperatingPoint; 32]

The set of operating points.

§decoder_model_info_present_flag: bool

Specifies whether decoder model information is present in the coded video sequence.

§decoder_model_info: DecoderModelInfo

The decoder model info.

§initial_display_delay_present_flag: bool

Specifies whether initial display delay information is present in the coded video sequence.

§timing_info_present_flag: bool

Specifies whether timing info is present in the coded video sequence.

§timing_info: TimingInfo

The timing info.

§color_config: ColorConfig

The color config.

§bit_depth: BitDepth§num_planes: u32

Trait Implementations§

Source§

impl Clone for SequenceHeaderObu

Source§

fn clone(&self) -> SequenceHeaderObu

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 SequenceHeaderObu

Source§

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

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

impl Default for SequenceHeaderObu

Source§

fn default() -> SequenceHeaderObu

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

impl PartialEq for SequenceHeaderObu

Source§

fn eq(&self, other: &SequenceHeaderObu) -> 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 SequenceHeaderObu

Source§

impl StructuralPartialEq for SequenceHeaderObu

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.