Struct h264_reader::Context
source · pub struct Context { /* private fields */ }
Expand description
Contextual data that needs to be tracked between evaluations of different portions of H264 syntax.
Implementations§
source§impl Context
impl Context
pub fn sps_by_id(&self, id: ParamSetId) -> Option<&SeqParameterSet>
pub fn sps(&self) -> impl Iterator<Item = &SeqParameterSet>
pub fn put_seq_param_set(&mut self, sps: SeqParameterSet)
pub fn pps_by_id(&self, id: ParamSetId) -> Option<&PicParameterSet>
pub fn pps(&self) -> impl Iterator<Item = &PicParameterSet>
pub fn put_pic_param_set(&mut self, pps: PicParameterSet)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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