#include <LIN_V4L2Webcam.hpp>
Inherits kn::CameraParams.

Public Member Functions | |
| V4L2WebcamParams (const std::string &dn="/dev/video0", const size_t &expectedwidth=320, const size_t &expectedheight=240, const WebcamFormat &wf=FMT_YUYV, const GrabMethod &gm=MMAP_METHOD, const unsigned int &fps=30, const bool &f=false) | |
| Default constructor. | |
Public Attributes | |
| WebcamFormat | fmt |
| Format for webcam captures. | |
| GrabMethod | grab |
| Images grabbing method. | |
| unsigned int | framerate |
| Framerate of the webcam. | |
| bool | force |
| Force. | |
A V4L2 webcam defines capture format, grabbing method and framerate parameters in addition to default parameters
Definition at line 76 of file LIN_V4L2Webcam.hpp.
| kn::V4L2WebcamParams::V4L2WebcamParams | ( | const std::string & | dn = "/dev/video0", |
|
| const size_t & | expectedwidth = 320, |
|||
| const size_t & | expectedheight = 240, |
|||
| const WebcamFormat & | wf = FMT_YUYV, |
|||
| const GrabMethod & | gm = MMAP_METHOD, |
|||
| const unsigned int & | fps = 30, |
|||
| const bool & | f = false | |||
| ) | [inline] |
| unsigned int kn::V4L2WebcamParams::framerate |
1.5.8