#include <yarp/os/PeriodicThread.h>
#include <yarp/os/Semaphore.h>
#include <yarp/dev/DeviceDriver.h>
#include <yarp/dev/IFrameGrabberImage.h>
#include <yarp/dev/IFrameGrabberControls.h>
#include <yarp/dev/IRgbVisualParams.h>
#include <yarp/dev/IPreciselyTimed.h>
#include <asm/types.h>
#include <opencv2/opencv.hpp>
#include <cerrno>
#include <fcntl.h>
#include <getopt.h>
#include <iostream>
#include <jpeglib.h>
#include <libv4l2.h>
#include <libv4lconvert.h>
#include <linux/videodev2.h>
#include <malloc.h>
#include <map>
#include <cstdlib>
#include <cstring>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | buffer |
struct | Video_params |
class | V4L_camera |
Macros | |
#define | CLEAR(x) memset(&(x), 0, sizeof(x)) |
#define | DEFAULT_WIDTH 640 |
#define | DEFAULT_HEIGHT 480 |
#define | DEFAULT_FRAMERATE 30 |
#define | VIDIOC_REQBUFS_COUNT 2 |
Enumerations | |
enum | io_method { IO_METHOD_READ , IO_METHOD_MMAP , IO_METHOD_USERPTR } |
enum | supported_cams { STANDARD_UVC = 0 , LEOPARD_PYTHON } |
#define CLEAR | ( | x | ) | memset(&(x), 0, sizeof(x)) |
Definition at line 40 of file V4L_camera.h.
#define DEFAULT_FRAMERATE 30 |
Definition at line 45 of file V4L_camera.h.
#define DEFAULT_HEIGHT 480 |
Definition at line 44 of file V4L_camera.h.
#define DEFAULT_WIDTH 640 |
Definition at line 43 of file V4L_camera.h.
#define VIDIOC_REQBUFS_COUNT 2 |
Definition at line 46 of file V4L_camera.h.
enum io_method |
Enumerator | |
---|---|
IO_METHOD_READ | |
IO_METHOD_MMAP | |
IO_METHOD_USERPTR |
Definition at line 48 of file V4L_camera.h.
enum supported_cams |
Enumerator | |
---|---|
STANDARD_UVC | |
LEOPARD_PYTHON |
Definition at line 55 of file V4L_camera.h.