pub struct SliceHeader {
pub first_mb_in_slice: u32,
pub slice_type: u32,
pub pps_id: u32,
pub frame_num: u32,
pub field_pic_flag: bool,
pub bottom_field_flag: bool,
pub qp: i32,
}Expand description
Parsed slice header (subset of fields needed for IDR decoding).
Fields§
§first_mb_in_slice: u32§slice_type: u32§pps_id: u32§frame_num: u32§field_pic_flag: boolTrue when this slice is a single field (top or bottom) of an interlaced picture.
bottom_field_flag: boolWhen field_pic_flag is true, indicates this is the bottom field.
qp: i32Trait Implementations§
Source§impl Clone for SliceHeader
impl Clone for SliceHeader
Source§fn clone(&self) -> SliceHeader
fn clone(&self) -> SliceHeader
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 moreAuto Trait Implementations§
impl Freeze 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