Class: Google::Apis::TranscoderV1beta1::Deblock
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::Deblock
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/google/apis/transcoder_v1beta1/representations.rb
Overview
Deblock preprocessing configuration.
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.
450 451 452 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 450 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
441 442 443 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 441 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
448 449 450 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 448 def strength @strength end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
455 456 457 458 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 455 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @strength = args[:strength] if args.key?(:strength) end |