[−][src]Struct h264_reader::avcc::AvcDecoderConfigurationRecord
Methods
impl<'buf> AvcDecoderConfigurationRecord<'buf>[src]
pub fn configuration_version(&self) -> u8[src]
pub fn num_of_sequence_parameter_sets(&self) -> usize[src]
pub fn avc_profile_indication(&self) -> ProfileIdc[src]
pub fn profile_compatibility(&self) -> ConstraintFlags[src]
pub fn avc_level_indication(&self) -> Level[src]
pub fn length_size_minus_one(&self) -> u8[src]
Number of bytes used to specify the length of each NAL unit 0 => 1 byte, 1 => 2 bytes, 2 => 3 bytes, 3 => 4 bytes
pub fn sequence_parameter_sets(
&self
) -> impl Iterator<Item = Result<&'buf [u8], ParamSetError>>[src]
&self
) -> impl Iterator<Item = Result<&'buf [u8], ParamSetError>>
pub fn picture_parameter_sets(
&self
) -> impl Iterator<Item = Result<&'buf [u8], ParamSetError>> + 'buf[src]
&self
) -> impl Iterator<Item = Result<&'buf [u8], ParamSetError>> + 'buf
pub fn create_context<C>(&self, ctx: C) -> Result<Context<C>, AvccError>[src]
Creates an H264 parser context from the given user context, using the settings encoded into
this AvcDecoderConfigurationRecord.
In particular, the sequence parameter set and picture parameter set values of this configuration record will be inserted into the resulting context.
Trait Implementations
Auto Trait Implementations
impl<'buf> RefUnwindSafe for AvcDecoderConfigurationRecord<'buf>
impl<'buf> Send for AvcDecoderConfigurationRecord<'buf>
impl<'buf> Sync for AvcDecoderConfigurationRecord<'buf>
impl<'buf> Unpin for AvcDecoderConfigurationRecord<'buf>
impl<'buf> UnwindSafe for AvcDecoderConfigurationRecord<'buf>
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>,