V4Lgrabber.C File Reference

#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>
Include dependency graph for V4Lgrabber.C:

Go to the source code of this file.

Defines

#define MYLOGID   itsFd
 for id-logging; see log.H:
#define CHECK_PALETTE(p)

Detailed Description

Interface with a video4linux frame grabber

Definition in file V4Lgrabber.C.


Define Documentation

#define CHECK_PALETTE (  ) 
Value:
{                                       \
          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.

Generated on Sun May 8 08:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3