#[repr(C)]pub struct h265_st_ref_pic_set {Show 14 fields
pub inter_ref_pic_set_prediction_flag: c_int,
pub delta_idx_minus1: u32,
pub delta_rps_sign: c_int,
pub abs_delta_rps_minus1: u32,
pub used_by_curr_pic_flag: [c_int; 16],
pub use_delta_flag: [c_int; 16],
pub num_negative_pics: u32,
pub num_positive_pics: u32,
pub delta_poc_s0_minus1: [u32; 16],
pub used_by_curr_pic_s0_flag: [c_int; 16],
pub delta_poc_s1_minus1: [u32; 16],
pub used_by_curr_pic_s1_flag: [c_int; 16],
pub derived_delta_poc_s0: [i32; 16],
pub derived_delta_poc_s1: [i32; 16],
}Expand description
7.3.7 Short-term reference picture set syntax
Fields§
§inter_ref_pic_set_prediction_flag: c_int§delta_idx_minus1: u32§delta_rps_sign: c_int§abs_delta_rps_minus1: u32§used_by_curr_pic_flag: [c_int; 16]The maximum size of those is obtained by considering the following:
- Equation (7-71): NumDeltaPocs = NumNegativePics + NumPositivePics in section 7.4.8
- Semantics of num_negative_pics and num_positive_pics on page 104
- Semantics of sps_max_dec_pic_buffering_minus1 on page 79
- Derivation of MaxDpbSize on page 263 (Annex A);
use_delta_flag: [c_int; 16]§num_negative_pics: u32§num_positive_pics: u32§delta_poc_s0_minus1: [u32; 16]§used_by_curr_pic_s0_flag: [c_int; 16]§delta_poc_s1_minus1: [u32; 16]§used_by_curr_pic_s1_flag: [c_int; 16]§derived_delta_poc_s0: [i32; 16]Those are not syntax elements but derived values useful for decoding
the subsequent rp sets. Be wary that the derivation process for them
is not the expected derived_delta_poc_s0[i] = derived_delta_poc_s0_minus1[i] + 1. Derivation is explained
in 7.4.8;
derived_delta_poc_s1: [i32; 16]Trait Implementations§
Source§impl Clone for h265_st_ref_pic_set
impl Clone for h265_st_ref_pic_set
Source§fn clone(&self) -> h265_st_ref_pic_set
fn clone(&self) -> h265_st_ref_pic_set
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for h265_st_ref_pic_set
impl Debug for h265_st_ref_pic_set
impl Copy for h265_st_ref_pic_set
Auto Trait Implementations§
impl Freeze for h265_st_ref_pic_set
impl RefUnwindSafe for h265_st_ref_pic_set
impl Send for h265_st_ref_pic_set
impl Sync for h265_st_ref_pic_set
impl Unpin for h265_st_ref_pic_set
impl UnwindSafe for h265_st_ref_pic_set
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more