Struct h264_reader::nal::slice::SliceHeader
source · pub struct SliceHeader {
pub frame_num: u16,
pub field_pic: FieldPic,
pub pic_order_cnt_lsb: Option<PicOrderCountLsb>,
/* private fields */
}Fields§
§frame_num: u16§field_pic: FieldPic§pic_order_cnt_lsb: Option<PicOrderCountLsb>Implementations§
source§impl SliceHeader
impl SliceHeader
pub fn from_bits<'a, R: BitRead>( ctx: &'a Context, r: &mut R, header: NalHeader ) -> Result<(SliceHeader, &'a SeqParameterSet, &'a PicParameterSet), SliceHeaderError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SliceHeader
impl RefUnwindSafe for SliceHeader
impl Send for SliceHeader
impl Sync for SliceHeader
impl Unpin 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