• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _DVBOSD_H_
7 #define _DVBOSD_H_
8 #include <linux/compiler.h>
9 typedef enum {
10 
11   OSD_Close=1,
12 
13 
14   OSD_Open,
15 
16 
17   OSD_Show,
18 
19 
20   OSD_Hide,
21 
22 
23   OSD_Clear,
24 
25 
26   OSD_Fill,
27 
28 
29   OSD_SetColor,
30 
31 
32 
33 
34 
35 
36 
37   OSD_SetPalette,
38 
39 
40 
41 
42   OSD_SetTrans,
43 
44 
45   OSD_SetPixel,
46 
47 
48   OSD_GetPixel,
49 
50   OSD_SetRow,
51 
52 
53   OSD_SetBlock,
54 
55 
56 
57 
58   OSD_FillRow,
59 
60 
61   OSD_FillBlock,
62 
63 
64   OSD_Line,
65 
66 
67   OSD_Query,
68 
69 
70   OSD_Test,
71 
72 
73   OSD_Text,
74   OSD_SetWindow,
75   OSD_MoveWindow,
76   OSD_OpenRaw,
77 } OSD_Command;
78 typedef struct osd_cmd_s {
79 	OSD_Command cmd;
80 	int x0;
81 	int y0;
82 	int x1;
83 	int y1;
84 	int color;
85 	void __user *data;
86 } osd_cmd_t;
87 typedef enum {
88 	OSD_BITMAP1,
89 	OSD_BITMAP2,
90 	OSD_BITMAP4,
91 	OSD_BITMAP8,
92 	OSD_BITMAP1HR,
93 	OSD_BITMAP2HR,
94 	OSD_BITMAP4HR,
95 	OSD_BITMAP8HR,
96 	OSD_YCRCB422,
97 	OSD_YCRCB444,
98 	OSD_YCRCB444HR,
99 	OSD_VIDEOTSIZE,
100 	OSD_VIDEOHSIZE,
101 	OSD_VIDEOQSIZE,
102 	OSD_VIDEODSIZE,
103 	OSD_VIDEOTHSIZE,
104 	OSD_VIDEOTQSIZE,
105 	OSD_VIDEOTDSIZE,
106 	OSD_VIDEONSIZE,
107 	OSD_CURSOR
108 } osd_raw_window_t;
109 typedef struct osd_cap_s {
110 	int  cmd;
111 #define OSD_CAP_MEMSIZE         1
112 	long val;
113 } osd_cap_t;
114 #define OSD_SEND_CMD            _IOW('o', 160, osd_cmd_t)
115 #define OSD_GET_CAPABILITY      _IOR('o', 161, osd_cap_t)
116 #endif
117