Struct ShortTermRefPicSet

Source
pub struct ShortTermRefPicSet {
    pub inter_ref_pic_set_prediction_flag: bool,
    pub delta_idx_minus1: u8,
    pub delta_rps_sign: bool,
    pub abs_delta_rps_minus1: u16,
    pub num_negative_pics: u8,
    pub num_positive_pics: u8,
    pub used_by_curr_pic_s0: [bool; 65],
    pub used_by_curr_pic_s1: [bool; 65],
    pub delta_poc_s0: [i32; 65],
    pub delta_poc_s1: [i32; 65],
    pub num_delta_pocs: u32,
}

Fields§

§inter_ref_pic_set_prediction_flag: bool

When set, specifies that the stRpsIdx-th candidate short-term RPS is predicted from another candidate short-term RPS, which is referred to as the source candidate short-term RPS.

§delta_idx_minus1: u8

delta_idx_minus1 plus 1 specifies the difference between the value of stRpsIdx and the index, into the list of the candidate short-term RPSs specified in the SPS, of the source candidate short-term RPS.

§delta_rps_sign: bool

delta_rps_sign and abs_delta_rps_minus1 together specify the value of the variable deltaRps.

§abs_delta_rps_minus1: u16

delta_rps_sign and abs_delta_rps_minus1 together specify the value of the variable deltaRps.

§num_negative_pics: u8

specifies the number of entries in the stRpsIdx-th candidate short-term RPS that have picture order count values less than the picture order count value of the current picture.

§num_positive_pics: u8

specifies the number of entries in the stRpsIdx-th candidate short-term RPS that have picture order count values greater than the picture order count value of the current picture.

§used_by_curr_pic_s0: [bool; 65]

Same as UsedByCurrPicS0 in the specification.

§used_by_curr_pic_s1: [bool; 65]

Same as UsedByCurrPicS1 in the specification.

§delta_poc_s0: [i32; 65]

Same as DeltaPocS0 in the specification.

§delta_poc_s1: [i32; 65]

Same as DeltaPocS1 in the specification.

§num_delta_pocs: u32

Same as NumDeltaPocs in the specification.

Trait Implementations§

Source§

impl Clone for ShortTermRefPicSet

Source§

fn clone(&self) -> ShortTermRefPicSet

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ShortTermRefPicSet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ShortTermRefPicSet

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ShortTermRefPicSet

Source§

fn eq(&self, other: &ShortTermRefPicSet) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for ShortTermRefPicSet

Source§

impl StructuralPartialEq for ShortTermRefPicSet

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 = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.