Class VideoMixer
Class VideoMixer. Implements the System.IDisposable.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.ProcessingFilters.Interfaces
Assembly: VisioForge.ProcessingFilters.Interfaces.dll
Syntax
public class VideoMixer : IDisposable
Constructors
VideoMixer()
Initializes a new instance of the VideoMixer class.
Declaration
public VideoMixer()
Properties
Intf
Gets filter interface.
Declaration
public IVFVideoMixer Intf { get; }
Property Value
| Type | Description |
|---|---|
| IVFVideoMixer | The intf. |
IntfAvailable
Gets a value indicating whether filter interface is available.
Declaration
public bool IntfAvailable { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Methods
Clear()
Clear.
Declaration
public void Clear()
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(Boolean)
Dispose.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | Disposing parameter. |
Finalize()
Finalizes an instance of the VideoMixer class.
Declaration
protected void Finalize()
GetFilter()
Gets the filter.
Declaration
public IBaseFilter GetFilter()
Returns
| Type | Description |
|---|---|
| IBaseFilter | IBaseFilter. |
Init(IFilterGraph2)
Init.
Declaration
public bool Init(IFilterGraph2 filterGraph)
Parameters
| Type | Name | Description |
|---|---|---|
| IFilterGraph2 | filterGraph | Filter graph. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns true or 0 if the operation was successful. |
InitIntf()
Init interface.
Declaration
public bool InitIntf()
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns true or 0 if the operation was successful. |
SetChroma(Boolean, Color, Int32, Int32)
Sets chroma mode.
Declaration
public void SetChroma(bool enabled, Color color, int tolerance1, int tolerance2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | enabled | The chroma enabled. |
| System.Drawing.Color | color | The color. |
| System.Int32 | tolerance1 | The tolerance 1. |
| System.Int32 | tolerance2 | The tolerance 2. |
SetInputOrder(Int32, Int32)
Sets layer settings.
Declaration
public void SetInputOrder(int index, int order)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Device index. |
| System.Int32 | order | Stream order. From 0 to streams count - 1. |
SetLayerPosition(Int32, Int32, Int32, Int32, Int32)
Sets position.
Declaration
public void SetLayerPosition(int index, int x, int y, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Device index. |
| System.Int32 | x | X coordinate. |
| System.Int32 | y | Y coordinate. |
| System.Int32 | width | Width. |
| System.Int32 | height | Height. |
SetLayerSettings(Int32, Int32, Boolean, Boolean, Boolean)
Sets layer settings.
Declaration
public void SetLayerSettings(int index, int transparency, bool flipX, bool flipY, bool disabled)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Device index. |
| System.Int32 | transparency | Transparency level. |
| System.Boolean | flipX | True to flip horizontally. |
| System.Boolean | flipY | True to flip vertically. |
| System.Boolean | disabled | True to disable stream. |
SetOutputSettings(Int32, Int32, Color, String, Double, VFPIPResizeQuality)
Sets output settings.
Declaration
public void SetOutputSettings(int width, int height, Color color, string imageFilename, double frameRate, VFPIPResizeQuality resizeQuality)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | width | Width. |
| System.Int32 | height | Height. |
| System.Drawing.Color | color | Background color. |
| System.String | imageFilename | Background image file name. |
| System.Double | frameRate | Frame rate. |
| VFPIPResizeQuality | resizeQuality | Resize quality. |