Struct google_transcoder1::api::Color
source · pub struct Color {
pub brightness: Option<f64>,
pub contrast: Option<f64>,
pub saturation: Option<f64>,
}
Expand description
Color preprocessing configuration. Note: This configuration is not supported.
This type is not used in any activity, and only used as part of another schema.
Fields§
§brightness: Option<f64>
Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.
contrast: Option<f64>
Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.
saturation: Option<f64>
Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Color
impl<'de> Deserialize<'de> for Color
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