Class VLDSCapture.TDSCaptureGraph
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(6 intermediate revisions by one user not shown) | |||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' DSCaptureGraph : [[Class DSGraphProperty.TDSGraph|Mitov.VideoLab.DSGraph]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 49: | Line 49: | ||
=== Public === | === Public === | ||
− | |||
*[[Property DSGraphProperty.TDSGraph.MediaControl|MediaControl]] | *[[Property DSGraphProperty.TDSGraph.MediaControl|MediaControl]] | ||
*[[Property DSGraphProperty.TDSGraph.MediaEvent|MediaEvent]] | *[[Property DSGraphProperty.TDSGraph.MediaEvent|MediaEvent]] | ||
*[[Property DSGraphProperty.TDSGraph.GraphBuilder|GraphBuilder]] | *[[Property DSGraphProperty.TDSGraph.GraphBuilder|GraphBuilder]] | ||
*[[Property DSGraphProperty.TDSGraph.Graph|Graph]] | *[[Property DSGraphProperty.TDSGraph.Graph|Graph]] | ||
+ | *[[Property DSGraphProperty.TDSGraph.Filters|Filters]] | ||
*[[Property DSGraphProperty.TDSGraph.HiddenForm|HiddenForm]] | *[[Property DSGraphProperty.TDSGraph.HiddenForm|HiddenForm]] | ||
Line 60: | Line 60: | ||
=== Public === | === Public === | ||
*[[Method function DSGraphProperty.TDSGraph.GetFilterList(TStrings) : Boolean|function GetFilterList(AFiltersList : TStrings) : Boolean]] | *[[Method function DSGraphProperty.TDSGraph.GetFilterList(TStrings) : Boolean|function GetFilterList(AFiltersList : TStrings) : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetFilterByClassID(TCLSID) : IBaseFilter|function GetFilterByClassID(ClassID : TCLSID) : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.SetMediaEvent() : Boolean|function SetMediaEvent() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.CreateFilterByName(String) : IBaseFilter|function CreateFilterByName(AFilterName : String) : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.ConnectFilterToPin(IBaseFilter;IPin) : Boolean|function ConnectFilterToPin(ASourceFilter : IBaseFilter; ASinkPin : IPin) : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetAudioRender() : IBaseFilter|function GetAudioRender() : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetVideoRender() : IBaseFilter|function GetVideoRender() : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.RegisterAdditionalFilters() : Boolean|function RegisterAdditionalFilters() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.CreateGraph() : Boolean|function CreateGraph() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.CreateGraphBuilder() : Boolean|function CreateGraphBuilder() : Boolean]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.GraphChanged()|procedure GraphChanged()]] | *[[Method procedure DSGraphProperty.TDSGraph.GraphChanged()|procedure GraphChanged()]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.GraphBuilt()|procedure GraphBuilt()]] | *[[Method procedure DSGraphProperty.TDSGraph.GraphBuilt()|procedure GraphBuilt()]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.DockResized(IDSPreviewDock)|procedure DockResized(APreviewDock : IDSPreviewDock)]] | *[[Method procedure DSGraphProperty.TDSGraph.DockResized(IDSPreviewDock)|procedure DockResized(APreviewDock : IDSPreviewDock)]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.ConfigVideoWindow(IDSPreviewDock;Boolean;TSize) : Boolean|function ConfigVideoWindow(APreviewDock : IDSPreviewDock; APreviewVisible : Boolean; AVideoSize : TSize) : Boolean]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.RegisterGraph()|procedure RegisterGraph()]] | *[[Method procedure DSGraphProperty.TDSGraph.RegisterGraph()|procedure RegisterGraph()]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.UnregisterGraph()|procedure UnregisterGraph()]] | *[[Method procedure DSGraphProperty.TDSGraph.UnregisterGraph()|procedure UnregisterGraph()]] | ||
Line 73: | Line 83: | ||
*[[Method procedure DSGraphProperty.TDSGraph.SetMsgEvent(TWndMethod)|procedure SetMsgEvent(AValue : TWndMethod)]] | *[[Method procedure DSGraphProperty.TDSGraph.SetMsgEvent(TWndMethod)|procedure SetMsgEvent(AValue : TWndMethod)]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.SetDrainMessage(IDSPreviewDock)|procedure SetDrainMessage(AValue : IDSPreviewDock)]] | *[[Method procedure DSGraphProperty.TDSGraph.SetDrainMessage(IDSPreviewDock)|procedure SetDrainMessage(AValue : IDSPreviewDock)]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetMediaControl() : Boolean|function GetMediaControl() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.Run() : Boolean|function Run() : Boolean]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.Stop(Boolean)|procedure Stop(AShowError : Boolean)]] | *[[Method procedure DSGraphProperty.TDSGraph.Stop(Boolean)|procedure Stop(AShowError : Boolean)]] | ||
*[[Method function DSGraphProperty.TDSGraph.SaveToFile(String) : Boolean|function SaveToFile(AFileName : String) : Boolean]] | *[[Method function DSGraphProperty.TDSGraph.SaveToFile(String) : Boolean|function SaveToFile(AFileName : String) : Boolean]] | ||
− | *[[Method | + | *[[Method function DSGraphProperty.TDSGraph.GetOwner() : TPersistent|function GetOwner() : TPersistent]] |
== Pins == | == Pins == | ||
Line 93: | Line 105: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPComponent.TLPPersistent.QueryInterface(TGUID;TObject) : HResult|function QueryInterface(IID : TGUID; Obj : TObject) : HResult]] | ||
+ | *[[Method function LPComponent.TLPPersistent.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
*[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | *[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | ||
[[Category:Classes]] | [[Category:Classes]] |
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: 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