Class VLGenericFilter.TVLGenericFilter
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(8 intermediate revisions by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' GenericFilter : [[Class VLBasicGenericFilter.TVLBasicStartGenericFilter|Mitov.VideoLab.BasicStartGenericFilter]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 38: | Line 38: | ||
Implement the user defined filter inside the [[Event VLGenericFilter.TVLGenericFilter.OnProcessData|OnProcessData]] | Implement the user defined filter inside the [[Event VLGenericFilter.TVLGenericFilter.OnProcessData|OnProcessData]] | ||
event handler. | event handler. | ||
+ | |||
+ | |||
+ | |||
+ | <b>Diagram:</b> | ||
+ | |||
+ | [[Image:VLGenericFilter_Preview.png]] | ||
== Methods == | == Methods == | ||
Line 95: | Line 101: | ||
=== Published === | === Published === | ||
*[[Property SLCommonFilter.TSLBasicThreadedEnableFilter.Enabled|Enabled]] | *[[Property SLCommonFilter.TSLBasicThreadedEnableFilter.Enabled|Enabled]] | ||
− | |||
− | |||
− | |||
== From [[Class SLCommonFilter.TSLBasicThreadedFilter|TSLBasicThreadedFilter]] == | == From [[Class SLCommonFilter.TSLBasicThreadedFilter|TSLBasicThreadedFilter]] == |
Latest revision as of 00:30, 26 June 2013
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.