pub struct SliceHeader {Show 25 fields
pub first_mb: u32,
pub slice_type: SliceType,
pub pps_id: u32,
pub frame_num: u32,
pub field_pic: bool,
pub bottom_field: bool,
pub mbaff: bool,
pub idr: bool,
pub nal_ref_idc: u32,
pub poc_lsb: u32,
pub delta_poc_bottom: i32,
pub delta_poc: [i32; 2],
pub redundant_pic_cnt: u32,
pub direct_spatial: bool,
pub num_ref_idx: [u32; 2],
pub list_mods: [Vec<ListMod>; 2],
pub weights: Option<WeightTable>,
pub long_term_reference: bool,
pub mmcos: Option<Vec<Mmco>>,
pub cabac_init_idc: u32,
pub qp: i32,
pub disable_deblocking: u32,
pub alpha_offset: i32,
pub beta_offset: i32,
pub data_bit_offset: usize,
}Fields§
§first_mb: u32§slice_type: SliceType§pps_id: u32§frame_num: u32§field_pic: boolfield_pic_flag / bottom_field_flag.
bottom_field: bool§mbaff: boolMbaffFrameFlag: macroblock-adaptive frame/field coding of a frame.
idr: bool§nal_ref_idc: u32§poc_lsb: u32§delta_poc_bottom: i32§delta_poc: [i32; 2]§redundant_pic_cnt: u32§direct_spatial: bool§num_ref_idx: [u32; 2]§list_mods: [Vec<ListMod>; 2]§weights: Option<WeightTable>§long_term_reference: bool§mmcos: Option<Vec<Mmco>>§cabac_init_idc: u32§qp: i32§disable_deblocking: u32§alpha_offset: i32§beta_offset: i32§data_bit_offset: usizeBit offset of slice_data() in the RBSP.
Implementations§
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