Image Component Library (ICL)
|
The Video for Linux 2 Grabber uses the v4l2-api to access video capturing devices \. More...
#include <V4L2Grabber.h>
Public Member Functions | |
ICLIO_API | V4L2Grabber (const std::string &device="/dev/video0") |
create a new grabbers instance, with given device name ( | |
ICLIO_API | ~V4L2Grabber () |
Destruktoer. | |
virtual ICLIO_API const core::ImgBase * | acquireImage () |
obtains the next image | |
Static Public Member Functions | |
static ICLIO_API const std::vector < GrabberDeviceDescription > & | getDeviceList (std::string hint, bool rescan) |
returns a list of all supported video devices | |
Private Member Functions | |
void | addProperties () |
adds properties to Configurable | |
void | processPropertyChange (const utils::Configurable::Property &prop) |
callback for changed configurable properties | |
Private Attributes | |
Impl * | impl |
internal implementation | |
utils::Mutex | implMutex |
protects the impl which is reallocated when the core::format is changed |
The Video for Linux 2 Grabber uses the v4l2-api to access video capturing devices \.
This grabber backend is usually used for USB-Webcams as well as for Grabber cards
ICLIO_API icl::io::V4L2Grabber::V4L2Grabber | ( | const std::string & | device = "/dev/video0" | ) |
create a new grabbers instance, with given device name (
Destruktoer.
virtual ICLIO_API const core::ImgBase* icl::io::V4L2Grabber::acquireImage | ( | ) | [virtual] |
obtains the next image
Reimplemented from icl::io::Grabber.
void icl::io::V4L2Grabber::addProperties | ( | ) | [private] |
adds properties to Configurable
static ICLIO_API const std::vector<GrabberDeviceDescription>& icl::io::V4L2Grabber::getDeviceList | ( | std::string | hint, |
bool | rescan | ||
) | [static] |
returns a list of all supported video devices
void icl::io::V4L2Grabber::processPropertyChange | ( | const utils::Configurable::Property & | prop | ) | [private] |
callback for changed configurable properties
Reimplemented from icl::io::Grabber.
Impl* icl::io::V4L2Grabber::impl [private] |
internal implementation
internal data structure
utils::Mutex icl::io::V4L2Grabber::implMutex [private] |
protects the impl which is reallocated when the core::format is changed