#[non_exhaustive]pub enum ReconstructError {
BPredNotSupported,
MissingSubblockModes,
}Expand description
Errors surfaced by the reconstruction orchestrator.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BPredNotSupported
decode_keyframe_mb_non_bpred was called with
y_mode == IntraYMode::B. The 16×16 orchestrator handles only
the four 16×16 luma modes (DC_PRED / V_PRED / H_PRED /
TM_PRED); B_PRED macroblocks go through
decode_keyframe_mb_bpred instead, which drives the
per-sub-block neighbour-evolution walk §12.3 specifies.
MissingSubblockModes
decode_keyframe_mb_bpred was called for a macroblock whose
subblock_modes record is absent. A B_PRED macroblock always
carries sixteen decoded 4×4 sub-block modes (§11.3); a missing
record means the caller routed a non-B_PRED macroblock here by
mistake.
Trait Implementations§
Source§impl Clone for ReconstructError
impl Clone for ReconstructError
impl Copy for ReconstructError
Source§impl Debug for ReconstructError
impl Debug for ReconstructError
Source§impl Display for ReconstructError
impl Display for ReconstructError
impl Eq for ReconstructError
Source§impl Error for ReconstructError
impl Error for ReconstructError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReconstructError
impl PartialEq for ReconstructError
impl StructuralPartialEq for ReconstructError
Auto Trait Implementations§
impl Forget for ReconstructError
impl Freeze for ReconstructError
impl Move for ReconstructError
impl RefUnwindSafe for ReconstructError
impl Send for ReconstructError
impl Sync for ReconstructError
impl Unpin for ReconstructError
impl UnsafeUnpin for ReconstructError
impl UnwindSafe for ReconstructError
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