Defines | Functions | Variables
dynctrl.c File Reference
#include <sys/ioctl.h>
#include <sys/time.h>
#include <getopt.h>
#include <errno.h>
#include <pthread.h>
#include <stdio.h>
#include <linux/videodev2.h>
#include "utils.h"
#include "dynctrl.h"
Include dependency graph for dynctrl.c:

Go to the source code of this file.

Defines

#define LENGTH_OF_XU_CTR   (6)
#define LENGTH_OF_XU_MAP   (10)

Functions

int initDynCtrls (int fd)
int uvcPanTilt (int dev, int pan, int tilt, int reset)

Variables

static struct uvc_xu_control_info xu_ctrls []
static struct
uvc_xu_control_mapping 
xu_mappings []

Define Documentation

#define LENGTH_OF_XU_CTR   (6)

Definition at line 36 of file dynctrl.c.

#define LENGTH_OF_XU_MAP   (10)

Definition at line 37 of file dynctrl.c.


Function Documentation

int initDynCtrls ( int  fd)

Definition at line 190 of file dynctrl.c.

int uvcPanTilt ( int  dev,
int  pan,
int  tilt,
int  reset 
)

Definition at line 225 of file dynctrl.c.


Variable Documentation

struct uvc_xu_control_info xu_ctrls[] [static]

Definition at line 39 of file dynctrl.c.

Definition at line 86 of file dynctrl.c.



corobot_pantilt
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:39:02