Enum h264_reader::nal::sps::SpsError
source · pub enum SpsError {
BitDepthOutOfRange(u32),
RbspReaderError(BitReaderError),
PicOrderCnt(PicOrderCntError),
ScalingMatrix(ScalingMatrixError),
Log2MaxFrameNumMinus4OutOfRange(u32),
BadSeqParamSetId(ParamSetIdError),
FieldValueTooLarge {
name: &'static str,
value: u32,
},
CroppingError(FrameCropping),
CpbCountOutOfRange(u32),
}
Variants§
BitDepthOutOfRange(u32)
Signals that bit_depth_luma_minus8 was greater than the max value, 6
RbspReaderError(BitReaderError)
PicOrderCnt(PicOrderCntError)
ScalingMatrix(ScalingMatrixError)
Log2MaxFrameNumMinus4OutOfRange(u32)
log2_max_frame_num_minus4 must be between 0 and 12
BadSeqParamSetId(ParamSetIdError)
FieldValueTooLarge
A field in the bitstream had a value too large for a subsequent calculation
CroppingError(FrameCropping)
The frame-cropping values are too large vs. the coded picture size,
CpbCountOutOfRange(u32)
The cpb_cnt_minus1
field must be between 0 and 31 inclusive.
Trait Implementations§
source§impl From<BitReaderError> for SpsError
impl From<BitReaderError> for SpsError
source§fn from(e: BitReaderError) -> Self
fn from(e: BitReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SpsError
impl Send for SpsError
impl Sync for SpsError
impl Unpin for SpsError
impl !UnwindSafe for SpsError
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