Class DXVideoEffectsProcessor11
- Namespace
- VisioForge.Core.DXVideoEffects
- Assembly
- VisioForge.Core.dll
The DirectX 11 video effects processor.
public class DXVideoEffectsProcessor11 : IDisposableInheritance
Implements
Inherited Members
Constructors
DXVideoEffectsProcessor11(BaseContext)
Initializes a new instance of the VisioForge.Core.DXVideoEffects.DXVideoEffectsProcessor11 class.
public DXVideoEffectsProcessor11(BaseContext context)Parameters
contextBaseContext-
The context.
Properties
ChromaKey
Gets or sets chroma-key settings.
public ChromaKeySettings ChromaKey { get; set; }Property Value
Methods
Add(IGPUVideoEffect)
Adds the specified effect.
public void Add(IGPUVideoEffect effect)Parameters
effectIGPUVideoEffect-
The effect.
Clear()
Clears this instance.
public void Clear()ClearDispose()
Clears.
public void ClearDispose()Count()
Counts this instance.
public int Count()Returns
- int
-
System.Int32.
Dispose()
Dispose.
public void Dispose()Dispose(bool)
Dispose.
protected virtual void Dispose(bool disposing)Parameters
disposingbool-
Disposing parameter.
~DXVideoEffectsProcessor11()
Finalizes an instance of the VisioForge.Core.DXVideoEffects.DXVideoEffectsProcessor11 class.
protected ~DXVideoEffectsProcessor11()Get(string)
Gets the specified name.
public IGPUVideoEffect Get(string name)Parameters
namestring-
The name.
Returns
- IGPUVideoEffect
-
IGPUVideoEffect.
ProcessRGB24(nint, int, int, int, TimeSpan)
Processes the RGB24.
public void ProcessRGB24(nint frame, int frameSize, int width, int height, TimeSpan timestamp)Parameters
framenint-
The frame.
frameSizeint-
Size of the frame.
widthint-
The width.
heightint-
The height.
timestampTimeSpan-
The timestamp.
Remove(IGPUVideoEffect)
Removes the specified effect.
public void Remove(IGPUVideoEffect effect)Parameters
effectIGPUVideoEffect-
The effect.
Remove(string)
Removes the specified name.
public void Remove(string name)Parameters
namestring-
The name.
SaveToJSON(string)
Saves to json.
public void SaveToJSON(string jsonFilename)Parameters
jsonFilenamestring-
The json filename.
UpdateContext(DSContext)
Updates the context.
public void UpdateContext(DSContext context)Parameters
contextDSContext-
The context.