Class: TencentCloud::Mps::V20190612::VideoEnhanceConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::VideoEnhanceConfig
- Defined in:
- lib/v20190612/models.rb
Overview
视频增强配置
Instance Attribute Summary collapse
-
#ArtifactRepair ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ColorEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Denoise ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiffusionEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnhanceSceneType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FrameRate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FrameRateWithDen ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Hdr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ImageQualityEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LowLightEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScratchRepair ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SuperResolution ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(framerate = nil, superresolution = nil, hdr = nil, denoise = nil, imagequalityenhance = nil, colorenhance = nil, lowlightenhance = nil, scratchrepair = nil, artifactrepair = nil, enhancescenetype = nil, diffusionenhance = nil, frameratewithden = nil) ⇒ VideoEnhanceConfig
constructor
A new instance of VideoEnhanceConfig.
Constructor Details
#initialize(framerate = nil, superresolution = nil, hdr = nil, denoise = nil, imagequalityenhance = nil, colorenhance = nil, lowlightenhance = nil, scratchrepair = nil, artifactrepair = nil, enhancescenetype = nil, diffusionenhance = nil, frameratewithden = nil) ⇒ VideoEnhanceConfig
Returns a new instance of VideoEnhanceConfig.
31401 31402 31403 31404 31405 31406 31407 31408 31409 31410 31411 31412 31413 31414 |
# File 'lib/v20190612/models.rb', line 31401 def initialize(framerate=nil, superresolution=nil, hdr=nil, denoise=nil, imagequalityenhance=nil, colorenhance=nil, lowlightenhance=nil, scratchrepair=nil, artifactrepair=nil, enhancescenetype=nil, diffusionenhance=nil, frameratewithden=nil) @FrameRate = framerate @SuperResolution = superresolution @Hdr = hdr @Denoise = denoise @ImageQualityEnhance = imagequalityenhance @ColorEnhance = colorenhance @LowLightEnhance = lowlightenhance @ScratchRepair = scratchrepair @ArtifactRepair = artifactrepair @EnhanceSceneType = enhancescenetype @DiffusionEnhance = diffusionenhance @FrameRateWithDen = frameratewithden end |
Instance Attribute Details
#ArtifactRepair ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def ArtifactRepair @ArtifactRepair end |
#ColorEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def ColorEnhance @ColorEnhance end |
#Denoise ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def Denoise @Denoise end |
#DiffusionEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def DiffusionEnhance @DiffusionEnhance end |
#EnhanceSceneType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def EnhanceSceneType @EnhanceSceneType end |
#FrameRate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def FrameRate @FrameRate end |
#FrameRateWithDen ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def FrameRateWithDen @FrameRateWithDen end |
#Hdr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def Hdr @Hdr end |
#ImageQualityEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def ImageQualityEnhance @ImageQualityEnhance end |
#LowLightEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def LowLightEnhance @LowLightEnhance end |
#ScratchRepair ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def ScratchRepair @ScratchRepair end |
#SuperResolution ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31399 31400 31401 |
# File 'lib/v20190612/models.rb', line 31399 def SuperResolution @SuperResolution end |
Instance Method Details
#deserialize(params) ⇒ Object
31416 31417 31418 31419 31420 31421 31422 31423 31424 31425 31426 31427 31428 31429 31430 31431 31432 31433 31434 31435 31436 31437 31438 31439 31440 31441 31442 31443 31444 31445 31446 31447 31448 31449 31450 31451 31452 31453 31454 31455 31456 31457 31458 31459 31460 31461 31462 |
# File 'lib/v20190612/models.rb', line 31416 def deserialize(params) unless params['FrameRate'].nil? @FrameRate = FrameRateConfig.new @FrameRate.deserialize(params['FrameRate']) end unless params['SuperResolution'].nil? @SuperResolution = SuperResolutionConfig.new @SuperResolution.deserialize(params['SuperResolution']) end unless params['Hdr'].nil? @Hdr = HdrConfig.new @Hdr.deserialize(params['Hdr']) end unless params['Denoise'].nil? @Denoise = VideoDenoiseConfig.new @Denoise.deserialize(params['Denoise']) end unless params['ImageQualityEnhance'].nil? @ImageQualityEnhance = ImageQualityEnhanceConfig.new @ImageQualityEnhance.deserialize(params['ImageQualityEnhance']) end unless params['ColorEnhance'].nil? @ColorEnhance = ColorEnhanceConfig.new @ColorEnhance.deserialize(params['ColorEnhance']) end unless params['LowLightEnhance'].nil? @LowLightEnhance = LowLightEnhanceConfig.new @LowLightEnhance.deserialize(params['LowLightEnhance']) end unless params['ScratchRepair'].nil? @ScratchRepair = ScratchRepairConfig.new @ScratchRepair.deserialize(params['ScratchRepair']) end unless params['ArtifactRepair'].nil? @ArtifactRepair = ArtifactRepairConfig.new @ArtifactRepair.deserialize(params['ArtifactRepair']) end @EnhanceSceneType = params['EnhanceSceneType'] unless params['DiffusionEnhance'].nil? @DiffusionEnhance = DiffusionEnhanceConfig.new @DiffusionEnhance.deserialize(params['DiffusionEnhance']) end unless params['FrameRateWithDen'].nil? @FrameRateWithDen = FrameRateWithDenConfig.new @FrameRateWithDen.deserialize(params['FrameRateWithDen']) end end |