pub struct FrameSize {
pub frame_width: u32,
pub frame_height: u32,
pub upscaled_width: u32,
pub superres_denom: u32,
pub use_superres: bool,
pub mi_cols: u32,
pub mi_rows: u32,
}Expand description
Frame size information including superres scaling.
Fields§
§frame_width: u32Frame width in pixels.
frame_height: u32Frame height in pixels.
upscaled_width: u32Superres upscaled width (may differ from frame_width).
superres_denom: u32Superres denominator (8-16, where 8 means no scaling).
use_superres: boolWhether superres is enabled for this frame.
mi_cols: u32Width in 4x4 blocks (mi_cols).
mi_rows: u32Height in 4x4 blocks (mi_rows).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameSize
impl RefUnwindSafe for FrameSize
impl Send for FrameSize
impl Sync for FrameSize
impl Unpin for FrameSize
impl UnsafeUnpin for FrameSize
impl UnwindSafe for FrameSize
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