pub struct Spatial {
pub radius: u32,
pub luma: f32,
pub chroma: f32,
pub protect: f32,
}Expand description
Spatial NLM part.
Fields§
§radius: u32Search radius (window 2r+1 square), 1..=4.
luma: f32Luma strength, 8-bit code values; 0 skips the luma plane.
chroma: f32Chroma strength; 0 skips the chroma planes.
protect: f32Point protection (luma), as in Temporal::protect.
Implementations§
Trait Implementations§
impl Copy for Spatial
Source§impl<'de> Deserialize<'de> for Spatial
impl<'de> Deserialize<'de> for Spatial
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Spatial, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Spatial, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Spatial
impl Serialize for Spatial
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Spatial
Auto Trait Implementations§
impl Forget for Spatial
impl Freeze for Spatial
impl RefUnwindSafe for Spatial
impl Send for Spatial
impl Sync for Spatial
impl Unpin for Spatial
impl UnsafeUnpin for Spatial
impl UnwindSafe for Spatial
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