pub struct YadifConfig {
pub deinterlace_all_frames: Option<bool>,
pub disable_spatial_interlacing: Option<bool>,
pub mode: Option<String>,
pub parity: Option<String>,
}
Expand description
Yet Another Deinterlacing Filter Configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§deinterlace_all_frames: Option<bool>
Deinterlace all frames rather than just the frames identified as interlaced. The default is false
.
disable_spatial_interlacing: Option<bool>
Disable spacial interlacing. The default is false
.
mode: Option<String>
Specifies the deinterlacing mode to adopt. The default is send_frame
. Supported values: - send_frame
: Output one frame for each frame - send_field
: Output one frame for each field
parity: Option<String>
The picture field parity assumed for the input interlaced video. The default is auto
. Supported values: - tff
: Assume the top field is first - bff
: Assume the bottom field is first - auto
: Enable automatic detection of field parity
Trait Implementations§
Source§impl Clone for YadifConfig
impl Clone for YadifConfig
Source§fn clone(&self) -> YadifConfig
fn clone(&self) -> YadifConfig
Returns a copy 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 YadifConfig
impl Debug for YadifConfig
Source§impl Default for YadifConfig
impl Default for YadifConfig
Source§fn default() -> YadifConfig
fn default() -> YadifConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for YadifConfig
impl<'de> Deserialize<'de> for YadifConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for YadifConfig
impl Serialize for YadifConfig
impl Part for YadifConfig
Auto Trait Implementations§
impl Freeze for YadifConfig
impl RefUnwindSafe for YadifConfig
impl Send for YadifConfig
impl Sync for YadifConfig
impl Unpin for YadifConfig
impl UnwindSafe for YadifConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more