xref: /openbmc/linux/include/media/i2c/saa7127.h (revision a36954f5)
1 /*
2     saa7127.h - definition for saa7126/7/8/9 inputs/outputs
3 
4     Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl)
5 
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10 
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20 
21 #ifndef _SAA7127_H_
22 #define _SAA7127_H_
23 
24 /* Enumeration for the supported input types */
25 enum saa7127_input_type {
26 	SAA7127_INPUT_TYPE_NORMAL,
27 	SAA7127_INPUT_TYPE_TEST_IMAGE
28 };
29 
30 /* Enumeration for the supported output signal types */
31 enum saa7127_output_type {
32 	SAA7127_OUTPUT_TYPE_BOTH,
33 	SAA7127_OUTPUT_TYPE_COMPOSITE,
34 	SAA7127_OUTPUT_TYPE_SVIDEO,
35 	SAA7127_OUTPUT_TYPE_RGB,
36 	SAA7127_OUTPUT_TYPE_YUV_C,
37 	SAA7127_OUTPUT_TYPE_YUV_V
38 };
39 
40 #endif
41