pub enum IntraMode {
Show 13 variants
DcPred = 0,
VPred = 1,
HPred = 2,
D45Pred = 3,
D135Pred = 4,
D113Pred = 5,
D157Pred = 6,
D203Pred = 7,
D67Pred = 8,
SmoothPred = 9,
SmoothVPred = 10,
SmoothHPred = 11,
PaethPred = 12,
}Expand description
Intra prediction mode.
Variants§
DcPred = 0
DC prediction.
VPred = 1
Vertical prediction.
HPred = 2
Horizontal prediction.
D45Pred = 3
Diagonal down-left prediction.
D135Pred = 4
Diagonal down-right prediction.
D113Pred = 5
Diagonal 113 degrees prediction.
D157Pred = 6
Diagonal 157 degrees prediction.
D203Pred = 7
Diagonal 203 degrees prediction.
D67Pred = 8
Diagonal 67 degrees prediction.
SmoothPred = 9
Smooth prediction.
SmoothVPred = 10
Smooth vertical prediction.
SmoothHPred = 11
Smooth horizontal prediction.
PaethPred = 12
Paeth prediction.
Implementations§
Trait Implementations§
impl Copy for IntraMode
impl Eq for IntraMode
impl StructuralPartialEq for IntraMode
Auto Trait Implementations§
impl Freeze for IntraMode
impl RefUnwindSafe for IntraMode
impl Send for IntraMode
impl Sync for IntraMode
impl Unpin for IntraMode
impl UnsafeUnpin for IntraMode
impl UnwindSafe for IntraMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more