Skip to main content

StdVideoDecodeVP9PictureInfo

Struct StdVideoDecodeVP9PictureInfo 

Source
pub struct StdVideoDecodeVP9PictureInfo<'a> {
Show 18 fields pub flags: StdVideoDecodeVP9PictureInfoFlags, pub profile: StdVideoVP9Profile, pub frame_type: StdVideoVP9FrameType, pub frame_context_idx: u8, pub reset_frame_context: u8, pub refresh_frame_flags: u8, pub ref_frame_sign_bias_mask: u8, pub interpolation_filter: StdVideoVP9InterpolationFilter, pub base_q_idx: u8, pub delta_q_y_dc: i8, pub delta_q_uv_dc: i8, pub delta_q_uv_ac: i8, pub tile_cols_log2: u8, pub tile_rows_log2: u8, pub reserved1: [u16; 3], pub p_color_config: *const StdVideoVP9ColorConfig, pub p_loop_filter: *const StdVideoVP9LoopFilter, pub p_segmentation: *const StdVideoVP9Segmentation, /* private fields */
}
Expand description

Native structure StdVideoDecodeVP9PictureInfo.

Khronos registry source: StdVideoDecodeVP9PictureInfo

Fields§

§flags: StdVideoDecodeVP9PictureInfoFlags

Native field flags.

§profile: StdVideoVP9Profile

Native field profile.

§frame_type: StdVideoVP9FrameType

Native field frame_type.

§frame_context_idx: u8

Native field frame_context_idx.

§reset_frame_context: u8

Native field reset_frame_context.

§refresh_frame_flags: u8

Native field refresh_frame_flags.

§ref_frame_sign_bias_mask: u8

Native field ref_frame_sign_bias_mask.

§interpolation_filter: StdVideoVP9InterpolationFilter

Native field interpolation_filter.

§base_q_idx: u8

Native field base_q_idx.

§delta_q_y_dc: i8

Native field delta_q_y_dc.

§delta_q_uv_dc: i8

Native field delta_q_uv_dc.

§delta_q_uv_ac: i8

Native field delta_q_uv_ac.

§tile_cols_log2: u8

Native field tile_cols_log2.

§tile_rows_log2: u8

Native field tile_rows_log2.

§reserved1: [u16; 3]

Native field reserved1.

§p_color_config: *const StdVideoVP9ColorConfig

Native field pColorConfig.

§p_loop_filter: *const StdVideoVP9LoopFilter

Native field pLoopFilter.

§p_segmentation: *const StdVideoVP9Segmentation

Native field pSegmentation.

Implementations§

Source§

impl<'a> StdVideoDecodeVP9PictureInfo<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field flags without native effects.

Source

pub fn set_profile(self, value: StdVideoVP9Profile) -> Self

Set native field profile without native effects.

Source

pub fn set_frame_type(self, value: StdVideoVP9FrameType) -> Self

Set native field frame_type without native effects.

Source

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

Set native field frame_context_idx without native effects.

Source

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

Set native field reset_frame_context without native effects.

Source

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

Set native field refresh_frame_flags without native effects.

Source

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

Set native field ref_frame_sign_bias_mask without native effects.

Source

pub fn set_interpolation_filter( self, value: StdVideoVP9InterpolationFilter, ) -> Self

Set native field interpolation_filter without native effects.

Source

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

Set native field base_q_idx without native effects.

Source

pub fn set_delta_q_y_dc(self, value: i8) -> Self

Set native field delta_q_y_dc without native effects.

Source

pub fn set_delta_q_uv_dc(self, value: i8) -> Self

Set native field delta_q_uv_dc without native effects.

Source

pub fn set_delta_q_uv_ac(self, value: i8) -> Self

Set native field delta_q_uv_ac without native effects.

Source

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

Set native field tile_cols_log2 without native effects.

Source

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

Set native field tile_rows_log2 without native effects.

Source

pub fn set_reserved1(self, value: [u16; 3]) -> Self

Set native field reserved1 without native effects.

Source

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

Set native field pColorConfig without native effects.

Source

pub fn set_loop_filter(self, value: &'a StdVideoVP9LoopFilter) -> Self

Set native field pLoopFilter without native effects.

Source

pub fn set_segmentation(self, value: &'a StdVideoVP9Segmentation) -> Self

Set native field pSegmentation without native effects.

Trait Implementations§

Source§

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

Source§

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