Skip to main content

StdVideoDecodeAV1PictureInfo

Struct StdVideoDecodeAV1PictureInfo 

Source
pub struct StdVideoDecodeAV1PictureInfo<'a> {
Show 24 fields pub flags: StdVideoDecodeAV1PictureInfoFlags, pub frame_type: StdVideoAV1FrameType, pub current_frame_id: u32, pub order_hint: u8, pub primary_ref_frame: u8, pub refresh_frame_flags: u8, pub reserved1: u8, pub interpolation_filter: StdVideoAV1InterpolationFilter, pub tx_mode: StdVideoAV1TxMode, pub delta_q_res: u8, pub delta_lf_res: u8, pub skip_mode_frame: [u8; 2], pub coded_denom: u8, pub reserved2: [u8; 3], pub order_hints: [u8; 8], pub expected_frame_id: [u32; 8], pub p_tile_info: *const StdVideoAV1TileInfo<'a>, pub p_quantization: *const StdVideoAV1Quantization, pub p_segmentation: *const StdVideoAV1Segmentation, pub p_loop_filter: *const StdVideoAV1LoopFilter, pub p_cdef: *const StdVideoAV1CDEF, pub p_loop_restoration: *const StdVideoAV1LoopRestoration, pub p_global_motion: *const StdVideoAV1GlobalMotion, pub p_film_grain: *const StdVideoAV1FilmGrain, /* private fields */
}
Expand description

Native structure StdVideoDecodeAV1PictureInfo.

Khronos registry source: StdVideoDecodeAV1PictureInfo

Fields§

§flags: StdVideoDecodeAV1PictureInfoFlags

Native field flags.

§frame_type: StdVideoAV1FrameType

Native field frame_type.

§current_frame_id: u32

Native field current_frame_id.

§order_hint: u8

Native field OrderHint.

§primary_ref_frame: u8

Native field primary_ref_frame.

§refresh_frame_flags: u8

Native field refresh_frame_flags.

§reserved1: u8

Native field reserved1.

§interpolation_filter: StdVideoAV1InterpolationFilter

Native field interpolation_filter.

§tx_mode: StdVideoAV1TxMode

Native field TxMode.

§delta_q_res: u8

Native field delta_q_res.

§delta_lf_res: u8

Native field delta_lf_res.

§skip_mode_frame: [u8; 2]

Native field SkipModeFrame.

§coded_denom: u8

Native field coded_denom.

§reserved2: [u8; 3]

Native field reserved2.

§order_hints: [u8; 8]

Native field OrderHints.

§expected_frame_id: [u32; 8]

Native field expectedFrameId.

§p_tile_info: *const StdVideoAV1TileInfo<'a>

Native field pTileInfo.

§p_quantization: *const StdVideoAV1Quantization

Native field pQuantization.

§p_segmentation: *const StdVideoAV1Segmentation

Native field pSegmentation.

§p_loop_filter: *const StdVideoAV1LoopFilter

Native field pLoopFilter.

§p_cdef: *const StdVideoAV1CDEF

Native field pCDEF.

§p_loop_restoration: *const StdVideoAV1LoopRestoration

Native field pLoopRestoration.

§p_global_motion: *const StdVideoAV1GlobalMotion

Native field pGlobalMotion.

§p_film_grain: *const StdVideoAV1FilmGrain

Native field pFilmGrain.

Implementations§

Source§

impl<'a> StdVideoDecodeAV1PictureInfo<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field flags without native effects.

Source

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

Set native field frame_type without native effects.

Source

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

Set native field current_frame_id without native effects.

Source

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

Set native field OrderHint without native effects.

Source

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

Set native field primary_ref_frame 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_reserved1(self, value: u8) -> Self

Set native field reserved1 without native effects.

Source

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

Set native field interpolation_filter without native effects.

Source

pub fn set_tx_mode(self, value: StdVideoAV1TxMode) -> Self

Set native field TxMode without native effects.

Source

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

Set native field delta_q_res without native effects.

Source

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

Set native field delta_lf_res without native effects.

Source

pub fn set_skip_mode_frame(self, value: [u8; 2]) -> Self

Set native field SkipModeFrame without native effects.

Source

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

Set native field coded_denom without native effects.

Source

pub fn set_reserved2(self, value: [u8; 3]) -> Self

Set native field reserved2 without native effects.

Source

pub fn set_order_hints(self, value: [u8; 8]) -> Self

Set native field OrderHints without native effects.

Source

pub fn set_expected_frame_id(self, value: [u32; 8]) -> Self

Set native field expectedFrameId without native effects.

Source

pub fn set_tile_info(self, value: &'a StdVideoAV1TileInfo<'a>) -> Self

Set native field pTileInfo without native effects.

Source

pub fn set_quantization(self, value: &'a StdVideoAV1Quantization) -> Self

Set native field pQuantization without native effects.

Source

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

Set native field pSegmentation without native effects.

Source

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

Set native field pLoopFilter without native effects.

Source

pub fn set_cdef(self, value: &'a StdVideoAV1CDEF) -> Self

Set native field pCDEF without native effects.

Source

pub fn set_loop_restoration(self, value: &'a StdVideoAV1LoopRestoration) -> Self

Set native field pLoopRestoration without native effects.

Source

pub fn set_global_motion(self, value: &'a StdVideoAV1GlobalMotion) -> Self

Set native field pGlobalMotion without native effects.

Source

pub fn set_film_grain(self, value: &'a StdVideoAV1FilmGrain) -> Self

Set native field pFilmGrain without native effects.

Trait Implementations§

Source§

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

Source§

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