Skip to main content

StdVideoEncodeAV1PictureInfo

Struct StdVideoEncodeAV1PictureInfo 

Source
pub struct StdVideoEncodeAV1PictureInfo<'a> {
Show 27 fields pub flags: StdVideoEncodeAV1PictureInfoFlags, pub frame_type: StdVideoAV1FrameType, pub frame_presentation_time: u32, pub current_frame_id: u32, pub order_hint: u8, pub primary_ref_frame: u8, pub refresh_frame_flags: u8, pub coded_denom: u8, pub render_width_minus_1: u16, pub render_height_minus_1: u16, pub interpolation_filter: StdVideoAV1InterpolationFilter, pub tx_mode: StdVideoAV1TxMode, pub delta_q_res: u8, pub delta_lf_res: u8, pub ref_order_hint: [u8; 8], pub ref_frame_idx: [i8; 7], pub reserved1: [u8; 3], pub delta_frame_id_minus_1: [u32; 7], 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_extension_header: *const StdVideoEncodeAV1ExtensionHeader, pub p_buffer_removal_times: *const u32, /* private fields */
}
Expand description

Native structure StdVideoEncodeAV1PictureInfo.

Khronos registry source: StdVideoEncodeAV1PictureInfo

Fields§

§flags: StdVideoEncodeAV1PictureInfoFlags

Native field flags.

§frame_type: StdVideoAV1FrameType

Native field frame_type.

§frame_presentation_time: u32

Native field frame_presentation_time.

§current_frame_id: u32

Native field current_frame_id.

§order_hint: u8

Native field order_hint.

§primary_ref_frame: u8

Native field primary_ref_frame.

§refresh_frame_flags: u8

Native field refresh_frame_flags.

§coded_denom: u8

Native field coded_denom.

§render_width_minus_1: u16

Native field render_width_minus_1.

§render_height_minus_1: u16

Native field render_height_minus_1.

§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.

§ref_order_hint: [u8; 8]

Native field ref_order_hint.

§ref_frame_idx: [i8; 7]

Native field ref_frame_idx.

§reserved1: [u8; 3]

Native field reserved1.

§delta_frame_id_minus_1: [u32; 7]

Native field delta_frame_id_minus_1.

§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_extension_header: *const StdVideoEncodeAV1ExtensionHeader

Native field pExtensionHeader.

§p_buffer_removal_times: *const u32

Native field pBufferRemovalTimes.

Implementations§

Source§

impl<'a> StdVideoEncodeAV1PictureInfo<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

pub fn set_flags(self, value: StdVideoEncodeAV1PictureInfoFlags) -> 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_frame_presentation_time(self, value: u32) -> Self

Set native field frame_presentation_time 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 order_hint 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_coded_denom(self, value: u8) -> Self

Set native field coded_denom without native effects.

Source

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

Set native field render_width_minus_1 without native effects.

Source

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

Set native field render_height_minus_1 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_ref_order_hint(self, value: [u8; 8]) -> Self

Set native field ref_order_hint without native effects.

Source

pub fn set_ref_frame_idx(self, value: [i8; 7]) -> Self

Set native field ref_frame_idx without native effects.

Source

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

Set native field reserved1 without native effects.

Source

pub fn set_delta_frame_id_minus_1(self, value: [u32; 7]) -> Self

Set native field delta_frame_id_minus_1 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_extension_header( self, value: &'a StdVideoEncodeAV1ExtensionHeader, ) -> Self

Set native field pExtensionHeader without native effects.

Source

pub fn set_buffer_removal_times(self, value: &'a u32) -> Self

Set native field pBufferRemovalTimes without native effects.

Trait Implementations§

Source§

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

Source§

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