Class: Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Color

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb

Overview

Color preprocessing configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#brightness::Float

Returns 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.



565
566
567
568
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 565

class Color
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#contrast::Float

Returns 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.



565
566
567
568
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 565

class Color
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#saturation::Float

Returns 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.



565
566
567
568
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 565

class Color
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end