class VideoGrabberV4L

This class is designed to grab images using V4L

Inheritance:


Public Methods

[more] VideoGrabberV4L(const char* devname_, int width_, int height_, const char* output_video_format_ = "RGB24", const char* input_video_format_ = "YUV420P", int n_buffers_ = -1, int video_channel_ = 0, int frame_rate_ = 15, bool verbose_ = false)
creates a video grabber for a V4L device
[more]virtual ~VideoGrabberV4L()
destructor
[more]virtual bool initVideoSource()
[more]virtual bool openVideoSource()
[more]virtual bool closeVideoSource()
[more]virtual VirtualPixmap* getframe()
[more]virtual int getBrightness()
[more]virtual int getContrast()
[more]virtual int getHue()
[more]virtual int getColor()
[more]virtual int getGamma()


Inherited from VideoGrabber:

Public Methods

ovirtual bool setBrightness(int)
ovirtual bool setContrast(int)
ovirtual bool setHue(int)
ovirtual bool setColor(int)
ovirtual bool setGamma(int)


Inherited from VideoSource:

Public Fields

obool verbose
oint width
oint height

Public Methods

ovirtual bool releaseframe(VirtualPixmap* )
obool isOk()

Protected Fields

oshort status


Documentation

This class is designed to grab images using V4L

o VideoGrabberV4L(const char* devname_, int width_, int height_, const char* output_video_format_ = "RGB24", const char* input_video_format_ = "YUV420P", int n_buffers_ = -1, int video_channel_ = 0, int frame_rate_ = 15, bool verbose_ = false)
creates a video grabber for a V4L device

Parameters:
devname_ - is the name of the device (for instance "/dev/video0"
width_ - is the width of the image to capture
height_ - is the height of the image to capture
output_video_format_ - is the output format to convert to
input_video_format_ - is the native input format to capture
n_buffers_ - is the number of buffers to use (auto if -1)
video_channel_ - is the number of the video channel (S-Video, Composite1, Composite2, ...)
frame_rate_ - is the framerate to use during the capture

ovirtual ~VideoGrabberV4L()
destructor

ovirtual bool initVideoSource()

ovirtual bool openVideoSource()

ovirtual bool closeVideoSource()

ovirtual VirtualPixmap* getframe()

ovirtual int getBrightness()

ovirtual int getContrast()

ovirtual int getHue()

ovirtual int getColor()

ovirtual int getGamma()


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Wed 28 Jun 2006 05:19:42 PM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.