C# 클래스 CodeTV.GraphBuilderBase

상속: IDisposable, VideoControl.IVideoEventHandler, ISampleGrabberCB
파일 보기 프로젝트 열기: dgis/CodeTV 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bobDxvaGuid System.Guid
trace System.Diagnostics.TraceSwitch

보호된 프로퍼티들

프로퍼티 타입 설명
audioRenderer IBaseFilter
audioRendererDevice DsDevice
audioRendererDevices DsDevice>.Dictionary
currentVideoSourceSize System.Drawing.Size
currentVideoTargetRectangle System.Drawing.Rectangle
evrVideoDisplayControl CodeTV.IMFVideoDisplayControl
graphBuilder IFilterGraph2
hostingControl VideoControl
isPossibleGraphPause bool
isPossibleGraphRelease bool
isPossibleGraphRestart bool
isPossibleGraphRun bool
isPossibleGraphStop bool
isPossibleSetPosition bool
isPossibleSetSpeed bool
rot DsROTEntry
settings Settings
useEVR bool
useVideo169Mode bool
useWPF bool
videoAspectRatioFactor double
videoKeepAspectRatio bool
videoOffset System.Drawing.PointF
videoRenderer IBaseFilter
videoZoom double
videoZoomMode VideoSizeMode

공개 메소드들

메소드 설명
BuildGraph ( ) : void
Dispose ( ) : void
GetGraphState ( ) : FilterState
GraphBuilderBase ( VideoControl renderingControl ) : System
OnGraphEnded ( ) : void
OnGraphStarted ( ) : void
OnVideoEvent ( int cookies ) : void
PauseGraph ( ) : void
RunGraph ( ) : void
SaveGraph ( string filepath ) : void
StartOSD ( ) : void
StopGraph ( ) : void
StopOSD ( ) : void
VideoRefresh ( ) : void
VideoResizer ( VideoSizeMode videoZoomMode, bool keepAspectRatio, PointF offset, double zoom, double aspectRatioFactor ) : void

보호된 메소드들

메소드 설명
AddAndConnectNullRendererForWPF ( ) : void
AddHandlers ( ) : void
AddRenderers ( ) : void
AddRenderers ( IFilterGraph2 graphBuilder ) : void
ConfigureVMR9InWindowlessMode ( ) : void
ConfigureVMR9InWindowlessMode ( int numberOfStream ) : void
ConnectAllOutputFiltersFrom ( IBaseFilter fromFilter, IFilterGraph2 graph ) : void
ConnectFilters ( IBaseFilter filterIn, IBaseFilter filterOut ) : int
CreateFilter ( System.Guid category, string friendlyname ) : IBaseFilter

Enumerates all filters of the selected category and returns the IBaseFilter for the filter described in friendlyname

Decompose ( ) : void
GetBlackBands ( ) : System.Drawing.Rectangle[]
OnDisplayChangedHandler ( object sender, EventArgs e ) : void
OnPaintBackground ( object sender, PaintEventArgs e ) : bool
OnPossibleChanged ( string possible, bool isPossible ) : void
OnResizeMoveHandler ( object sender, EventArgs e ) : void
PaintBlackBands ( Graphics g ) : void
RemoveHandlers ( ) : void
ThrowExceptionForHR ( string errorText, int hr ) : void
Vmr9SetDeinterlaceMode ( int mode ) : void
WPFStop ( ) : void
WpfUpdateVideoSize ( ) : void

비공개 메소드들

메소드 설명
CopyMemory ( IntPtr Destination, IntPtr Source, int Length ) : void
ISampleGrabberCB ( double sampleTime, IMediaSample mediaSample ) : int

sample callback, NOT USED.

ISampleGrabberCB ( double sampleTime, IntPtr buffer, int bufferLength ) : int

buffer callback, COULD BE FROM FOREIGN THREAD.

OnPaintHandler ( object sender, PaintEventArgs e ) : void

메소드 상세

AddAndConnectNullRendererForWPF() 보호된 메소드

protected AddAndConnectNullRendererForWPF ( ) : void
리턴 void

AddHandlers() 보호된 메소드

