Class VLDSCapture.TDSCaptureGraph
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: VLDSCapture
Inherits: TDSGraph
Contents | 
Syntax
Delphi:
type TDSCaptureGraph = class( TDSGraph )
C++ Builder:
class TDSCaptureGraph : public TDSGraph
Visual C++ (MFC):
class CTDSCaptureGraph : public CTDSGraph
C# (.NET):
public ref class DSCaptureGraph : Mitov.VideoLab.DSGraph
Summary
DirectShow Capture Graph settings class.
Description
Defines the class for DirectShow Capture Graph settings.
Events
- OnVideoGrabberCreate - Occurs before the video grabber filter is created.
 - OnReleaseFilters - Occurs when the graph filters are being released(The graph is destroyed.).
 - OnAfterRendering - Occurs after the Graph has been rendered(All the filters are created and connected.).
 - OnCustomRender - Occurs during the DirectShow Graph rendering.
 
From TDSGraph
Properties
Published
Public
Methods
Public
- function GetFilterList(AFiltersList : TStrings) : Boolean
 - function GetFilterByClassID(ClassID : TCLSID) : IBaseFilter
 - function SetMediaEvent() : Boolean
 - function CreateFilterByName(AFilterName : String) : IBaseFilter
 - function ConnectFilterToPin(ASourceFilter : IBaseFilter; ASinkPin : IPin) : Boolean
 - function GetAudioRender() : IBaseFilter
 - function GetVideoRender() : IBaseFilter
 - function RegisterAdditionalFilters() : Boolean
 - function CreateGraph() : Boolean
 - function CreateGraphBuilder() : Boolean
 - procedure GraphChanged()
 - procedure GraphBuilt()
 - procedure DockResized(APreviewDock : IDSPreviewDock)
 - function ConfigVideoWindow(APreviewDock : IDSPreviewDock; APreviewVisible : Boolean; AVideoSize : TSize) : Boolean
 - procedure RegisterGraph()
 - procedure UnregisterGraph()
 - procedure Error(Msg : String; ErrorCode : Integer)
 - procedure Warning(Msg : String; ErrorCode : Integer)
 - procedure CheckWarning(Msg : String; AValue : HResult)
 - procedure DestroyGraph()
 - procedure DestroyDownstream(pFilter : IBaseFilter)
 - procedure DestroyUpstream(pFilter : IBaseFilter)
 - procedure SetMsgEvent(AValue : TWndMethod)
 - procedure SetDrainMessage(AValue : IDSPreviewDock)
 - function GetMediaControl() : Boolean
 - function Run() : Boolean
 - procedure Stop(AShowError : Boolean)
 - function SaveToFile(AFileName : String) : Boolean
 - function GetOwner() : TPersistent