Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tvp514x.h
Go to the documentation of this file.
1 /*
2  * drivers/media/video/tvp514x.h
3  *
4  * Copyright (C) 2008 Texas Instruments Inc
5  * Author: Vaibhav Hiremath <[email protected]>
6  *
7  * Contributors:
8  * Sivaraj R <[email protected]>
9  * Brijesh R Jadav <[email protected]>
10  * Hardik Shah <[email protected]>
11  * Manjunath Hadli <[email protected]>
12  * Karicheri Muralidharan <[email protected]>
13  *
14  * This package is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License version 2 as
16  * published by the Free Software Foundation.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26  *
27  */
28 
29 #ifndef _TVP514X_H
30 #define _TVP514X_H
31 
32 /*
33  * Other macros
34  */
35 #define TVP514X_MODULE_NAME "tvp514x"
36 
37 #define TVP514X_XCLK_BT656 (27000000)
38 
39 /* Number of pixels and number of lines per frame for different standards */
40 #define NTSC_NUM_ACTIVE_PIXELS (720)
41 #define NTSC_NUM_ACTIVE_LINES (480)
42 #define PAL_NUM_ACTIVE_PIXELS (720)
43 #define PAL_NUM_ACTIVE_LINES (576)
44 
50  /*
51  * CVBS input selection
52  */
63  /*
64  * S-Video input selection
65  */
78 
79  /* Need to add entries for
80  * RGB, YPbPr and SCART.
81  */
83 };
84 
95 };
96 
107  /* Interface control params */
111 };
112 
113 
114 #endif /* ifndef _TVP514X_H */