pub struct SliceHeader {Show 32 fields
pub first_slice_in_pic: bool,
pub no_output_of_prior_pics: bool,
pub pps_id: u32,
pub dependent: bool,
pub segment_address: u32,
pub slice_type: SliceType,
pub pic_output: bool,
pub poc_lsb: u32,
pub st_rps: StRps,
pub lt: Vec<(i32, bool, bool)>,
pub temporal_mvp: bool,
pub sao_luma: bool,
pub sao_chroma: bool,
pub num_ref_idx: [u32; 2],
pub list_entry: [Option<Vec<u32>>; 2],
pub mvd_l1_zero: bool,
pub cabac_init_flag: bool,
pub collocated_from_l0: bool,
pub collocated_ref_idx: u32,
pub weights: Option<PredWeights>,
pub max_merge_cand: u32,
pub qp_delta: i32,
pub cb_qp_offset: i32,
pub cr_qp_offset: i32,
pub cu_chroma_qp_offset: bool,
pub deblocking_disabled: bool,
pub beta_offset: i32,
pub tc_offset: i32,
pub loop_filter_across_slices: bool,
pub data_offset: usize,
pub st_rps_bits: u32,
pub num_entry_points: u32,
}Fields§
§first_slice_in_pic: bool§no_output_of_prior_pics: bool§pps_id: u32§dependent: bool§segment_address: u32§slice_type: SliceType§pic_output: bool§poc_lsb: u32§st_rps: StRps§lt: Vec<(i32, bool, bool)>Long-term entries: (poc value, msb present, used by current).
temporal_mvp: bool§sao_luma: bool§sao_chroma: bool§num_ref_idx: [u32; 2]§list_entry: [Option<Vec<u32>>; 2]§mvd_l1_zero: bool§cabac_init_flag: bool§collocated_from_l0: bool§collocated_ref_idx: u32§weights: Option<PredWeights>§max_merge_cand: u32§qp_delta: i32§cb_qp_offset: i32§cr_qp_offset: i32§cu_chroma_qp_offset: boolcu_chroma_qp_offset_enabled_flag: coding units may pick from the
PPS chroma QP offset list.
deblocking_disabled: bool§beta_offset: i32§tc_offset: i32§loop_filter_across_slices: bool§data_offset: usizeByte offset of slice_segment_data() in the RBSP.
st_rps_bits: u32Bits the slice header spent on its own st_ref_pic_set(); 0 when it
named one of the SPS’s.
num_entry_points: u32num_entry_point_offsets.
Implementations§
Source§impl SliceHeader
impl SliceHeader
Trait Implementations§
Source§impl Clone for SliceHeader
impl Clone for SliceHeader
Auto Trait Implementations§
impl Forget for SliceHeader
impl Freeze for SliceHeader
impl Move for SliceHeader
impl RefUnwindSafe for SliceHeader
impl Send for SliceHeader
impl Sync for SliceHeader
impl Unpin for SliceHeader
impl UnsafeUnpin for SliceHeader
impl UnwindSafe for SliceHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more