Enum rav1e::prelude::BlockSize [−][src]
Variants
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]
fn eq(&self, other: &BlockSize) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<BlockSize> for BlockSize
[src]
fn partial_cmp(&self, other: &Self) -> 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 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,
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> 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.
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>,