]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/staging/cx25821/cx25821-medusa-video.h
V4L/DVB (12730): Add conexant cx25821 driver
[karo-tx-linux.git] / drivers / staging / cx25821 / cx25821-medusa-video.h
1 /*\r
2  *  Driver for the Conexant CX25821 PCIe bridge\r
3  *\r
4  *  Copyright (C) 2009 Conexant Systems Inc. \r
5  *  Authors  <shu.lin@conexant.com>, <hiep.huynh@conexant.com>\r
6  *\r
7  *  This program is free software; you can redistribute it and/or modify\r
8  *  it under the terms of the GNU General Public License as published by\r
9  *  the Free Software Foundation; either version 2 of the License, or\r
10  *  (at your option) any later version.\r
11  *\r
12  *  This program is distributed in the hope that it will be useful,\r
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
15  *\r
16  *  GNU General Public License for more details.\r
17  *\r
18  *  You should have received a copy of the GNU General Public License\r
19  *  along with this program; if not, write to the Free Software\r
20  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
21  */\r
22 \r
23 #ifndef _MEDUSA_VIDEO_H\r
24 #define _MEDUSA_VIDEO_H\r
25 \r
26 #include "cx25821-medusa-defines.h"
27
28
29 // Color control constants 
30 #define VIDEO_PROCAMP_MIN                 0
31 #define VIDEO_PROCAMP_MAX                 10000
32 #define UNSIGNED_BYTE_MIN                 0
33 #define UNSIGNED_BYTE_MAX                 0xFF
34 #define SIGNED_BYTE_MIN                   -128
35 #define SIGNED_BYTE_MAX                   127
36
37 // Default video color settings
38 #define SHARPNESS_DEFAULT                 50
39 #define SATURATION_DEFAULT              5000
40 #define BRIGHTNESS_DEFAULT              6200
41 #define CONTRAST_DEFAULT                5000
42 #define HUE_DEFAULT                     5000
43
44
45 unsigned short                  _num_decoders;
46 unsigned short                  _num_cameras;
47
48 unsigned int            _video_standard;
49 int                                         _display_field_cnt[MAX_DECODERS];
50 \r
51 #endif