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.
31932 31933 31934 31935 31936 31937 31938 31939 31940 31941 31942 31943 31944 31945 |
# File 'lib/v20190612/models.rb', line 31932 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,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def ArtifactRepair @ArtifactRepair end |
#ColorEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def ColorEnhance @ColorEnhance end |
#Denoise ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def Denoise @Denoise end |
#DiffusionEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def DiffusionEnhance @DiffusionEnhance end |
#EnhanceSceneType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def EnhanceSceneType @EnhanceSceneType end |
#FrameRate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def FrameRate @FrameRate end |
#FrameRateWithDen ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def FrameRateWithDen @FrameRateWithDen end |
#Hdr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def Hdr @Hdr end |
#ImageQualityEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def ImageQualityEnhance @ImageQualityEnhance end |
#LowLightEnhance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def LowLightEnhance @LowLightEnhance end |
#ScratchRepair ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def ScratchRepair @ScratchRepair end |
#SuperResolution ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
31930 31931 31932 |
# File 'lib/v20190612/models.rb', line 31930 def SuperResolution @SuperResolution end |
Instance Method Details
#deserialize(params) ⇒ Object
31947 31948 31949 31950 31951 31952 31953 31954 31955 31956 31957 31958 31959 31960 31961 31962 31963 31964 31965 31966 31967 31968 31969 31970 31971 31972 31973 31974 31975 31976 31977 31978 31979 31980 31981 31982 31983 31984 31985 31986 31987 31988 31989 31990 31991 31992 31993 |
# File 'lib/v20190612/models.rb', line 31947 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 |