pub struct PlaneBlockContext {
pub width: u32,
pub height: u32,
pub x: u32,
pub y: u32,
pub tx_size: TxSize,
pub tx_width: u32,
pub tx_height: u32,
pub subx: bool,
pub suby: bool,
}Expand description
Per-plane block context.
Fields§
§width: u32Width in samples.
height: u32Height in samples.
x: u32X position in samples.
y: u32Y position in samples.
tx_size: TxSizeTransform size.
tx_width: u32Number of transform blocks in width.
tx_height: u32Number of transform blocks in height.
subx: boolSubsampling X.
suby: boolSubsampling Y.
Implementations§
Trait Implementations§
Source§impl Clone for PlaneBlockContext
impl Clone for PlaneBlockContext
Source§fn clone(&self) -> PlaneBlockContext
fn clone(&self) -> PlaneBlockContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlaneBlockContext
impl Debug for PlaneBlockContext
Source§impl Default for PlaneBlockContext
impl Default for PlaneBlockContext
Source§fn default() -> PlaneBlockContext
fn default() -> PlaneBlockContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlaneBlockContext
impl RefUnwindSafe for PlaneBlockContext
impl Send for PlaneBlockContext
impl Sync for PlaneBlockContext
impl Unpin for PlaneBlockContext
impl UnsafeUnpin for PlaneBlockContext
impl UnwindSafe for PlaneBlockContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more