Enum rav1e::prelude::PredictionMode[][src]

pub enum PredictionMode {
    DC_PRED,
    V_PRED,
    H_PRED,
    D45_PRED,
    D135_PRED,
    D113_PRED,
    D157_PRED,
    D203_PRED,
    D67_PRED,
    SMOOTH_PRED,
    SMOOTH_V_PRED,
    SMOOTH_H_PRED,
    PAETH_PRED,
    UV_CFL_PRED,
    NEARESTMV,
    NEAR0MV,
    NEAR1MV,
    NEAR2MV,
    GLOBALMV,
    NEWMV,
    NEAREST_NEARESTMV,
    NEAR_NEAR0MV,
    NEAR_NEAR1MV,
    NEAR_NEAR2MV,
    NEAREST_NEWMV,
    NEW_NEARESTMV,
    NEAR_NEW0MV,
    NEAR_NEW1MV,
    NEAR_NEW2MV,
    NEW_NEAR0MV,
    NEW_NEAR1MV,
    NEW_NEAR2MV,
    GLOBAL_GLOBALMV,
    NEW_NEWMV,
}

Variants

DC_PRED
V_PRED
H_PRED
D45_PRED
D135_PRED
D113_PRED
D157_PRED
D203_PRED
D67_PRED
SMOOTH_PRED
SMOOTH_V_PRED
SMOOTH_H_PRED
PAETH_PRED
UV_CFL_PRED
NEARESTMV
NEAR0MV
NEAR1MV
NEAR2MV
GLOBALMV
NEWMV
NEAREST_NEARESTMV
NEAR_NEAR0MV
NEAR_NEAR1MV
NEAR_NEAR2MV
NEAREST_NEWMV
NEW_NEARESTMV
NEAR_NEW0MV
NEAR_NEW1MV
NEAR_NEW2MV
NEW_NEAR0MV
NEW_NEAR1MV
NEW_NEAR2MV
GLOBAL_GLOBALMV
NEW_NEWMV

Implementations

impl PredictionMode[src]

pub fn is_compound(self) -> bool[src]

pub fn has_nearmv(self) -> bool[src]

pub fn has_newmv(self) -> bool[src]

pub fn ref_mv_idx(self) -> usize[src]

pub fn predict_intra<T: Pixel>(
    self,
    tile_rect: TileRect,
    dst: &mut PlaneRegionMut<'_, T>,
    tx_size: TxSize,
    bit_depth: usize,
    ac: &[i16],
    intra_param: IntraParam,
    ief_params: Option<IntraEdgeFilterParameters>,
    edge_buf: &Aligned<[T; 257]>,
    cpu: CpuFeatureLevel
)
[src]

pub fn is_intra(self) -> bool[src]

pub fn is_cfl(self) -> bool[src]

pub fn is_directional(self) -> bool[src]

pub fn angle_delta_count(self) -> i8[src]

pub fn predict_inter_single<T: Pixel>(
    self,
    fi: &FrameInvariants<T>,
    tile_rect: TileRect,
    p: usize,
    po: PlaneOffset,
    dst: &mut PlaneRegionMut<'_, T>,
    width: usize,
    height: usize,
    ref_frame: RefType,
    mv: MotionVector
)
[src]

Inter prediction with a single reference (i.e. not compound mode)

pub fn predict_inter_compound<T: Pixel>(
    self,
    fi: &FrameInvariants<T>,
    tile_rect: TileRect,
    p: usize,
    po: PlaneOffset,
    dst: &mut PlaneRegionMut<'_, T>,
    width: usize,
    height: usize,
    ref_frames: [RefType; 2],
    mvs: [MotionVector; 2],
    buffer: &mut InterCompoundBuffers
)
[src]

Inter prediction with two references.

pub fn predict_inter<T: Pixel>(
    self,
    fi: &FrameInvariants<T>,
    tile_rect: TileRect,
    p: usize,
    po: PlaneOffset,
    dst: &mut PlaneRegionMut<'_, T>,
    width: usize,
    height: usize,
    ref_frames: [RefType; 2],
    mvs: [MotionVector; 2],
    compound_buffer: &mut InterCompoundBuffers
)
[src]

Inter prediction that determines whether compound mode is being used based on the second [‘RefType’] in [‘ref_frames’].

Trait Implementations

impl Clone for PredictionMode[src]

impl Copy for PredictionMode[src]

impl Debug for PredictionMode[src]

impl Default for PredictionMode[src]

impl Eq for PredictionMode[src]

impl Ord for PredictionMode[src]

impl PartialEq<PredictionMode> for PredictionMode[src]

impl PartialOrd<PredictionMode> for PredictionMode[src]

impl StructuralEq for PredictionMode[src]

impl StructuralPartialEq for PredictionMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.