protected AddHandlers ( ) : void
리턴 void

AddRenderers() 보호된 메소드

protected AddRenderers ( ) : void
리턴 void

AddRenderers() 보호된 메소드

protected AddRenderers ( IFilterGraph2 graphBuilder ) : void
graphBuilder IFilterGraph2
리턴 void

BuildGraph() 공개 메소드

public BuildGraph ( ) : void
리턴 void

ConfigureVMR9InWindowlessMode() 보호된 메소드

protected ConfigureVMR9InWindowlessMode ( ) : void
리턴 void

ConfigureVMR9InWindowlessMode() 보호된 메소드

protected ConfigureVMR9InWindowlessMode ( int numberOfStream ) : void
numberOfStream int
리턴 void

ConnectAllOutputFiltersFrom() 보호된 메소드

protected ConnectAllOutputFiltersFrom ( IBaseFilter fromFilter, IFilterGraph2 graph ) : void
fromFilter IBaseFilter
graph IFilterGraph2
리턴 void

ConnectFilters() 보호된 메소드

protected ConnectFilters ( IBaseFilter filterIn, IBaseFilter filterOut ) : int
filterIn IBaseFilter
filterOut IBaseFilter
리턴 int

CreateFilter() 보호된 메소드

Enumerates all filters of the selected category and returns the IBaseFilter for the filter described in friendlyname
protected CreateFilter ( System.Guid category, string friendlyname ) : IBaseFilter
category System.Guid Category of the filter
friendlyname string Friendly name of the filter
리턴 IBaseFilter

Decompose() 보호된 메소드

protected Decompose ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetBlackBands() 보호된 메소드

protected GetBlackBands ( ) : System.Drawing.Rectangle[]
리턴 System.Drawing.Rectangle[]

GetGraphState() 공개 메소드

public GetGraphState ( ) : FilterState
리턴 FilterState

GraphBuilderBase() 공개 메소드

public GraphBuilderBase ( VideoControl renderingControl ) : System
renderingControl VideoControl
리턴 System

OnDisplayChangedHandler() 보호된 메소드

protected OnDisplayChangedHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnGraphEnded() 공개 메소드

public OnGraphEnded ( ) : void
리턴 void

OnGraphStarted() 공개 메소드

public OnGraphStarted ( ) : void
리턴 void

OnPaintBackground() 보호된 메소드

protected OnPaintBackground ( object sender, PaintEventArgs e ) : bool
sender object
e PaintEventArgs
리턴 bool

OnPossibleChanged() 보호된 메소드

protected OnPossibleChanged ( string possible, bool isPossible ) : void
possible string
isPossible bool
리턴 void

OnResizeMoveHandler() 보호된 메소드

protected OnResizeMoveHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnVideoEvent() 공개 메소드

public OnVideoEvent ( int cookies ) : void
cookies int
리턴 void

PaintBlackBands() 보호된 메소드

protected PaintBlackBands ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

PauseGraph() 공개 메소드

public PauseGraph ( ) : void
리턴 void

RemoveHandlers() 보호된 메소드

protected RemoveHandlers ( ) : void
리턴 void

RunGraph() 공개 메소드

public RunGraph ( ) : void
리턴 void

SaveGraph() 공개 메소드

public SaveGraph ( string filepath ) : void
filepath string
리턴 void

StartOSD() 공개 메소드

public StartOSD ( ) : void
리턴 void

StopGraph() 공개 메소드

public StopGraph ( ) : void
리턴 void

StopOSD() 공개 메소드

public StopOSD ( ) : void
리턴 void

ThrowExceptionForHR() 보호된 메소드

protected ThrowExceptionForHR ( string errorText, int hr ) : void
errorText string
hr int
리턴 void

VideoRefresh() 공개 메소드

public VideoRefresh ( ) : void
리턴 void

VideoResizer() 공개 메소드

public VideoResizer ( VideoSizeMode videoZoomMode, bool keepAspectRatio, PointF offset, double zoom, double aspectRatioFactor ) : void
videoZoomMode VideoSizeMode
keepAspectRatio bool
offset System.Drawing.PointF
zoom double
aspectRatioFactor double
리턴 void

