Skip to main content

StdVideoAV1SequenceHeader

Struct StdVideoAV1SequenceHeader 

Source
pub struct StdVideoAV1SequenceHeader<'a> {
Show 14 fields pub flags: StdVideoAV1SequenceHeaderFlags, pub seq_profile: StdVideoAV1Profile, 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 delta_frame_id_length_minus_2: u8, pub additional_frame_id_length_minus_1: u8, pub order_hint_bits_minus_1: u8, pub seq_force_integer_mv: u8, pub seq_force_screen_content_tools: u8, pub reserved1: [u8; 5], pub p_color_config: *const StdVideoAV1ColorConfig, pub p_timing_info: *const StdVideoAV1TimingInfo, /* private fields */
}
Expand description

Native structure StdVideoAV1SequenceHeader.

Khronos registry source: StdVideoAV1SequenceHeader

Fields§

§flags: StdVideoAV1SequenceHeaderFlags

Native field flags.

§seq_profile: StdVideoAV1Profile

Native field seq_profile.

§frame_width_bits_minus_1: u8

Native field frame_width_bits_minus_1.

§frame_height_bits_minus_1: u8

Native field frame_height_bits_minus_1.

§max_frame_width_minus_1: u16

Native field max_frame_width_minus_1.

§max_frame_height_minus_1: u16

Native field max_frame_height_minus_1.

§delta_frame_id_length_minus_2: u8

Native field delta_frame_id_length_minus_2.

§additional_frame_id_length_minus_1: u8

Native field additional_frame_id_length_minus_1.

§order_hint_bits_minus_1: u8

Native field order_hint_bits_minus_1.

§seq_force_integer_mv: u8

Native field seq_force_integer_mv.

§seq_force_screen_content_tools: u8

Native field seq_force_screen_content_tools.

§reserved1: [u8; 5]

Native field reserved1.

§p_color_config: *const StdVideoAV1ColorConfig

Native field pColorConfig.

§p_timing_info: *const StdVideoAV1TimingInfo

Native field pTimingInfo.

Implementations§

Source§

impl<'a> StdVideoAV1SequenceHeader<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

pub fn set_flags(self, value: StdVideoAV1SequenceHeaderFlags) -> Self

Set native field flags without native effects.

Source

pub fn set_seq_profile(self, value: StdVideoAV1Profile) -> Self

Set native field seq_profile without native effects.

Source

pub fn set_frame_width_bits_minus_1(self, value: u8) -> Self

Set native field frame_width_bits_minus_1 without native effects.

Source

pub fn set_frame_height_bits_minus_1(self, value: u8) -> Self

Set native field frame_height_bits_minus_1 without native effects.

Source

pub fn set_max_frame_width_minus_1(self, value: u16) -> Self

Set native field max_frame_width_minus_1 without native effects.

Source

pub fn set_max_frame_height_minus_1(self, value: u16) -> Self

Set native field max_frame_height_minus_1 without native effects.

Source

pub fn set_delta_frame_id_length_minus_2(self, value: u8) -> Self

Set native field delta_frame_id_length_minus_2 without native effects.

Source

pub fn set_additional_frame_id_length_minus_1(self, value: u8) -> Self

Set native field additional_frame_id_length_minus_1 without native effects.

Source

pub fn set_order_hint_bits_minus_1(self, value: u8) -> Self

Set native field order_hint_bits_minus_1 without native effects.

Source

pub fn set_seq_force_integer_mv(self, value: u8) -> Self

Set native field seq_force_integer_mv without native effects.

Source

pub fn set_seq_force_screen_content_tools(self, value: u8) -> Self

Set native field seq_force_screen_content_tools without native effects.

Source

pub fn set_reserved1(self, value: [u8; 5]) -> Self

Set native field reserved1 without native effects.

Source

pub fn set_color_config(self, value: &'a StdVideoAV1ColorConfig) -> Self

Set native field pColorConfig without native effects.

Source

pub fn set_timing_info(self, value: &'a StdVideoAV1TimingInfo) -> Self

Set native field pTimingInfo without native effects.

Trait Implementations§

Source§

impl<'a> Clone for StdVideoAV1SequenceHeader<'a>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'a> Copy for StdVideoAV1SequenceHeader<'a>

Source§

impl<'a> Default for StdVideoAV1SequenceHeader<'a>

Source§

fn default() -> Self

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

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.