
#include "Devices/V4Lgrabber.H"#include "Component/OptionManager.H"#include "Devices/DeviceOpts.H"#include "Image/ColorOps.H"#include "Raster/GenericFrame.H"#include "Util/Assert.H"#include "Util/log.H"#include "Video/VideoFrame.H"#include <cerrno>#include <fcntl.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <sys/stat.h>#include <unistd.h>
Go to the source code of this file.
Defines | |
| #define | MYLOGID itsFd |
| for id-logging; see log.H: | |
| #define | CHECK_PALETTE(p) |
Interface with a video4linux frame grabber
Definition in file V4Lgrabber.C.
| #define CHECK_PALETTE | ( | p | ) |
{ \
vp.palette = p; \
vp.depth = 32; \
ioctl_nointr(itsFd, VIDIOCSPICT, &vp);\
ioctl_nointr(itsFd, VIDIOCGPICT, &vp);\
if (vp.palette == p) \
LINFO(" %-22s supported", #p); \
else \
LINFO(" %-22s NOT supported", #p); \
}
| #define MYLOGID itsFd |
for id-logging; see log.H:
Definition at line 58 of file V4Lgrabber.C.
1.6.3