Vmr9SetDeinterlaceMode() 보호된 메소드

protected Vmr9SetDeinterlaceMode ( int mode ) : void
mode int
리턴 void

WPFStop() 보호된 메소드

protected WPFStop ( ) : void
리턴 void

WpfUpdateVideoSize() 보호된 메소드

protected WpfUpdateVideoSize ( ) : void
리턴 void

프로퍼티 상세

audioRenderer 보호되어 있는 프로퍼티

protected IBaseFilter audioRenderer
리턴 IBaseFilter

audioRendererDevice 보호되어 있는 프로퍼티

protected DsDevice audioRendererDevice
리턴 DsDevice

audioRendererDevices 보호되어 있는 정적으로 프로퍼티

protected static Dictionary audioRendererDevices
리턴 DsDevice>.Dictionary

bobDxvaGuid 공개적으로 정적으로 프로퍼티

public static Guid,System bobDxvaGuid
리턴 System.Guid

currentVideoSourceSize 보호되어 있는 프로퍼티

protected Size,System.Drawing currentVideoSourceSize
리턴 System.Drawing.Size

currentVideoTargetRectangle 보호되어 있는 프로퍼티

protected Rectangle,System.Drawing currentVideoTargetRectangle
리턴 System.Drawing.Rectangle

evrVideoDisplayControl 보호되어 있는 프로퍼티

protected CodeTV.IMFVideoDisplayControl evrVideoDisplayControl
리턴 CodeTV.IMFVideoDisplayControl

graphBuilder 보호되어 있는 프로퍼티

protected IFilterGraph2 graphBuilder
리턴 IFilterGraph2

hostingControl 보호되어 있는 프로퍼티

protected VideoControl,CodeTV hostingControl
리턴 VideoControl

isPossibleGraphPause 보호되어 있는 프로퍼티

protected bool isPossibleGraphPause
리턴 bool

isPossibleGraphRelease 보호되어 있는 프로퍼티

protected bool isPossibleGraphRelease
리턴 bool

isPossibleGraphRestart 보호되어 있는 프로퍼티

protected bool isPossibleGraphRestart
리턴 bool

isPossibleGraphRun 보호되어 있는 프로퍼티

protected bool isPossibleGraphRun
리턴 bool

isPossibleGraphStop 보호되어 있는 프로퍼티

protected bool isPossibleGraphStop
리턴 bool

isPossibleSetPosition 보호되어 있는 프로퍼티

protected bool isPossibleSetPosition
리턴 bool

isPossibleSetSpeed 보호되어 있는 프로퍼티

protected bool isPossibleSetSpeed
리턴 bool

rot 보호되어 있는 프로퍼티

protected DsROTEntry rot
리턴 DsROTEntry

settings 보호되어 있는 프로퍼티

protected Settings,CodeTV settings
리턴 Settings

trace 공개적으로 정적으로 프로퍼티

public static TraceSwitch,System.Diagnostics trace
리턴 System.Diagnostics.TraceSwitch

useEVR 보호되어 있는 프로퍼티

protected bool useEVR
리턴 bool

useVideo169Mode 보호되어 있는 프로퍼티

protected bool useVideo169Mode
리턴 bool

useWPF 보호되어 있는 프로퍼티

protected bool useWPF
리턴 bool

videoAspectRatioFactor 보호되어 있는 프로퍼티

protected double videoAspectRatioFactor
리턴 double

videoKeepAspectRatio 보호되어 있는 프로퍼티

protected bool videoKeepAspectRatio
리턴 bool

videoOffset 보호되어 있는 프로퍼티

protected PointF,System.Drawing videoOffset
리턴 System.Drawing.PointF

videoRenderer 보호되어 있는 프로퍼티

protected IBaseFilter videoRenderer
리턴 IBaseFilter

videoZoom 보호되어 있는 프로퍼티

protected double videoZoom
리턴 double

videoZoomMode 보호되어 있는 프로퍼티

protected VideoSizeMode videoZoomMode
리턴 VideoSizeMode