#[non_exhaustive]pub enum MotionCompError {
SubPixelNotSupported,
}Expand description
Errors surfaced by the motion-compensation layer.
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.
SubPixelNotSupported
The §18.1-adjusted motion vector has a non-zero fractional part,
so §18.3 sub-pixel interpolation is required. Returned only by the
whole-pixel-only entry points
(predict_inter_mb_whole_pixel /
reconstruct_inter_mb_whole_pixel); the full
predict_inter_mb / reconstruct_inter_mb path handles
sub-pixel vectors directly and never returns this.
Trait Implementations§
Source§impl Clone for MotionCompError
impl Clone for MotionCompError
impl Copy for MotionCompError
Source§impl Debug for MotionCompError
impl Debug for MotionCompError
Source§impl Display for MotionCompError
impl Display for MotionCompError
impl Eq for MotionCompError
Source§impl Error for MotionCompError
impl Error for MotionCompError
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 MotionCompError
impl PartialEq for MotionCompError
impl StructuralPartialEq for MotionCompError
Auto Trait Implementations§
impl Forget for MotionCompError
impl Freeze for MotionCompError
impl Move for MotionCompError
impl RefUnwindSafe for MotionCompError
impl Send for MotionCompError
impl Sync for MotionCompError
impl Unpin for MotionCompError
impl UnsafeUnpin for MotionCompError
impl UnwindSafe for MotionCompError
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