#include <cstring>
#include <string>
#include <cstdio>
#include <stdexcept>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <errno.h>
#include "uvc_cam/uvc_cam.h"
#include <unistd.h>
#include <linux/videodev2.h>
#include <libavcodec/avcodec.h>
#include <libswscale/swscale.h>
Go to the source code of this file.
Defines | |
#define | INT64_C(c) (c ## LL) |
#define | UINT64_C(c) (c ## ULL) |
Functions | |
unsigned char | sat (float f) |
Variables | |
static AVCodec * | avcodec = NULL |
static AVCodecContext * | avcodec_context = NULL |
static AVFrame * | avframe_camera = NULL |
static int | avframe_camera_size = 0 |
static AVFrame * | avframe_rgb = NULL |
static int | avframe_rgb_size = 0 |
unsigned char * | jpegBuf = NULL |
struct SwsContext * | video_sws = NULL |
#define INT64_C | ( | c | ) | (c ## LL) |
Definition at line 16 of file uvc_cam.cpp.
#define UINT64_C | ( | c | ) | (c ## ULL) |
Definition at line 17 of file uvc_cam.cpp.
unsigned char sat | ( | float | f | ) | [inline] |
Definition at line 382 of file uvc_cam.cpp.
AVCodec* avcodec = NULL [static] |
Definition at line 28 of file uvc_cam.cpp.
AVCodecContext* avcodec_context = NULL [static] |
Definition at line 29 of file uvc_cam.cpp.
AVFrame* avframe_camera = NULL [static] |
Definition at line 26 of file uvc_cam.cpp.
int avframe_camera_size = 0 [static] |
Definition at line 30 of file uvc_cam.cpp.
AVFrame* avframe_rgb = NULL [static] |
Definition at line 27 of file uvc_cam.cpp.
int avframe_rgb_size = 0 [static] |
Definition at line 31 of file uvc_cam.cpp.
unsigned char* jpegBuf = NULL |
Definition at line 33 of file uvc_cam.cpp.
struct SwsContext* video_sws = NULL |
Definition at line 32 of file uvc_cam.cpp.