annotate TVout/matroxset/matroxfb.h @ 2682:77a237be71a6

fixed api revision and input fourcc handling (mappings are working too :)
author alex
date Sun, 04 Nov 2001 14:21:44 +0000
parents 3b5f5d1c5041
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 #ifndef __LINUX_MATROXFB_H__
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 #define __LINUX_MATROXFB_H__
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 #include <asm/ioctl.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #include <asm/types.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 struct matroxioc_output_mode {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 __u32 output; /* which output */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #define MATROXFB_OUTPUT_PRIMARY 0x0000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #define MATROXFB_OUTPUT_SECONDARY 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 __u32 mode; /* which mode */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #define MATROXFB_OUTPUT_MODE_PAL 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #define MATROXFB_OUTPUT_MODE_NTSC 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #define MATROXFB_OUTPUT_MODE_MONITOR 0x0080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 };
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #define MATROXFB_SET_OUTPUT_MODE _IOW('n',0xFA,sizeof(struct matroxioc_output_mode))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #define MATROXFB_GET_OUTPUT_MODE _IOWR('n',0xFA,sizeof(struct matroxioc_output_mode))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 /* bitfield */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 #define MATROXFB_OUTPUT_CONN_PRIMARY (1 << MATROXFB_OUTPUT_PRIMARY)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 #define MATROXFB_OUTPUT_CONN_SECONDARY (1 << MATROXFB_OUTPUT_SECONDARY)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 /* connect these outputs to this framebuffer */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define MATROXFB_SET_OUTPUT_CONNECTION _IOW('n',0xF8,sizeof(__u32))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 /* which outputs are connected to this framebuffer */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 #define MATROXFB_GET_OUTPUT_CONNECTION _IOR('n',0xF8,sizeof(__u32))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 /* which outputs are available for this framebuffer */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define MATROXFB_GET_AVAILABLE_OUTPUTS _IOR('n',0xF9,sizeof(__u32))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 /* which outputs exist on this framebuffer */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define MATROXFB_GET_ALL_OUTPUTS _IOR('n',0xFB,sizeof(__u32))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32