Class VLGenericFilter.TVLGenericFilter
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabBasicPkg
Unit: VLGenericFilter
Inherits: TVLBasicStartGenericFilter
Syntax
Delphi:
type TVLGenericFilter = class( TVLBasicStartGenericFilter )
C++ Builder:
class TVLGenericFilter : public TVLBasicStartGenericFilter
Visual C++ (MFC):
class CTVLGenericFilter : public CTVLBasicStartGenericFilter
C# (.NET):
public ref class GenericFilter : Mitov.VideoLab.BasicStartGenericFilter
Summary
User defined filter for Video data.
Description
Implements a user defined filter over the frame image.
Implement the user defined filter inside the OnProcessData event handler.
Diagram:
Methods
Public
- procedure SendData(OutBuffer : IVLImageBuffer) - Sends video frame trough the output pin.
Events
- OnProcessData - Occurs when a video frame is received.
From TVLBasicStartGenericFilter
Events
- OnStart - Occurs when the data pumping starts.
From TVLBasicGenericFilter
Properties
Published
- SynchronizeType - Type of thread buffer synchronization.
Methods
Public
- procedure SendStartCommand(AWidth : Cardinal; AHeight : Cardinal; AFrameDelay : Cardinal) - Sends start command trough the output pin.
- procedure SendStartCommand(AWidth : Cardinal; AHeight : Cardinal; AFrameDelay : Cardinal; AVideoFormat : TVLVideoFormat) - Sends start command trough the output pin.
- procedure SendStartCommand(AWidth : Cardinal; AHeight : Cardinal; AFrameDelay : Cardinal; AVideoFormat : TVLVideoFormat; ARatioWidth : Cardinal; ARatioHeight : Cardinal) - Sends start command trough the output pin.
- procedure SendStopCommand() - Sends stop command trough the output pin.
- procedure ClearQueue() - Clears the internal synchronization buffer queue.
Events
- OnStop - Occurs when the data pumping stops.
From TVLCommonFilter
Properties
Public
- InputVideoFormat - Returns the current input video format.
Methods
Public
- procedure ProcessFrame(Image : IVLImageBuffer) - Performs a filter operation over a video buffer.
- procedure ProcessFrame(InImage : IVLImageBuffer; var OutImage : IVLImageBuffer) - Performs a filter operation over a video buffer.
- procedure ProcessBitmap(InBitmap : TBitmap; OutBitmap : TBitmap) - Performs a filter operation over a bitmap.