C# Class Fusion.Engine.Media.VideoSampleGrabber

Inheritance: SharpDX.CallbackBase, SampleGrabberSinkCallback
显示文件 Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
OnClockPause ( long systemTime ) : void
OnClockRestart ( long systemTime ) : void
OnClockSetRate ( long systemTime, float flRate ) : void
OnClockStart ( long systemTime, long llClockStartOffset ) : void
OnClockStop ( long hnsSystemTime ) : void
OnProcessSample ( System.Guid guidMajorMediaType, int dwSampleFlags, long llSampleTime, long llSampleDuration, IntPtr sampleBufferRef, int dwSampleSize ) : void
OnSetPresentationClock ( PresentationClock presentationClockRef ) : void
OnShutdown ( ) : void

Method Details

OnClockPause() public method

public OnClockPause ( long systemTime ) : void
systemTime long
return void

OnClockRestart() public method

public OnClockRestart ( long systemTime ) : void
systemTime long
return void

OnClockSetRate() public method

public OnClockSetRate ( long systemTime, float flRate ) : void
systemTime long
flRate float
return void

OnClockStart() public method

public OnClockStart ( long systemTime, long llClockStartOffset ) : void
systemTime long
llClockStartOffset long
return void

OnClockStop() public method

public OnClockStop ( long hnsSystemTime ) : void
hnsSystemTime long
return void

OnProcessSample() public method

public OnProcessSample ( System.Guid guidMajorMediaType, int dwSampleFlags, long llSampleTime, long llSampleDuration, IntPtr sampleBufferRef, int dwSampleSize ) : void
guidMajorMediaType System.Guid
dwSampleFlags int
llSampleTime long
llSampleDuration long
sampleBufferRef System.IntPtr
dwSampleSize int
return void

OnSetPresentationClock() public method

public OnSetPresentationClock ( PresentationClock presentationClockRef ) : void
presentationClockRef PresentationClock
return void

OnShutdown() public method

public OnShutdown ( ) : void
return void