Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
uvcvideo.h File Reference
#include <linux/ioctl.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  uvc_menu_info
 
struct  uvc_xu_control_mapping
 
struct  uvc_xu_control_query
 

Macros

#define UVC_CTRL_DATA_TYPE_RAW   0
 
#define UVC_CTRL_DATA_TYPE_SIGNED   1
 
#define UVC_CTRL_DATA_TYPE_UNSIGNED   2
 
#define UVC_CTRL_DATA_TYPE_BOOLEAN   3
 
#define UVC_CTRL_DATA_TYPE_ENUM   4
 
#define UVC_CTRL_DATA_TYPE_BITMASK   5
 
#define UVC_CTRL_FLAG_SET_CUR   (1 << 0)
 
#define UVC_CTRL_FLAG_GET_CUR   (1 << 1)
 
#define UVC_CTRL_FLAG_GET_MIN   (1 << 2)
 
#define UVC_CTRL_FLAG_GET_MAX   (1 << 3)
 
#define UVC_CTRL_FLAG_GET_RES   (1 << 4)
 
#define UVC_CTRL_FLAG_GET_DEF   (1 << 5)
 
#define UVC_CTRL_FLAG_RESTORE   (1 << 6)
 
#define UVC_CTRL_FLAG_AUTO_UPDATE   (1 << 7)
 
#define UVC_CTRL_FLAG_GET_RANGE
 
#define UVCIOC_CTRL_MAP   _IOWR('u', 0x20, struct uvc_xu_control_mapping)
 
#define UVCIOC_CTRL_QUERY   _IOWR('u', 0x21, struct uvc_xu_control_query)
 

Macro Definition Documentation

#define UVC_CTRL_DATA_TYPE_BITMASK   5

Definition at line 17 of file uvcvideo.h.

#define UVC_CTRL_DATA_TYPE_BOOLEAN   3

Definition at line 15 of file uvcvideo.h.

#define UVC_CTRL_DATA_TYPE_ENUM   4

Definition at line 16 of file uvcvideo.h.

#define UVC_CTRL_DATA_TYPE_RAW   0

Definition at line 12 of file uvcvideo.h.

#define UVC_CTRL_DATA_TYPE_SIGNED   1

Definition at line 13 of file uvcvideo.h.

#define UVC_CTRL_DATA_TYPE_UNSIGNED   2

Definition at line 14 of file uvcvideo.h.

#define UVC_CTRL_FLAG_AUTO_UPDATE   (1 << 7)

Definition at line 29 of file uvcvideo.h.

#define UVC_CTRL_FLAG_GET_CUR   (1 << 1)

Definition at line 21 of file uvcvideo.h.

#define UVC_CTRL_FLAG_GET_DEF   (1 << 5)

Definition at line 25 of file uvcvideo.h.

#define UVC_CTRL_FLAG_GET_MAX   (1 << 3)

Definition at line 23 of file uvcvideo.h.

#define UVC_CTRL_FLAG_GET_MIN   (1 << 2)

Definition at line 22 of file uvcvideo.h.

#define UVC_CTRL_FLAG_GET_RANGE
Value:
UVC_CTRL_FLAG_GET_MAX | UVC_CTRL_FLAG_GET_RES | \
UVC_CTRL_FLAG_GET_DEF)

Definition at line 31 of file uvcvideo.h.

#define UVC_CTRL_FLAG_GET_RES   (1 << 4)

Definition at line 24 of file uvcvideo.h.

#define UVC_CTRL_FLAG_RESTORE   (1 << 6)

Definition at line 27 of file uvcvideo.h.

#define UVC_CTRL_FLAG_SET_CUR   (1 << 0)

Definition at line 20 of file uvcvideo.h.

#define UVCIOC_CTRL_MAP   _IOWR('u', 0x20, struct uvc_xu_control_mapping)

Definition at line 67 of file uvcvideo.h.

#define UVCIOC_CTRL_QUERY   _IOWR('u', 0x21, struct uvc_xu_control_query)

Definition at line 68 of file uvcvideo.h.