#[non_exhaustive]pub struct BwdifConfig {
pub mode: String,
pub parity: String,
pub deinterlace_all_frames: bool,
/* private fields */
}
Expand description
Bob Weaver Deinterlacing Filter Configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mode: String
Specifies the deinterlacing mode to adopt.
The default is send_frame
.
Supported values:
send_frame
: Output one frame for each framesend_field
: Output one frame for each field
parity: String
The picture field parity assumed for the input interlaced video.
The default is auto
.
Supported values:
tff
: Assume the top field is firstbff
: Assume the bottom field is firstauto
: Enable automatic detection of field parity
deinterlace_all_frames: bool
Deinterlace all frames rather than just the frames identified as
interlaced. The default is false
.
Implementations§
Source§impl BwdifConfig
impl BwdifConfig
pub fn new() -> Self
Sourcepub fn set_parity<T: Into<String>>(self, v: T) -> Self
pub fn set_parity<T: Into<String>>(self, v: T) -> Self
Sets the value of parity.
Sourcepub fn set_deinterlace_all_frames<T: Into<bool>>(self, v: T) -> Self
pub fn set_deinterlace_all_frames<T: Into<bool>>(self, v: T) -> Self
Sets the value of deinterlace_all_frames.
Trait Implementations§
Source§impl Clone for BwdifConfig
impl Clone for BwdifConfig
Source§fn clone(&self) -> BwdifConfig
fn clone(&self) -> BwdifConfig
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 BwdifConfig
impl Debug for BwdifConfig
Source§impl Default for BwdifConfig
impl Default for BwdifConfig
Source§fn default() -> BwdifConfig
fn default() -> BwdifConfig
Returns the “default value” for a type. Read more
Source§impl Message for BwdifConfig
impl Message for BwdifConfig
Source§impl PartialEq for BwdifConfig
impl PartialEq for BwdifConfig
impl StructuralPartialEq for BwdifConfig
Auto Trait Implementations§
impl Freeze for BwdifConfig
impl RefUnwindSafe for BwdifConfig
impl Send for BwdifConfig
impl Sync for BwdifConfig
impl Unpin for BwdifConfig
impl UnwindSafe for BwdifConfig
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