Classes | Defines | Functions
v4l2uvc.h File Reference
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/select.h>
#include <linux/videodev2.h>
#include "uvcvideo.h"
#include "dynctrl-logitech.h"
Include dependency graph for v4l2uvc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vdIn

Defines

#define DHT_SIZE   432
#define NB_BUFFER   4

Functions

int check_videoIn (struct vdIn *vd, char *device)
int close_v4l2 (struct vdIn *vd)
int enum_controls (int vd)
int enum_frame_formats (int dev, unsigned int *supported_formats, unsigned int max_formats)
int enum_frame_intervals (int dev, __u32 pixfmt, __u32 width, __u32 height)
int enum_frame_sizes (int dev, __u32 pixfmt)
int init_videoIn (struct vdIn *vd, char *device, int width, int height, float fps, int format, int grabmethod, char *avifilename)
int load_controls (int vd, const char *filename)
int save_controls (int vd, const char *filename)
int uvcGrab (struct vdIn *vd)
int v4l2DownControl (struct vdIn *vd, int control)
int v4l2GetControl (struct vdIn *vd, int control)
int v4l2ResetControl (struct vdIn *vd, int control)
int v4l2ResetPan (struct vdIn *vd)
int v4l2ResetPanTilt (struct vdIn *vd)
int v4l2ResetTilt (struct vdIn *vd)
int v4l2SetControl (struct vdIn *vd, int control, int value)
int v4l2SetLightFrequencyFilter (struct vdIn *vd, int flt)
int v4l2ToggleControl (struct vdIn *vd, int control)
int v4l2UpControl (struct vdIn *vd, int control)
int v4L2UpDownPan (struct vdIn *vd, short inc)
int v4L2UpDownPanTilt (struct vdIn *vd, short inc_p, short inc_t)
int v4L2UpDownTilt (struct vdIn *vd, short inc)

Define Documentation

#define DHT_SIZE   432

Definition at line 39 of file v4l2uvc.h.

#define NB_BUFFER   4

Definition at line 38 of file v4l2uvc.h.


Function Documentation

int check_videoIn ( struct vdIn vd,
char *  device 
)

Definition at line 67 of file v4l2uvc.c.

int close_v4l2 ( struct vdIn vd)

Definition at line 676 of file v4l2uvc.c.

int enum_controls ( int  vd)

Definition at line 178 of file v4l2uvc.c.

int enum_frame_formats ( int  dev,
unsigned int *  supported_formats,
unsigned int  max_formats 
)

Definition at line 1122 of file v4l2uvc.c.

int enum_frame_intervals ( int  dev,
__u32  pixfmt,
__u32  width,
__u32  height 
)

Definition at line 1041 of file v4l2uvc.c.

int enum_frame_sizes ( int  dev,
__u32  pixfmt 
)

Definition at line 1079 of file v4l2uvc.c.

int init_videoIn ( struct vdIn vd,
char *  device,
int  width,
int  height,
float  fps,
int  format,
int  grabmethod,
char *  avifilename 
)

Definition at line 104 of file v4l2uvc.c.

int load_controls ( int  vd,
const char *  filename 
)

Definition at line 320 of file v4l2uvc.c.

int save_controls ( int  vd,
const char *  filename 
)

Definition at line 261 of file v4l2uvc.c.

int uvcGrab ( struct vdIn vd)

Definition at line 561 of file v4l2uvc.c.

int v4l2DownControl ( struct vdIn vd,
int  control 
)

Definition at line 779 of file v4l2uvc.c.

int v4l2GetControl ( struct vdIn vd,
int  control 
)

Definition at line 713 of file v4l2uvc.c.

int v4l2ResetControl ( struct vdIn vd,
int  control 
)

Definition at line 825 of file v4l2uvc.c.

int v4l2ResetPan ( struct vdIn vd)

Definition at line 844 of file v4l2uvc.c.

int v4l2ResetPanTilt ( struct vdIn vd)

Definition at line 884 of file v4l2uvc.c.

int v4l2ResetTilt ( struct vdIn vd)

Definition at line 864 of file v4l2uvc.c.

int v4l2SetControl ( struct vdIn vd,
int  control,
int  value 
)

Definition at line 728 of file v4l2uvc.c.

int v4l2SetLightFrequencyFilter ( struct vdIn vd,
int  flt 
)

Definition at line 1024 of file v4l2uvc.c.

int v4l2ToggleControl ( struct vdIn vd,
int  control 
)

Definition at line 808 of file v4l2uvc.c.

int v4l2UpControl ( struct vdIn vd,
int  control 
)

Definition at line 750 of file v4l2uvc.c.

int v4L2UpDownPan ( struct vdIn vd,
short  inc 
)

Definition at line 905 of file v4l2uvc.c.

int v4L2UpDownPanTilt ( struct vdIn vd,
short  inc_p,
short  inc_t 
)

Definition at line 940 of file v4l2uvc.c.

int v4L2UpDownTilt ( struct vdIn vd,
short  inc 
)

Definition at line 923 of file v4l2uvc.c.



tuw_uvc
Author(s):
autogenerated on Sun May 29 2016 02:50:28