Struct aws_sdk_mediaconvert::types::builders::DeinterlacerBuilder
source · #[non_exhaustive]pub struct DeinterlacerBuilder { /* private fields */ }
Expand description
A builder for Deinterlacer
.
Implementations§
source§impl DeinterlacerBuilder
impl DeinterlacerBuilder
sourcepub fn algorithm(self, input: DeinterlaceAlgorithm) -> Self
pub fn algorithm(self, input: DeinterlaceAlgorithm) -> Self
Only applies when you set Deinterlace mode to Deinterlace or Adaptive. Interpolate produces sharper pictures, while blend produces smoother motion. If your source file includes a ticker, such as a scrolling headline at the bottom of the frame: Choose Interpolate ticker or Blend ticker. To apply field doubling: Choose Linear interpolation. Note that Linear interpolation may introduce video artifacts into your output.
sourcepub fn set_algorithm(self, input: Option<DeinterlaceAlgorithm>) -> Self
pub fn set_algorithm(self, input: Option<DeinterlaceAlgorithm>) -> Self
Only applies when you set Deinterlace mode to Deinterlace or Adaptive. Interpolate produces sharper pictures, while blend produces smoother motion. If your source file includes a ticker, such as a scrolling headline at the bottom of the frame: Choose Interpolate ticker or Blend ticker. To apply field doubling: Choose Linear interpolation. Note that Linear interpolation may introduce video artifacts into your output.
sourcepub fn get_algorithm(&self) -> &Option<DeinterlaceAlgorithm>
pub fn get_algorithm(&self) -> &Option<DeinterlaceAlgorithm>
Only applies when you set Deinterlace mode to Deinterlace or Adaptive. Interpolate produces sharper pictures, while blend produces smoother motion. If your source file includes a ticker, such as a scrolling headline at the bottom of the frame: Choose Interpolate ticker or Blend ticker. To apply field doubling: Choose Linear interpolation. Note that Linear interpolation may introduce video artifacts into your output.
sourcepub fn control(self, input: DeinterlacerControl) -> Self
pub fn control(self, input: DeinterlacerControl) -> Self
- When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video.
sourcepub fn set_control(self, input: Option<DeinterlacerControl>) -> Self
pub fn set_control(self, input: Option<DeinterlacerControl>) -> Self
- When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video.
sourcepub fn get_control(&self) -> &Option<DeinterlacerControl>
pub fn get_control(&self) -> &Option<DeinterlacerControl>
- When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video.
sourcepub fn mode(self, input: DeinterlacerMode) -> Self
pub fn mode(self, input: DeinterlacerMode) -> Self
Use Deinterlacer to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive.
sourcepub fn set_mode(self, input: Option<DeinterlacerMode>) -> Self
pub fn set_mode(self, input: Option<DeinterlacerMode>) -> Self
Use Deinterlacer to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive.
sourcepub fn get_mode(&self) -> &Option<DeinterlacerMode>
pub fn get_mode(&self) -> &Option<DeinterlacerMode>
Use Deinterlacer to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive.
sourcepub fn build(self) -> Deinterlacer
pub fn build(self) -> Deinterlacer
Consumes the builder and constructs a Deinterlacer
.
Trait Implementations§
source§impl Clone for DeinterlacerBuilder
impl Clone for DeinterlacerBuilder
source§fn clone(&self) -> DeinterlacerBuilder
fn clone(&self) -> DeinterlacerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeinterlacerBuilder
impl Debug for DeinterlacerBuilder
source§impl Default for DeinterlacerBuilder
impl Default for DeinterlacerBuilder
source§fn default() -> DeinterlacerBuilder
fn default() -> DeinterlacerBuilder
source§impl PartialEq for DeinterlacerBuilder
impl PartialEq for DeinterlacerBuilder
source§fn eq(&self, other: &DeinterlacerBuilder) -> bool
fn eq(&self, other: &DeinterlacerBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeinterlacerBuilder
Auto Trait Implementations§
impl Freeze for DeinterlacerBuilder
impl RefUnwindSafe for DeinterlacerBuilder
impl Send for DeinterlacerBuilder
impl Sync for DeinterlacerBuilder
impl Unpin for DeinterlacerBuilder
impl UnwindSafe for DeinterlacerBuilder
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
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>
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>
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