C# 클래스 MediaPortal.FrameGrabber

Provides functionality for grabbing the next video frame handed by the VMR to MediaPortal.
파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1 1 사용 예제들

공개 메소드들

메소드 설명
Clean ( ) : void

Suggests that the FrameGrabber releases resources.

GetCurrentImage ( ) : Bitmap

Grabs the next frame of video obtained from the VMR9 and return it as an RGB image

GetInstance ( ) : FrameGrabber
OnFrame ( Int16 width, Int16 height, Int16 arWidth, Int16 arHeight, uint pSurface, FrameSource FrameSource ) : void

Callback that gives the framegrabber a chance to grab the frame

OnFrameGUI ( ) : void

Callback that gives the framegrabber a chance to grab a GUI frame

OnFrameGUI ( Surface surface ) : void

Callback that gives the framegrabber a chance to grab a GUI frame

비공개 메소드들

메소드 설명
FrameGrabber ( ) : System
VideoSurfaceToRGBSurface ( IntPtr src, IntPtr dst ) : void

메소드 상세

Clean() 공개 메소드

Suggests that the FrameGrabber releases resources.
public Clean ( ) : void
리턴 void

GetCurrentImage() 공개 메소드

Grabs the next frame of video obtained from the VMR9 and return it as an RGB image
public GetCurrentImage ( ) : Bitmap
리턴 System.Drawing.Bitmap

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : FrameGrabber
리턴 FrameGrabber

OnFrame() 공개 메소드

Callback that gives the framegrabber a chance to grab the frame
public OnFrame ( Int16 width, Int16 height, Int16 arWidth, Int16 arHeight, uint pSurface, FrameSource FrameSource ) : void
width System.Int16
height System.Int16
arWidth System.Int16
arHeight System.Int16
pSurface uint
FrameSource FrameSource
리턴 void

OnFrameGUI() 공개 메소드

Callback that gives the framegrabber a chance to grab a GUI frame
public OnFrameGUI ( ) : void
리턴 void

OnFrameGUI() 공개 메소드

Callback that gives the framegrabber a chance to grab a GUI frame
public OnFrameGUI ( Surface surface ) : void
surface Surface
리턴 void