Skip to main content

StdVideoH264SequenceParameterSetVui

Struct StdVideoH264SequenceParameterSetVui 

Source
pub struct StdVideoH264SequenceParameterSetVui<'a> {
Show 16 fields pub flags: StdVideoH264SpsVuiFlags, pub aspect_ratio_idc: StdVideoH264AspectRatioIdc, pub sar_width: u16, pub sar_height: u16, pub video_format: u8, pub colour_primaries: u8, pub transfer_characteristics: u8, pub matrix_coefficients: u8, pub num_units_in_tick: u32, pub time_scale: u32, pub max_num_reorder_frames: u8, pub max_dec_frame_buffering: u8, pub chroma_sample_loc_type_top_field: u8, pub chroma_sample_loc_type_bottom_field: u8, pub reserved1: u32, pub p_hrd_parameters: *const StdVideoH264HrdParameters, /* private fields */
}
Expand description

Native structure StdVideoH264SequenceParameterSetVui.

Khronos registry source: StdVideoH264SequenceParameterSetVui

Fields§

§flags: StdVideoH264SpsVuiFlags

Native field flags.

§aspect_ratio_idc: StdVideoH264AspectRatioIdc

Native field aspect_ratio_idc.

§sar_width: u16

Native field sar_width.

§sar_height: u16

Native field sar_height.

§video_format: u8

Native field video_format.

§colour_primaries: u8

Native field colour_primaries.

§transfer_characteristics: u8

Native field transfer_characteristics.

§matrix_coefficients: u8

Native field matrix_coefficients.

§num_units_in_tick: u32

Native field num_units_in_tick.

§time_scale: u32

Native field time_scale.

§max_num_reorder_frames: u8

Native field max_num_reorder_frames.

§max_dec_frame_buffering: u8

Native field max_dec_frame_buffering.

§chroma_sample_loc_type_top_field: u8

Native field chroma_sample_loc_type_top_field.

§chroma_sample_loc_type_bottom_field: u8

Native field chroma_sample_loc_type_bottom_field.

§reserved1: u32

Native field reserved1.

§p_hrd_parameters: *const StdVideoH264HrdParameters

Native field pHrdParameters.

Implementations§

Source§

impl<'a> StdVideoH264SequenceParameterSetVui<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field flags without native effects.

Source

pub fn set_aspect_ratio_idc(self, value: StdVideoH264AspectRatioIdc) -> Self

Set native field aspect_ratio_idc without native effects.

Source

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

Set native field sar_width without native effects.

Source

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

Set native field sar_height without native effects.

Source

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

Set native field video_format without native effects.

Source

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

Set native field colour_primaries without native effects.

Source

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

Set native field transfer_characteristics without native effects.

Source

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

Set native field matrix_coefficients without native effects.

Source

pub fn set_num_units_in_tick(self, value: u32) -> Self

Set native field num_units_in_tick without native effects.

Source

pub fn set_time_scale(self, value: u32) -> Self

Set native field time_scale without native effects.

Source

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

Set native field max_num_reorder_frames without native effects.

Source

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

Set native field max_dec_frame_buffering without native effects.

Source

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

Set native field chroma_sample_loc_type_top_field without native effects.

Source

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

Set native field chroma_sample_loc_type_bottom_field without native effects.

Source

pub fn set_reserved1(self, value: u32) -> Self

Set native field reserved1 without native effects.

Source

pub fn set_hrd_parameters(self, value: &'a StdVideoH264HrdParameters) -> Self

Set native field pHrdParameters without native effects.

Trait Implementations§

Source§

impl<'a> Clone for StdVideoH264SequenceParameterSetVui<'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 StdVideoH264SequenceParameterSetVui<'a>

Source§

impl<'a> Default for StdVideoH264SequenceParameterSetVui<'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.