Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdim...
[sfrench/cifs-2.6.git] / drivers / media / pci / cx25821 / cx25821-medusa-video.h
1 /*
2  *  Driver for the Conexant CX25821 PCIe bridge
3  *
4  *  Copyright (C) 2009 Conexant Systems Inc.
5  *  Authors  <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
6  *
7  *  This program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 2 of the License, or
10  *  (at your option) any later version.
11  *
12  *  This program is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *
16  *  GNU General Public License for more details.
17  */
18
19 #ifndef _MEDUSA_VIDEO_H
20 #define _MEDUSA_VIDEO_H
21
22 #include "cx25821-medusa-defines.h"
23
24 /* Color control constants */
25 #define VIDEO_PROCAMP_MIN                 0
26 #define VIDEO_PROCAMP_MAX                 10000
27 #define UNSIGNED_BYTE_MIN                 0
28 #define UNSIGNED_BYTE_MAX                 0xFF
29 #define SIGNED_BYTE_MIN                   -128
30 #define SIGNED_BYTE_MAX                   127
31
32 /* Default video color settings */
33 #define SHARPNESS_DEFAULT                 50
34 #define SATURATION_DEFAULT              5000
35 #define BRIGHTNESS_DEFAULT              6200
36 #define CONTRAST_DEFAULT                5000
37 #define HUE_DEFAULT                     5000
38
39 #endif