Enum h264_reader::nal::slice::SliceHeaderError
source · 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
impl Debug for SliceHeaderError
source§impl From<BitReaderError> for SliceHeaderError
impl From<BitReaderError> for SliceHeaderError
source§fn from(e: BitReaderError) -> Self
fn from(e: BitReaderError) -> Self
Converts to this type from the input type.
source§impl From<ColourPlaneError> for SliceHeaderError
impl From<ColourPlaneError> for SliceHeaderError
source§fn from(e: ColourPlaneError) -> Self
fn from(e: ColourPlaneError) -> Self
Converts to this type from the input type.
source§impl From<ParamSetIdError> for SliceHeaderError
impl From<ParamSetIdError> for SliceHeaderError
source§fn from(e: ParamSetIdError) -> Self
fn from(e: ParamSetIdError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SliceHeaderError
impl Send for SliceHeaderError
impl Sync for SliceHeaderError
impl Unpin for SliceHeaderError
impl !UnwindSafe for SliceHeaderError
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