pub struct Rung {
pub height: u32,
pub min_video_bps: u64,
}Expand description
A rung of the resolution ladder: a standard height and the minimum video bitrate (bits/s) below which that height stops being worthwhile for H.264.
Values are heuristics — TO BE TUNED with real VMAF measurements before release.
Fields§
§height: u32§min_video_bps: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rung
impl RefUnwindSafe for Rung
impl Send for Rung
impl Sync for Rung
impl Unpin for Rung
impl UnsafeUnpin for Rung
impl UnwindSafe for Rung
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