Class: Google::Apis::TranscoderV1::Deblock
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::Deblock
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Deblock preprocessing configuration. Note: This configuration is not supported.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Enable deblocker.
-
#strength ⇒ Float
Set strength of the deblocker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Deblock
constructor
A new instance of Deblock.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Deblock
Returns a new instance of Deblock.
501 502 503 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 501 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Enable deblocker. The default is false
.
Corresponds to the JSON property enabled
492 493 494 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 492 def enabled @enabled end |
#strength ⇒ Float
Set strength of the deblocker. Enter a value between 0 and 1. The higher the
value, the stronger the block removal. 0 is no deblocking. The default is 0.
Corresponds to the JSON property strength
499 500 501 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 499 def strength @strength end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
506 507 508 509 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 506 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @strength = args[:strength] if args.key?(:strength) end |