Skip to main content

StdVideoH265ShortTermRefPicSet

Struct StdVideoH265ShortTermRefPicSet 

Source
#[repr(C)]
pub struct StdVideoH265ShortTermRefPicSet {
Show 14 fields pub flags: StdVideoH265ShortTermRefPicSetFlags, pub delta_idx_minus1: u32, pub use_delta_flag: u16, pub abs_delta_rps_minus1: u16, pub used_by_curr_pic_flag: u16, pub used_by_curr_pic_s0_flag: u16, pub used_by_curr_pic_s1_flag: u16, pub reserved1: u16, pub reserved2: u8, pub reserved3: u8, pub num_negative_pics: u8, pub num_positive_pics: u8, pub delta_poc_s0_minus1: [u16; 16], pub delta_poc_s1_minus1: [u16; 16],
}
Expand description

Native structure StdVideoH265ShortTermRefPicSet.

Khronos registry source: StdVideoH265ShortTermRefPicSet

Fields§

§flags: StdVideoH265ShortTermRefPicSetFlags

Native field flags.

§delta_idx_minus1: u32

Native field delta_idx_minus1.

§use_delta_flag: u16

Native field use_delta_flag.

§abs_delta_rps_minus1: u16

Native field abs_delta_rps_minus1.

§used_by_curr_pic_flag: u16

Native field used_by_curr_pic_flag.

§used_by_curr_pic_s0_flag: u16

Native field used_by_curr_pic_s0_flag.

§used_by_curr_pic_s1_flag: u16

Native field used_by_curr_pic_s1_flag.

§reserved1: u16

Native field reserved1.

§reserved2: u8

Native field reserved2.

§reserved3: u8

Native field reserved3.

§num_negative_pics: u8

Native field num_negative_pics.

§num_positive_pics: u8

Native field num_positive_pics.

§delta_poc_s0_minus1: [u16; 16]

Native field delta_poc_s0_minus1.

§delta_poc_s1_minus1: [u16; 16]

Native field delta_poc_s1_minus1.

Implementations§

Source§

impl StdVideoH265ShortTermRefPicSet

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field flags without native effects.

Source

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

Set native field delta_idx_minus1 without native effects.

Source

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

Set native field use_delta_flag without native effects.

Source

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

Set native field abs_delta_rps_minus1 without native effects.

Source

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

Set native field used_by_curr_pic_flag without native effects.

Source

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

Set native field used_by_curr_pic_s0_flag without native effects.

Source

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

Set native field used_by_curr_pic_s1_flag without native effects.

Source

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

Set native field reserved1 without native effects.

Source

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

Set native field reserved2 without native effects.

Source

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

Set native field reserved3 without native effects.

Source

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

Set native field num_negative_pics without native effects.

Source

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

Set native field num_positive_pics without native effects.

Source

pub fn set_delta_poc_s0_minus1(self, value: [u16; 16]) -> Self

Set native field delta_poc_s0_minus1 without native effects.

Source

pub fn set_delta_poc_s1_minus1(self, value: [u16; 16]) -> Self

Set native field delta_poc_s1_minus1 without native effects.

Trait Implementations§

Source§

impl Clone for StdVideoH265ShortTermRefPicSet

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 Copy for StdVideoH265ShortTermRefPicSet

Source§

impl Default for StdVideoH265ShortTermRefPicSet

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.