#include <yarp/os/PeriodicThread.h>#include <yarp/os/Semaphore.h>#include <yarp/dev/DeviceDriver.h>#include <yarp/dev/FrameGrabberInterfaces.h>#include <yarp/dev/IVisualParams.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>
Include dependency graph for V4L_camera.h:
This graph shows which files directly or indirectly include this file: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 52 of file V4L_camera.h.
| #define DEFAULT_FRAMERATE 30 |
Definition at line 57 of file V4L_camera.h.
| #define DEFAULT_HEIGHT 480 |
Definition at line 56 of file V4L_camera.h.
| #define DEFAULT_WIDTH 640 |
Definition at line 55 of file V4L_camera.h.
| #define VIDIOC_REQBUFS_COUNT 2 |
Definition at line 58 of file V4L_camera.h.
| enum io_method |
| Enumerator | |
|---|---|
| IO_METHOD_READ | |
| IO_METHOD_MMAP | |
| IO_METHOD_USERPTR | |
Definition at line 60 of file V4L_camera.h.
| enum supported_cams |
| Enumerator | |
|---|---|
| STANDARD_UVC | |
| LEOPARD_PYTHON | |
Definition at line 67 of file V4L_camera.h.