Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Color (v0.9.1)

Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Color.

Color preprocessing configuration.

Note: This configuration is not supported.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#brightness

def brightness() -> ::Float
Returns
  • (::Float) — 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.

#brightness=

def brightness=(value) -> ::Float
Parameter
  • value (::Float) — 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.
Returns
  • (::Float) — 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

def contrast() -> ::Float
Returns
  • (::Float) — 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.

#contrast=

def contrast=(value) -> ::Float
Parameter
  • value (::Float) — 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.
Returns
  • (::Float) — 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

def saturation() -> ::Float
Returns
  • (::Float) — 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.

#saturation=

def saturation=(value) -> ::Float
Parameter
  • value (::Float) — 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.
Returns
  • (::Float) — 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.