Class VideoEffectDeinterlaceBlend
Deinterlace blend effect. Calculates output pixels as alpha blends of the results of two filters applied to input pixels.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectDeinterlaceBlend : VideoEffect, IVideoEffectDeinterlaceBlend, IVideoEffect
Constructors
VideoEffectDeinterlaceBlend(bool, string, TimeSpan, TimeSpan)
Initializes a new instance of the VideoEffectDeinterlaceBlend class.
Declaration
public VideoEffectDeinterlaceBlend(bool enabled, string name = "DeinterlaceBlend", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | True to enable effects. |
string | name | Effect name. Can be used to get effect interface to control it. |
TimeSpan | startTime | Start time. Use 0 to show effect always. |
TimeSpan | stopTime | Stop time. Use 0 to show effect always. |
Properties
Constants1
Gets or sets constants 1. Range is 0.0-1.0. Default is 0.3.
Declaration
public double Constants1 { get; set; }
Property Value
Type | Description |
---|---|
double |
Constants2
Gets or sets constants 2. Range is 0.0-1.0. Default is 0.9.
Declaration
public double Constants2 { get; set; }
Property Value
Type | Description |
---|---|
double |
Threshold1
Gets or sets threshold 1. Range is 0-255. Default is 5.
Declaration
public int Threshold1 { get; set; }
Property Value
Type | Description |
---|---|
int |
Threshold2
Gets or sets threshold 2. Range is 0-255. Default is 9.
Declaration
public int Threshold2 { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
VideoEffectType | The VideoEffectType. |