pub struct Scaling {
pub upscaler: Scaler,
pub downscaler: Scaler,
pub linear: bool,
pub sigmoid: bool,
}Expand description
Scaling behaviour. The default matches swscale (lanczos, gamma light, no sigmoid) so GPU and CPU geometry agree.
Fields§
§upscaler: Scaler§downscaler: Scaler§linear: boolScale in linear light (libplacebo’s default; off in the prototype).
sigmoid: boolSigmoidized upscaling.
Trait Implementations§
impl Copy for Scaling
impl StructuralPartialEq for Scaling
Auto Trait Implementations§
impl Forget for Scaling
impl Freeze for Scaling
impl RefUnwindSafe for Scaling
impl Send for Scaling
impl Sync for Scaling
impl Unpin for Scaling
impl UnsafeUnpin for Scaling
impl UnwindSafe for Scaling
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