Enum rav1e::prelude::BlockSize[][src]

pub enum BlockSize {
    BLOCK_4X4,
    BLOCK_4X8,
    BLOCK_8X4,
    BLOCK_8X8,
    BLOCK_8X16,
    BLOCK_16X8,
    BLOCK_16X16,
    BLOCK_16X32,
    BLOCK_32X16,
    BLOCK_32X32,
    BLOCK_32X64,
    BLOCK_64X32,
    BLOCK_64X64,
    BLOCK_64X128,
    BLOCK_128X64,
    BLOCK_128X128,
    BLOCK_4X16,
    BLOCK_16X4,
    BLOCK_8X32,
    BLOCK_32X8,
    BLOCK_16X64,
    BLOCK_64X16,
    BLOCK_INVALID,
}

Variants

BLOCK_4X4
BLOCK_4X8
BLOCK_8X4
BLOCK_8X8
BLOCK_8X16
BLOCK_16X8
BLOCK_16X16
BLOCK_16X32
BLOCK_32X16
BLOCK_32X32
BLOCK_32X64
BLOCK_64X32
BLOCK_64X64
BLOCK_64X128
BLOCK_128X64
BLOCK_128X128
BLOCK_4X16
BLOCK_16X4
BLOCK_8X32
BLOCK_32X8
BLOCK_16X64
BLOCK_64X16
BLOCK_INVALID

Implementations

impl BlockSize[src]

pub const BLOCK_SIZES_ALL: usize[src]

pub const BLOCK_SIZES: usize[src]

pub fn from_width_and_height_opt(w: usize, h: usize) -> Option<BlockSize>[src]

pub fn from_width_and_height(w: usize, h: usize) -> BlockSize[src]

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

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

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

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

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

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

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

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

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

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

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

pub fn tx_size(self) -> TxSize[src]

pub fn subsampled_size(self, xdec: usize, ydec: usize) -> BlockSize[src]

Source: Subsampled_Size (AV1 specification section 5.11.38)

pub fn largest_chroma_tx_size(self, xdec: usize, ydec: usize) -> TxSize[src]

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

pub fn is_sub8x8(self, xdec: usize, ydec: usize) -> bool[src]

pub fn sub8x8_offset(self, xdec: usize, ydec: usize) -> (isize, isize)[src]

pub fn subsize(self, partition: PartitionType) -> BlockSize[src]

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

Trait Implementations

impl Clone for BlockSize[src]

impl Copy for BlockSize[src]

impl Debug for BlockSize[src]

impl Display for BlockSize[src]

impl Eq for BlockSize[src]

impl PartialEq<BlockSize> for BlockSize[src]

impl PartialOrd<BlockSize> for BlockSize[src]

impl StructuralEq for BlockSize[src]

impl StructuralPartialEq for BlockSize[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> ToString for T where
    T: Display + ?Sized
[src]

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.