Defines | Functions | Variables
uvc_cam.cpp File Reference
#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>
Include dependency graph for uvc_cam.cpp:

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 Documentation

#define INT64_C (   c)    (c ## LL)

Definition at line 15 of file uvc_cam.cpp.

#define UINT64_C (   c)    (c ## ULL)

Definition at line 16 of file uvc_cam.cpp.


Function Documentation

unsigned char sat ( float  f) [inline]

Definition at line 382 of file uvc_cam.cpp.


Variable Documentation

AVCodec* avcodec = NULL [static]

Definition at line 27 of file uvc_cam.cpp.

AVCodecContext* avcodec_context = NULL [static]

Definition at line 28 of file uvc_cam.cpp.

AVFrame* avframe_camera = NULL [static]

Definition at line 25 of file uvc_cam.cpp.

int avframe_camera_size = 0 [static]

Definition at line 29 of file uvc_cam.cpp.

AVFrame* avframe_rgb = NULL [static]

Definition at line 26 of file uvc_cam.cpp.

int avframe_rgb_size = 0 [static]

Definition at line 30 of file uvc_cam.cpp.

unsigned char* jpegBuf = NULL

Definition at line 32 of file uvc_cam.cpp.

struct SwsContext* video_sws = NULL

Definition at line 31 of file uvc_cam.cpp.



corobot_camera
Author(s):
autogenerated on Wed Aug 26 2015 11:09:42