C# Класс ZBar.Video

Mid-level video source abstraction. captures images from a video device
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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