pub enum SubBlockMode {
Dc,
TrueMotion,
Vertical,
Horizontal,
LeftDown,
RightDown,
VerticalRight,
VerticalLeft,
HorizontalDown,
HorizontalUp,
}Expand description
Luma 4×4 subblock prediction mode, used when the macroblock mode is LumaMode::BPred
(RFC 6386 §11.2, §12.3). Ten directional / averaging modes.
Variants§
Dc
DC (average) prediction.
TrueMotion
TrueMotion prediction.
Vertical
Vertical prediction.
Horizontal
Horizontal prediction.
LeftDown
Down-left diagonal prediction.
RightDown
Down-right diagonal prediction.
VerticalRight
Vertical-right diagonal prediction.
VerticalLeft
Vertical-left diagonal prediction.
HorizontalDown
Horizontal-down diagonal prediction.
HorizontalUp
Horizontal-up diagonal prediction.
Trait Implementations§
Source§impl Clone for SubBlockMode
impl Clone for SubBlockMode
Source§fn clone(&self) -> SubBlockMode
fn clone(&self) -> SubBlockMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubBlockMode
Source§impl Debug for SubBlockMode
impl Debug for SubBlockMode
impl Eq for SubBlockMode
Source§impl PartialEq for SubBlockMode
impl PartialEq for SubBlockMode
Source§fn eq(&self, other: &SubBlockMode) -> bool
fn eq(&self, other: &SubBlockMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubBlockMode
Auto Trait Implementations§
impl Freeze for SubBlockMode
impl RefUnwindSafe for SubBlockMode
impl Send for SubBlockMode
impl Sync for SubBlockMode
impl Unpin for SubBlockMode
impl UnsafeUnpin for SubBlockMode
impl UnwindSafe for SubBlockMode
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