GoogleApi.Transcoder.V1beta1.Model.Color (google_api_transcoder v0.4.2)

View Source

Color preprocessing configuration.

Attributes

  • brightness (type: float(), default: nil) - 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 (type: float(), default: nil) - 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 (type: float(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Transcoder.V1beta1.Model.Color{
  brightness: float() | nil,
  contrast: float() | nil,
  saturation: float() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.