Enum rav1e::prelude::PredictionMode [−][src]
Variants
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]
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
)
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]
self,
fi: &FrameInvariants<T>,
tile_rect: TileRect,
p: usize,
po: PlaneOffset,
dst: &mut PlaneRegionMut<'_, T>,
width: usize,
height: usize,
ref_frame: RefType,
mv: MotionVector
)
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]
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
)
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]
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
)
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]
fn clone(&self) -> PredictionMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn cmp(&self, other: &PredictionMode) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<PredictionMode> for PredictionMode
[src]
fn eq(&self, other: &PredictionMode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<PredictionMode> for PredictionMode
[src]
fn partial_cmp(&self, other: &PredictionMode) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for PredictionMode
[src]
impl StructuralPartialEq for PredictionMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for PredictionMode
[src]
impl Send for PredictionMode
[src]
impl Sync for PredictionMode
[src]
impl Unpin for PredictionMode
[src]
impl UnwindSafe for PredictionMode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,