[−][src]Enum rav1e::prelude::BlockSize
Variants
Implementations
impl BlockSize
[src]
pub const BLOCK_SIZES_ALL: usize
[src]
pub const BLOCK_SIZES: usize
[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]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for BlockSize
[src]
impl StructuralPartialEq for BlockSize
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockSize
impl Send for BlockSize
impl Sync for BlockSize
impl Unpin for BlockSize
impl UnwindSafe for BlockSize
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,