C# 클래스 ZBar.Video

Mid-level video source abstraction. captures images from a video device
상속: IDisposable
파일 보기 프로젝트 열기: jonasfj/zbar-sharp

공개 메소드들

메소드 설명
Close ( ) : void

Close the video device

Dispose ( ) : void

Release resources held by this object

NextFrame ( ) : Image

Retrieve next captured image

This method blocks untill an image have been captured.

Open ( string device ) : void

Open and probe a video device.

RequestSize ( uint width, uint height ) : void

Request a other output image size

The request may be adjusted or completely ignored by the driver.

Video ( ) : System

Create a video instance

보호된 메소드들

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

Dispose this object

This boolean disposing parameter here ensures that objects with a finalizer is not disposed, this is method is invoked from the finalizer. Do overwrite, and call, this method in base classes if you use any unmanaged resources.

비공개 메소드들

메소드 설명
zbar_video_create ( ) : IntPtr
zbar_video_destroy ( IntPtr video ) : void
zbar_video_enable ( IntPtr video, int enable ) : int
zbar_video_get_fd ( IntPtr video ) : int
zbar_video_get_height ( IntPtr video ) : int
zbar_video_get_width ( IntPtr video ) : int
zbar_video_init ( IntPtr video, uint format ) : int
zbar_video_next_image ( IntPtr video ) : IntPtr
zbar_video_open ( IntPtr video, string device ) : int
zbar_video_request_interface ( IntPtr video, int version ) : int
zbar_video_request_iomode ( IntPtr video, int iomode ) : int
zbar_video_request_size ( IntPtr video, uint width, uint height ) : int

메소드 상세

Close() 공개 메소드

Close the video device
public Close ( ) : void
리턴 void

Dispose() 공개 메소드

Release resources held by this object
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Dispose this object
This boolean disposing parameter here ensures that objects with a finalizer is not disposed, this is method is invoked from the finalizer. Do overwrite, and call, this method in base classes if you use any unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool /// A False if called from the finalizer, True if called from Dispose. ///
리턴 void

NextFrame() 공개 메소드

Retrieve next captured image
This method blocks untill an image have been captured.
public NextFrame ( ) : Image
리턴 Image

Open() 공개 메소드

Open and probe a video device.
public Open ( string device ) : void
device string /// The device specified by platform specific unique name (v4l device node path in *nix eg "/dev/video", DirectShow DevicePath property in windows). ///
리턴 void

RequestSize() 공개 메소드

Request a other output image size
The request may be adjusted or completely ignored by the driver.
public RequestSize ( uint width, uint height ) : void
width uint /// Desired output width ///
height uint /// Desired output height ///
리턴 void

Video() 공개 메소드

Create a video instance
public Video ( ) : System
리턴 System