Class GLVideoMixerStream
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
OpenGL video mixer stream settings.
public class GLVideoMixerStream : VideoMixerStreamInheritance
Inherited Members
Constructors
GLVideoMixerStream(Rect, uint, double)
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLVideoMixerStream class.
public GLVideoMixerStream(Rect rectangle, uint zorder, double alpha = 1)Parameters
Properties
BlendConstantColorAlpha
Gets or sets the blend constant color alpha. Range is [0.0..1.0]; values outside it are clamped when applied.
public double BlendConstantColorAlpha { get; set; }Property Value
BlendConstantColorBlue
Gets or sets the blend constant color blue. Range is [0.0..1.0]; values outside it are clamped when applied.
public double BlendConstantColorBlue { get; set; }Property Value
BlendConstantColorGreen
Gets or sets the blend constant color green. Range is [0.0..1.0]; values outside it are clamped when applied.
public double BlendConstantColorGreen { get; set; }Property Value
BlendConstantColorRed
Gets or sets the blend constant color red. Range is [0.0..1.0]; values outside it are clamped when applied.
public double BlendConstantColorRed { get; set; }Property Value
BlendEquationAlpha
Gets or sets the blend equation for alpha.
public GLVideoMixerBlendEquation BlendEquationAlpha { get; set; }Property Value
BlendEquationRGB
Gets or sets the blend equation for RGB.
public GLVideoMixerBlendEquation BlendEquationRGB { get; set; }Property Value
BlendFunctionDesctinationRGB
Gets or sets the blend function for destination RGB.
public GLVideoMixerBlendFunction BlendFunctionDesctinationRGB { get; set; }Property Value
BlendFunctionDestinationAlpha
Gets or sets the blend function for destination alpha.
public GLVideoMixerBlendFunction BlendFunctionDestinationAlpha { get; set; }Property Value
BlendFunctionSourceAlpha
Gets or sets the blend function for source alpha.
public GLVideoMixerBlendFunction BlendFunctionSourceAlpha { get; set; }Property Value
BlendFunctionSourceRGB
Gets or sets the blend function for source RGB.
public GLVideoMixerBlendFunction BlendFunctionSourceRGB { get; set; }Property Value
Crop
Gets or sets how many pixels to cut from each edge of the input: Left, Top,
Right and Bottom are counts, not coordinates; a negative edge counts as 0. null means no crop.
Requires GStreamer 1.22 or later; an older glvideomixer ignores it.
With VisioForge.Core.Types.X.VideoEffects.VideoMixerStream.KeepAspectRatio, the input is letterboxed at the cropped size. The
size is the input's negotiated one, followed as it changes, or VisioForge.Core.Types.X.VideoEffects.VideoMixerStream.SourceInfo
until the input has caps; with neither, glvideomixer letterboxes at the aspect ratio of the uncropped frame.
public Rect Crop { get; set; }