C# 클래스 Accord.Controls.VideoSourcePlayer

파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckForCrossThreadAccess void
InitializeComponent void
UpdatePosition void
VideoSourcePlayer_Paint void
VideoSourcePlayer_ParentChanged void
parent_SizeChanged void
videoSource_NewFrame void
videoSource_PlayingFinished void
videoSource_VideoSourceError void

공개 메소드들

메소드 설명
GetCurrentVideoFrame ( ) : Bitmap

Get clone of current video frame displayed by the control.

SignalToStop ( ) : void

Signal video source to stop.

Use WaitForStop method to wait until video source stops.

Start ( ) : void

Start video source and displaying its frames.

Stop ( ) : void

Stop video source.

The method stops video source by calling its Accord.Video.IVideoSource.Stop method, which abourts internal video source's thread. Use SignalToStop and WaitForStop for more polite video source stopping, which gives a chance for video source to perform proper shut down and clean up.

VideoSourcePlayer ( ) : System

Initializes a new instance of the VideoSourcePlayer class.

WaitForStop ( ) : void

Wait for video source has stopped.

Waits for video source stopping after it was signaled to stop using SignalToStop method. If SignalToStop was not called, then it will be called automatically.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CheckForCrossThreadAccess ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

UpdatePosition ( ) : void
VideoSourcePlayer_Paint ( object sender, PaintEventArgs e ) : void
VideoSourcePlayer_ParentChanged ( object sender, EventArgs e ) : void
parent_SizeChanged ( object sender, EventArgs e ) : void
videoSource_NewFrame ( object sender, NewFrameEventArgs eventArgs ) : void
videoSource_PlayingFinished ( object sender, ReasonToFinishPlaying reason ) : void
videoSource_VideoSourceError ( object sender, VideoSourceErrorEventArgs eventArgs ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetCurrentVideoFrame() 공개 메소드

Get clone of current video frame displayed by the control.
public GetCurrentVideoFrame ( ) : Bitmap
리턴 Bitmap

SignalToStop() 공개 메소드

Signal video source to stop.

Use WaitForStop method to wait until video source stops.

public SignalToStop ( ) : void
리턴 void

Start() 공개 메소드

Start video source and displaying its frames.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stop video source.

The method stops video source by calling its Accord.Video.IVideoSource.Stop method, which abourts internal video source's thread. Use SignalToStop and WaitForStop for more polite video source stopping, which gives a chance for video source to perform proper shut down and clean up.

public Stop ( ) : void
리턴 void

VideoSourcePlayer() 공개 메소드

Initializes a new instance of the VideoSourcePlayer class.
public VideoSourcePlayer ( ) : System
리턴 System

WaitForStop() 공개 메소드

Wait for video source has stopped.

Waits for video source stopping after it was signaled to stop using SignalToStop method. If SignalToStop was not called, then it will be called automatically.

public WaitForStop ( ) : void
리턴 void