C# Class Tsukikage.DirectShow.SampleGrabberGraph

VideoとAudioに対するSampleGrabberとNullRendererによるデコードグラフを提供します。
Inheritance: GraphBase
Exibir arquivo Open project: ttsuki/ttsuki Class Usage Examples

Public Methods

Method Description
BufferCB ( double SampleTime, IntPtr pBuffer, int BufferLen ) : int
SampleCB ( double SampleTime, IntPtr pSample ) : int
SampleGrabberGraph ( string path ) : System

VideoとAudioに対するSampleGrabberとNullRendererによるデコードグラフを提供します。

Protected Methods

Method Description
BuildGraph ( string path ) : void
OnAudioFrame ( double sampleTime, IntPtr pBuffer, int bufferLength ) : int

AudioFrameイベントを発生させます。

OnVideoFrame ( double sampleTime, IntPtr pBuffer, int bufferLength ) : int

VideoFrameイベントを発生させます。

ReleaseGraph ( ) : void

Private Methods

Method Description
BuildGrabber ( string filterNamePrefix, IPin srcOutputPin, System.Guid majorType, System.Guid subType, System.Guid formatType, SampleGrabberCallback callback ) : SampleGrabber

Method Details

BufferCB() public method

public BufferCB ( double SampleTime, IntPtr pBuffer, int BufferLen ) : int
SampleTime double
pBuffer System.IntPtr
BufferLen int
return int

BuildGraph() protected method

protected BuildGraph ( string path ) : void
path string
return void

OnAudioFrame() protected method

AudioFrameイベントを発生させます。
protected OnAudioFrame ( double sampleTime, IntPtr pBuffer, int bufferLength ) : int
sampleTime double
pBuffer System.IntPtr
bufferLength int
return int

OnVideoFrame() protected method

VideoFrameイベントを発生させます。
protected OnVideoFrame ( double sampleTime, IntPtr pBuffer, int bufferLength ) : int
sampleTime double
pBuffer System.IntPtr
bufferLength int
return int

ReleaseGraph() protected method

protected ReleaseGraph ( ) : void
return void

SampleCB() public method

public SampleCB ( double SampleTime, IntPtr pSample ) : int
SampleTime double
pSample System.IntPtr
return int

SampleGrabberGraph() public method

VideoとAudioに対するSampleGrabberとNullRendererによるデコードグラフを提供します。
public SampleGrabberGraph ( string path ) : System
path string ソースファイルへのパス
return System