#include <QCamV4L.hpp>
Inheritance diagram for QCamV4L:


Public Member Functions | |
| QCamFrame | yuvFrame () const |
| return the frame in yuv 420P format. | |
| const QSize & | size () const |
| return the size of the current frame. | |
| void | resize (const QSize &s) |
| try to resize the current frame. | |
| QWidget * | buildGUI (QWidget *parent) |
| build the GUI | |
Protected Member Functions | |
| virtual void | checkSize (int &x, int &y) const |
| should be overloaded. | |
| virtual const QSize * | getAllowedSize () const |
| should be overloaded. | |
| virtual int | getFrameRate () const |
| return the frame rate of the camera. | |
Protected Attributes | |
| video_mbuf | mmap_mbuf_ |
| mmap stuf | |
| QCamFrame QCamV4L::yuvFrame | ( | ) | const [inline, virtual] |
return the frame in yuv 420P format.
it is the native format used by all algoithms.
Implements QCam.
| void QCamV4L::resize | ( | const QSize & | s | ) | [virtual] |
| void QCamV4L::checkSize | ( | int & | x, | |
| int & | y | |||
| ) | const [protected, virtual] |
| const QSize * QCamV4L::getAllowedSize | ( | ) | const [protected, virtual] |
| virtual int QCamV4L::getFrameRate | ( | ) | const [inline, protected, virtual] |
return the frame rate of the camera.
is used if the select() system call is not avaible, by the timer used to probe the camera for a new frame
Reimplemented in QCamVesta.
1.5.1