[−][src]Struct h264_reader::rbsp::RbspDecoder
Methods
impl<R> RbspDecoder<R> where
R: NalHandler,
[src]
R: NalHandler,
pub fn new(nal_reader: R) -> Self
[src]
pub fn into_handler(self) -> R
[src]
Trait Implementations
impl<R> NalHandler for RbspDecoder<R> where
R: NalHandler,
[src]
R: NalHandler,
type Ctx = R::Ctx
fn start(&mut self, ctx: &mut Context<Self::Ctx>, header: NalHeader)
[src]
fn push(&mut self, ctx: &mut Context<Self::Ctx>, buf: &[u8])
[src]
fn end(&mut self, ctx: &mut Context<Self::Ctx>)
[src]
To be invoked when calling code knows that the end of a sequence of NAL Unit data has been reached.
For example, if the containing data structure demarcates the end of a sequence of NAL
Units explicitly, the parser for that structure should call end_units()
once all data
has been passed to the push()
function.
Auto Trait Implementations
impl<R> RefUnwindSafe for RbspDecoder<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for RbspDecoder<R> where
R: Send,
R: Send,
impl<R> Sync for RbspDecoder<R> where
R: Sync,
R: Sync,
impl<R> Unpin for RbspDecoder<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for RbspDecoder<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,