Table of Contents

Class GLVideoMixerStream

Namespace
VisioForge.Core.Types.X.OpenGL
Assembly
VisioForge.Core.dll

OpenGL video mixer stream settings.

public class GLVideoMixerStream : VideoMixerStream

Inheritance

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

rectangle Rect

The rectangle.

zorder uint

The Z-order.

alpha double

The alpha.

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

double

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

double

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

double

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

double

BlendEquationAlpha

Gets or sets the blend equation for alpha.

public GLVideoMixerBlendEquation BlendEquationAlpha { get; set; }

Property Value

GLVideoMixerBlendEquation

BlendEquationRGB

Gets or sets the blend equation for RGB.

public GLVideoMixerBlendEquation BlendEquationRGB { get; set; }

Property Value

GLVideoMixerBlendEquation

BlendFunctionDesctinationRGB

Gets or sets the blend function for destination RGB.

public GLVideoMixerBlendFunction BlendFunctionDesctinationRGB { get; set; }

Property Value

GLVideoMixerBlendFunction

BlendFunctionDestinationAlpha

Gets or sets the blend function for destination alpha.

public GLVideoMixerBlendFunction BlendFunctionDestinationAlpha { get; set; }

Property Value

GLVideoMixerBlendFunction

BlendFunctionSourceAlpha

Gets or sets the blend function for source alpha.

public GLVideoMixerBlendFunction BlendFunctionSourceAlpha { get; set; }

Property Value

GLVideoMixerBlendFunction

BlendFunctionSourceRGB

Gets or sets the blend function for source RGB.

public GLVideoMixerBlendFunction BlendFunctionSourceRGB { get; set; }

Property Value

GLVideoMixerBlendFunction

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; }

Property Value

Rect