![]() |
MediaX v1.1.2 [7554dd3]
Video streaming for military vehicles
|
A simple video receiver example. More...
#include <assert.h>#include <capture.h>#include <capture_yuyv.h>#include <errno.h>#include <fcntl.h>#include <getopt.h>#include <linux/videodev2.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <sys/stat.h>#include <sys/time.h>#include <sys/types.h>#include <unistd.h>#include <utils.h>
Data Structures | |
| struct | buffer |
| The buffer structure. More... | |
Macros | |
| #define | CLEAR(x) memset(&(x), 0, sizeof(x)) |
| #define | WIDTH 640 |
| #define | HEIGHT 480 |
| #define | GRAB_NUM_FRAMES 100 |
| #define | BYTESPERPIXEL 3 |
Variables | |
| struct buffer * | buffers = NULL |
A simple video receiver example.