pub enum Error {
NotImplemented,
Nal(NalError),
Vps(VpsError),
Sps(SpsError),
Pps(PpsError),
Slice(SliceError),
Hrd(HrdError),
Vui(VuiError),
}Expand description
Crate-local error type for the structural utilities (the NAL
walker and parameter-set parsers surface their own NalError /
VpsError types directly; the decode drivers use
sequence::SequenceError and the registry decoder maps into
oxideav_core::Error).
Variants§
NotImplemented
The requested functionality is not implemented (the encoder,
and the remaining decoder gaps listed in README.md).
Nal(NalError)
A NAL-walker error surfaced through the top-level entry points.
Vps(VpsError)
A VPS-parser error surfaced through the top-level entry points.
Sps(SpsError)
An SPS-parser error surfaced through the top-level entry points.
Pps(PpsError)
A PPS-parser error surfaced through the top-level entry points.
Slice(SliceError)
A slice-segment-header-parser error surfaced through the top-level entry points.
Hrd(HrdError)
An hrd_parameters() parser error surfaced through the
top-level entry points.
Vui(VuiError)
A vui_parameters() parser error surfaced through the
top-level entry points.
Trait Implementations§
impl Copy for Error
impl Eq for Error
Source§impl Error for Error
impl Error for Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()