Struct rusoto_mediaconvert::ColorCorrector
source · [−]pub struct ColorCorrector {
pub brightness: Option<i64>,
pub color_space_conversion: Option<String>,
pub contrast: Option<i64>,
pub hdr_10_metadata: Option<Hdr10Metadata>,
pub hue: Option<i64>,
pub sample_range_conversion: Option<String>,
pub saturation: Option<i64>,
}
Expand description
Settings for color correction.
Fields
brightness: Option<i64>
Brightness level.
color_space_conversion: Option<String>
Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR.
contrast: Option<i64>
Contrast level.
hdr_10_metadata: Option<Hdr10Metadata>
Use these settings when you convert to the HDR 10 color space. Specify the SMPTE ST 2086 Mastering Display Color Volume static metadata that you want signaled in the output. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator. When you set Color space conversion (ColorSpaceConversion) to HDR 10 (FORCE_HDR10), these settings are required. You must set values for Max frame average light level (maxFrameAverageLightLevel) and Max content light level (maxContentLightLevel); these settings don't have a default value. The default values for the other HDR 10 metadata settings are defined by the P3D65 color space. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.
hue: Option<i64>
Hue in degrees.
sample_range_conversion: Option<String>
Specify the video color sample range for this output. To create a full range output, you must start with a full range YUV input and keep the default value, None (NONE). To create a limited range output from a full range input, choose Limited range (LIMITEDRANGESQUEEZE). With RGB inputs, your output is always limited range, regardless of your choice here. When you create a limited range output from a full range input, MediaConvert limits the active pixel values in a way that depends on the output's bit depth: 8-bit outputs contain only values from 16 through 235 and 10-bit outputs contain only values from 64 through 940. With this conversion, MediaConvert also changes the output metadata to note the limited range.
saturation: Option<i64>
Saturation level.
Trait Implementations
sourceimpl Clone for ColorCorrector
impl Clone for ColorCorrector
sourcefn clone(&self) -> ColorCorrector
fn clone(&self) -> ColorCorrector
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorCorrector
impl Debug for ColorCorrector
sourceimpl Default for ColorCorrector
impl Default for ColorCorrector
sourcefn default() -> ColorCorrector
fn default() -> ColorCorrector
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ColorCorrector
impl<'de> Deserialize<'de> for ColorCorrector
sourcefn 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
sourceimpl PartialEq<ColorCorrector> for ColorCorrector
impl PartialEq<ColorCorrector> for ColorCorrector
sourcefn eq(&self, other: &ColorCorrector) -> bool
fn eq(&self, other: &ColorCorrector) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ColorCorrector) -> bool
fn ne(&self, other: &ColorCorrector) -> bool
This method tests for !=
.
sourceimpl Serialize for ColorCorrector
impl Serialize for ColorCorrector
impl StructuralPartialEq for ColorCorrector
Auto Trait Implementations
impl RefUnwindSafe for ColorCorrector
impl Send for ColorCorrector
impl Sync for ColorCorrector
impl Unpin for ColorCorrector
impl UnwindSafe for ColorCorrector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more