⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tas5130c.h

📁 LINUX下的万能摄象头驱动
💻 H
字号:
/****************************************************************************#	 	TAS5130C      library                                       ## 		Copyright (C) 2004 Michel Xhaard   mxhaard@magic.fr         ##                                                                           ## This program is free software; you can redistribute it and/or modify      ## it under the terms of the GNU General Public License as published by      ## the Free Software Foundation; either version 2 of the License, or         ## (at your option) any later version.                                       ##                                                                           ## This program is distributed in the hope that it will be useful,           ## but WITHOUT ANY WARRANTY; without even the implied warranty of            ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             ## GNU General Public License for more details.                              ##                                                                           ## You should have received a copy of the GNU General Public License         ## along with this program; if not, write to the Free Software               ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA ##                                                                           #****************************************************************************/static __u16 tas5130cxx_start_data[][3] = {    {0xa0, 0x01, 0x0000},    {0xa0, 0x50, 0x0002},    {0xa0, 0x03, 0x0008},    {0xa0, 0x02, 0x0010},    {0xa0, 0x01, 0x0001},    {0xa0, 0x00, 0x0001},    {0xa0, 0x01, 0x0012},    {0xa0, 0x01, 0x0001},    {0xa0, 0x05, 0x0012},    {0xa0, 0x07, 0x00a5},    {0xa0, 0x02, 0x00a6}, /********************/    {0xa0, 0x02, 0x0003},    {0xa0, 0x80, 0x0004},    {0xa0, 0x01, 0x0005},    {0xa0, 0xe0, 0x0006}, /********************/    {0xa0, 0x04, 0x0098},    {0xa0, 0x0f, 0x009a},    {0xa0, 0x04, 0x011a},    {0xa0, 0x0f, 0x011c},    {0xa0, 0xe8, 0x009c},    {0xa0, 0x02, 0x009d},    {0xa0, 0x88, 0x009e},    {0xa0, 0x06, 0x008d},    {0xa0, 0xf7, 0x0101},    {0xa0, 0x0d, 0x0100},    {0xa0, 0x06, 0x0189},    {0xa0, 0x68, 0x018d},    {0xa0, 0x60, 0x01a8},    {0xa0, 0x00, 0x01ad},    {0xa0, 0x03, 0x01c5},    {0xa0, 0x13, 0x01cb},    {0xa0, 0x08, 0x0250},    {0xa0, 0x08, 0x0301},    {0xa1, 0x01, 0x0002},    {0xa1, 0x01, 0x0008},    {0xa0, 0x03, 0x0008},    {0xa0, 0x08, 0x01c6},    {0xa1, 0x01, 0x01c8},    {0xa1, 0x01, 0x01c9},    {0xa1, 0x01, 0x01ca},    {0xa0, 0x0f, 0x01cb},    {0xa0, 0x68, 0x010a},    {0xa0, 0xec, 0x010b},    {0xa0, 0xec, 0x010c},    {0xa0, 0xec, 0x010d},    {0xa0, 0x68, 0x010e},    {0xa0, 0xec, 0x010f},    {0xa0, 0xec, 0x0110},    {0xa0, 0xec, 0x0111},    {0xa0, 0x68, 0x0112}, /****** MATRIXT *****/    {0xa1, 0x01, 0x018d},    {0xa0, 0x90, 0x018d},	//90    {0xa1, 0x01, 0x0180},    {0xa0, 0x00, 0x0180},    {0xa0, 0x00, 0x0019},    {0xa0, 0xa3, 0x0092},    {0xa0, 0x01, 0x0093},    {0xa0, 0x00, 0x0094},    {0xa0, 0x01, 0x0090},    {0xa1, 0x01, 0x0091},    {0xa0, 0xa4, 0x0092},    {0xa0, 0x77, 0x0093},    {0xa0, 0x00, 0x0094},    {0xa0, 0x01, 0x0090},    {0xa1, 0x01, 0x0091},    {0xa0, 0x01, 0x00a3},    {0xa0, 0x77, 0x00a4},    {0xa0, 0x00, 0x0190},	//00    {0xa0, 0x03, 0x0191},	//03    {0xa0, 0xe8, 0x0192},	//e8    {0xa0, 0x0, 0x0195},	//0    {0xa0, 0x0, 0x0196},	//0    {0xa0, 0x7d, 0x0197},	//7d    {0xa0, 0x0c, 0x018c},    {0xa0, 0x18, 0x018f},    {0xa0, 0x08, 0x01a9},	//08    {0xa0, 0x24, 0x01aa},	//24    {0xa0, 0xf0, 0x001d},    {0xa0, 0xf4, 0x001e},    {0xa0, 0xf8, 0x001f},    {0xa0, 0xff, 0x0020},    {0xa0, 0x03, 0x009f},    {0xa0, 0xc0, 0x00a0},    {0xa0, 0x50, 0x011d},	//50    {0xa0, 0x40, 0x0180},    {0xa1, 0x01, 0x0180},    {0xa0, 0x42, 0x0180}, /********************/    {0, 0, 0},};static __u16 tas5130cxx_scale_data[][3] = {    {0xa0, 0x01, 0x0000},    {0xa0, 0x01, 0x0000},    {0xa0, 0x40, 0x0002},  /*******************/    {0xa0, 0x03, 0x0008},    {0xa1, 0x01, 0x0008}, /*******************/    {0xa0, 0x02, 0x0010},    {0xa0, 0x01, 0x0001},    {0xa0, 0x00, 0x0001},    {0xa0, 0x01, 0x0012},    {0xa0, 0x01, 0x0001},    {0xa0, 0x05, 0x0012},    {0xa0, 0x07, 0x00a5},    {0xa0, 0x02, 0x00a6},    {0xa0, 0x02, 0x0003},    {0xa0, 0x80, 0x0004},    {0xa0, 0x01, 0x0005},    {0xa0, 0xe0, 0x0006},    {0xa0, 0x05, 0x0098},    {0xa0, 0x0f, 0x009a},    {0xa0, 0x05, 0x011a},    {0xa0, 0x0f, 0x011c},    {0xa0, 0xe6, 0x009c},    {0xa0, 0x02, 0x009d},    {0xa0, 0x86, 0x009e},    {0xa0, 0x06, 0x008d},    {0xa0, 0x37, 0x0101},    {0xa0, 0x0d, 0x0100},    {0xa0, 0x06, 0x0189},    {0xa0, 0x68, 0x018d},    {0xa0, 0x60, 0x01a8},    {0xa0, 0x00, 0x01ad},    {0xa0, 0x03, 0x01c5},    {0xa0, 0x13, 0x01cb},    {0xa0, 0x08, 0x0250},    {0xa0, 0x08, 0x0301},    {0xa1, 0x01, 0x0002},    {0xa1, 0x01, 0x0008}, /*******************/    {0xa0, 0x03, 0x0008},    {0xa1, 0x01, 0x0008}, /*******************/    {0xa0, 0x08, 0x01c6},    {0xa1, 0x01, 0x01c8},    {0xa1, 0x01, 0x01c9},    {0xa1, 0x01, 0x01ca},    {0xa0, 0x0f, 0x01cb}, /*******************/    {0xa0, 0x68, 0x010a},    {0xa0, 0xec, 0x010b},    {0xa0, 0xec, 0x010c},    {0xa0, 0xec, 0x010d},    {0xa0, 0x68, 0x010e},    {0xa0, 0xec, 0x010f},    {0xa0, 0xec, 0x0110},    {0xa0, 0xec, 0x0111},    {0xa0, 0x68, 0x0112}, /*******************/    {0xa1, 0x01, 0x018d},    {0xa0, 0x90, 0x018d},    {0xa1, 0x01, 0x0180},    {0xa0, 0x00, 0x0180},    {0xa0, 0x00, 0x0019},    {0xa0, 0xa3, 0x0092},    {0xa0, 0x01, 0x0093},    {0xa0, 0x00, 0x0094},    {0xa0, 0x01, 0x0090},    {0xa1, 0x01, 0x0091},    {0xa0, 0xa4, 0x0092},    {0xa0, 0x63, 0x0093},    {0xa0, 0x00, 0x0094},    {0xa0, 0x01, 0x0090},    {0xa1, 0x01, 0x0091},    {0xa0, 0x01, 0x00a3},    {0xa0, 0x63, 0x00a4},    {0xa0, 0x00, 0x0190},    {0xa0, 0x02, 0x0191},    {0xa0, 0x38, 0x0192},    {0xa0, 0x00, 0x0195},    {0xa0, 0x00, 0x0196},    {0xa0, 0x47, 0x0197},    {0xa0, 0x0c, 0x018c},    {0xa0, 0x18, 0x018f},    {0xa0, 0x08, 0x01a9},    {0xa0, 0x24, 0x01aa},    {0xa0, 0xd3, 0x001d},    {0xa0, 0xda, 0x001e},    {0xa0, 0xea, 0x001f},    {0xa0, 0xff, 0x0020},    {0xa0, 0x03, 0x009f},    {0xa0, 0x4c, 0x00a0},    {0xa0, 0x50, 0x011d},    {0xa0, 0x40, 0x0180},    {0xa1, 0x01, 0x0180},    {0xa0, 0x42, 0x0180}, /********************/    {0, 0, 0},};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -