#[non_exhaustive]pub struct NoiseReducerTemporalFilterSettings {
pub aggressive_mode: Option<i32>,
pub post_temporal_sharpening: Option<NoiseFilterPostTemporalSharpening>,
pub post_temporal_sharpening_strength: Option<NoiseFilterPostTemporalSharpeningStrength>,
pub speed: Option<i32>,
pub strength: Option<i32>,
}
Expand description
Noise reducer filter settings for temporal filter.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.aggressive_mode: Option<i32>
Use Aggressive mode for content that has complex motion. Higher values produce stronger temporal filtering. This filters highly complex scenes more aggressively and creates better VQ for low bitrate outputs.
post_temporal_sharpening: Option<NoiseFilterPostTemporalSharpening>
When you set Noise reducer to Temporal, the bandwidth and sharpness of your output is reduced. You can optionally use Post temporal sharpening to apply sharpening to the edges of your output. Note that Post temporal sharpening will also make the bandwidth reduction from the Noise reducer smaller. The default behavior, Auto, allows the transcoder to determine whether to apply sharpening, depending on your input type and quality. When you set Post temporal sharpening to Enabled, specify how much sharpening is applied using Post temporal sharpening strength. Set Post temporal sharpening to Disabled to not apply sharpening.
post_temporal_sharpening_strength: Option<NoiseFilterPostTemporalSharpeningStrength>
Use Post temporal sharpening strength to define the amount of sharpening the transcoder applies to your output. Set Post temporal sharpening strength to Low, Medium, or High to indicate the amount of sharpening.
speed: Option<i32>
The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate.
strength: Option<i32>
Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction
Implementations§
source§impl NoiseReducerTemporalFilterSettings
impl NoiseReducerTemporalFilterSettings
sourcepub fn aggressive_mode(&self) -> Option<i32>
pub fn aggressive_mode(&self) -> Option<i32>
Use Aggressive mode for content that has complex motion. Higher values produce stronger temporal filtering. This filters highly complex scenes more aggressively and creates better VQ for low bitrate outputs.
sourcepub fn post_temporal_sharpening(
&self
) -> Option<&NoiseFilterPostTemporalSharpening>
pub fn post_temporal_sharpening( &self ) -> Option<&NoiseFilterPostTemporalSharpening>
When you set Noise reducer to Temporal, the bandwidth and sharpness of your output is reduced. You can optionally use Post temporal sharpening to apply sharpening to the edges of your output. Note that Post temporal sharpening will also make the bandwidth reduction from the Noise reducer smaller. The default behavior, Auto, allows the transcoder to determine whether to apply sharpening, depending on your input type and quality. When you set Post temporal sharpening to Enabled, specify how much sharpening is applied using Post temporal sharpening strength. Set Post temporal sharpening to Disabled to not apply sharpening.
sourcepub fn post_temporal_sharpening_strength(
&self
) -> Option<&NoiseFilterPostTemporalSharpeningStrength>
pub fn post_temporal_sharpening_strength( &self ) -> Option<&NoiseFilterPostTemporalSharpeningStrength>
Use Post temporal sharpening strength to define the amount of sharpening the transcoder applies to your output. Set Post temporal sharpening strength to Low, Medium, or High to indicate the amount of sharpening.
sourcepub fn speed(&self) -> Option<i32>
pub fn speed(&self) -> Option<i32>
The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate.
sourcepub fn strength(&self) -> Option<i32>
pub fn strength(&self) -> Option<i32>
Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction
source§impl NoiseReducerTemporalFilterSettings
impl NoiseReducerTemporalFilterSettings
sourcepub fn builder() -> NoiseReducerTemporalFilterSettingsBuilder
pub fn builder() -> NoiseReducerTemporalFilterSettingsBuilder
Creates a new builder-style object to manufacture NoiseReducerTemporalFilterSettings
.
Trait Implementations§
source§impl Clone for NoiseReducerTemporalFilterSettings
impl Clone for NoiseReducerTemporalFilterSettings
source§fn clone(&self) -> NoiseReducerTemporalFilterSettings
fn clone(&self) -> NoiseReducerTemporalFilterSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for NoiseReducerTemporalFilterSettings
impl PartialEq for NoiseReducerTemporalFilterSettings
source§fn eq(&self, other: &NoiseReducerTemporalFilterSettings) -> bool
fn eq(&self, other: &NoiseReducerTemporalFilterSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NoiseReducerTemporalFilterSettings
Auto Trait Implementations§
impl Freeze for NoiseReducerTemporalFilterSettings
impl RefUnwindSafe for NoiseReducerTemporalFilterSettings
impl Send for NoiseReducerTemporalFilterSettings
impl Sync for NoiseReducerTemporalFilterSettings
impl Unpin for NoiseReducerTemporalFilterSettings
impl UnwindSafe for NoiseReducerTemporalFilterSettings
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