pub enum SliceHeaderError {
Show 14 variants RbspError(BitReaderError), InvalidSliceType(u32), InvalidSeqParamSetId(ParamSetIdError), UndefinedPicParamSetId(ParamSetId), UndefinedSeqParamSetId(ParamSetId), ColourPlaneError(ColourPlaneError), InvalidModificationOfPicNumIdc(u32), InvalidMemoryManagementControlOperation(u32), InvalidSliceQpDelta(i32), InvalidSliceQsDelta(i32), InvalidDisableDeblockingFilterIdc(u32), InvalidSliceAlphaC0OffsetDiv2(i32), InvalidNumRefIdx(&'static str, u32), UnsupportedSyntax(&'static str),
}

Variants§

§

RbspError(BitReaderError)

§

InvalidSliceType(u32)

§

InvalidSeqParamSetId(ParamSetIdError)

§

UndefinedPicParamSetId(ParamSetId)

§

UndefinedSeqParamSetId(ParamSetId)

§

ColourPlaneError(ColourPlaneError)

§

InvalidModificationOfPicNumIdc(u32)

§

InvalidMemoryManagementControlOperation(u32)

§

InvalidSliceQpDelta(i32)

§

InvalidSliceQsDelta(i32)

§

InvalidDisableDeblockingFilterIdc(u32)

§

InvalidSliceAlphaC0OffsetDiv2(i32)

slice_alpha_c0_offset_div2 was outside the expected range of -6 to +6

§

InvalidNumRefIdx(&'static str, u32)

num_ref_idx_l0_default_active_minus1 or num_ref_idx_l1_default_active_minus1` is greater than allowed 32.

§

UnsupportedSyntax(&'static str)

The header contained syntax elements that the parser isn’t able to handle yet

Trait Implementations§

source§

impl Debug for SliceHeaderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<BitReaderError> for SliceHeaderError

source§

fn from(e: BitReaderError) -> Self

Converts to this type from the input type.
source§

impl From<ColourPlaneError> for SliceHeaderError

source§

fn from(e: ColourPlaneError) -> Self

Converts to this type from the input type.
source§

impl From<ParamSetIdError> for SliceHeaderError

source§

fn from(e: ParamSetIdError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.