opt_nm33_uvc.h
Go to the documentation of this file.
00001 /*                                                            */
00002 /* This code is based on luvcview_wr_100823 from Opt corp.    */
00003 /*                                                            */
00004 /*                  2010/09/15    k-okada@jsk.t.u-tokyo.ac.jp */
00005 #ifndef _OPT_NM33_UVC_H_
00006 #define _OPT_NM33_UVC_H_
00007 
00008 //#define NON_STD_UVC = 1
00009 //
00010 // 2010/8/23 Opt Corporation.
00011 //
00012 //  add xu_control_tbl
00013 //  add set_xu_control()
00014 
00015 #include <stdio.h>
00016 #include <errno.h>
00017 #include <string.h>
00018 #include <sys/ioctl.h>
00019 #include <linux/videodev2.h>
00020 #include "uvcvideo.h"
00021 
00022 typedef struct uvc_xu_tbl_info {
00023         __u8 name[32];
00024         __u8 selector;
00025         __u16 size;
00026         __u8 offset;
00027         __u32 flag;
00028         enum v4l2_ctrl_type v4l2_type;
00029         __u32 data_type;
00030 }uvc_xu_tbl_info;
00031 
00032 extern uvc_xu_tbl_info xu_control_tbl[];
00033 extern int uvc_xu_tbl_cnt;
00034 
00035 int set_XU_control(int vd);
00036 
00037 #endif // _OPT_NM33_UVC_H_


opt_camera
Author(s): Kei Okada
autogenerated on Wed Jul 10 2019 03:24:10