Class: TencentCloud::Mps::V20190612::SuperResolutionConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::SuperResolutionConfig
- Defined in:
- lib/v20190612/models.rb
Overview
超分配置
Instance Attribute Summary collapse
-
#Size ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- lq:针对低清晰度有较多噪声视频的超分;
- hq:针对高清晰度视频超分。
默认值:lq。 注意:此字段可能返回 null,表示取不到有效值。- 2:目前只支持 2 倍超分。
默认值:2。 注意:此字段可能返回 null,表示取不到有效值。. -
#Switch ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- lq:针对低清晰度有较多噪声视频的超分;
- hq:针对高清晰度视频超分。
默认值:lq。 注意:此字段可能返回 null,表示取不到有效值。- 2:目前只支持 2 倍超分。
默认值:2。 注意:此字段可能返回 null,表示取不到有效值。. -
#Type ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- lq:针对低清晰度有较多噪声视频的超分;
- hq:针对高清晰度视频超分。
默认值:lq。 注意:此字段可能返回 null,表示取不到有效值。- 2:目前只支持 2 倍超分。
默认值:2。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, type = nil, size = nil) ⇒ SuperResolutionConfig
constructor
A new instance of SuperResolutionConfig.
Constructor Details
#initialize(switch = nil, type = nil, size = nil) ⇒ SuperResolutionConfig
Returns a new instance of SuperResolutionConfig.
29631 29632 29633 29634 29635 |
# File 'lib/v20190612/models.rb', line 29631 def initialize(switch=nil, type=nil, size=nil) @Switch = switch @Type = type @Size = size end |
Instance Attribute Details
#Size ⇒ Object
29629 29630 29631 |
# File 'lib/v20190612/models.rb', line 29629 def Size @Size end |
#Switch ⇒ Object
29629 29630 29631 |
# File 'lib/v20190612/models.rb', line 29629 def Switch @Switch end |
#Type ⇒ Object
29629 29630 29631 |
# File 'lib/v20190612/models.rb', line 29629 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
29637 29638 29639 29640 29641 |
# File 'lib/v20190612/models.rb', line 29637 def deserialize(params) @Switch = params['Switch'] @Type = params['Type'] @Size = params['Size'] end |