xref: /linux/drivers/media/pci/cx25821/cx25821-medusa-video.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *  Driver for the Conexant CX25821 PCIe bridge
4  *
5  *  Copyright (C) 2009 Conexant Systems Inc.
6  *  Authors  <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
7  */
8 
9 #ifndef _MEDUSA_VIDEO_H
10 #define _MEDUSA_VIDEO_H
11 
12 #include "cx25821-medusa-defines.h"
13 
14 /* Color control constants */
15 #define VIDEO_PROCAMP_MIN                 0
16 #define VIDEO_PROCAMP_MAX                 10000
17 #define UNSIGNED_BYTE_MIN                 0
18 #define UNSIGNED_BYTE_MAX                 0xFF
19 #define SIGNED_BYTE_MIN                   -128
20 #define SIGNED_BYTE_MAX                   127
21 
22 /* Default video color settings */
23 #define SHARPNESS_DEFAULT                 50
24 #define SATURATION_DEFAULT              5000
25 #define BRIGHTNESS_DEFAULT              6200
26 #define CONTRAST_DEFAULT                5000
27 #define HUE_DEFAULT                     5000
28 
29 #endif
30