[][src]Enum gstreamer_video::VideoResamplerMethod

#[non_exhaustive]pub enum VideoResamplerMethod {
    Nearest,
    Linear,
    Cubic,
    Sinc,
    Lanczos,
    // some variants omitted
}

Different subsampling and upsampling methods

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Nearest

Duplicates the samples when upsampling and drops when downsampling

Linear

Uses linear interpolation to reconstruct missing samples and averaging to downsample

Cubic

Uses cubic interpolation

Sinc

Uses sinc interpolation

Lanczos

Uses lanczos interpolation

Trait Implementations

impl Clone for VideoResamplerMethod[src]

impl Copy for VideoResamplerMethod[src]

impl Debug for VideoResamplerMethod[src]

impl Eq for VideoResamplerMethod[src]

impl<'a> FromValue<'a> for VideoResamplerMethod[src]

impl<'a> FromValueOptional<'a> for VideoResamplerMethod[src]

impl Hash for VideoResamplerMethod[src]

impl Ord for VideoResamplerMethod[src]

impl PartialEq<VideoResamplerMethod> for VideoResamplerMethod[src]

impl PartialOrd<VideoResamplerMethod> for VideoResamplerMethod[src]

impl SetValue for VideoResamplerMethod[src]

impl StaticType for VideoResamplerMethod[src]

impl StructuralEq for VideoResamplerMethod[src]

impl StructuralPartialEq for VideoResamplerMethod[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoResamplerMethod

impl Send for VideoResamplerMethod

impl Sync for VideoResamplerMethod

impl Unpin for VideoResamplerMethod

impl UnwindSafe for VideoResamplerMethod

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.