pub struct LoopRestorationParams {
pub lr_unit_shift: u8,
pub lr_uv_shift: u8,
pub frame_restoration_type: [FrameRestorationType; 3],
pub loop_restoration_size: [u16; 3],
pub uses_lr: bool,
pub uses_chroma_lr: bool,
}
Fields§
§lr_unit_shift: u8
Specifies if the luma restoration size should be halved.
lr_uv_shift: u8
Only present for 4:2:0 formats and specifies if the chroma size should be half the luma size.
frame_restoration_type: [FrameRestorationType; 3]
Same as FrameRestorationType in the specification.
loop_restoration_size: [u16; 3]
Same as LoopRestorationSize in the specification.
uses_lr: bool
Same as UsesLr in the specification.
uses_chroma_lr: bool
Same as UsesChromaLr in the specification.
Trait Implementations§
Source§impl Clone for LoopRestorationParams
impl Clone for LoopRestorationParams
Source§fn clone(&self) -> LoopRestorationParams
fn clone(&self) -> LoopRestorationParams
Returns a duplicate of the value. Read more
1.0.0 · 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 LoopRestorationParams
impl Debug for LoopRestorationParams
Source§impl Default for LoopRestorationParams
impl Default for LoopRestorationParams
Source§fn default() -> LoopRestorationParams
fn default() -> LoopRestorationParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for LoopRestorationParams
impl PartialEq for LoopRestorationParams
impl Eq for LoopRestorationParams
impl StructuralPartialEq for LoopRestorationParams
Auto Trait Implementations§
impl Freeze for LoopRestorationParams
impl RefUnwindSafe for LoopRestorationParams
impl Send for LoopRestorationParams
impl Sync for LoopRestorationParams
impl Unpin for LoopRestorationParams
impl UnwindSafe for LoopRestorationParams
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