• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _DVBOSD_H_
20 #define _DVBOSD_H_
21 #include <linux/compiler.h>
22 typedef enum {
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24  OSD_Close=1,
25  OSD_Open,
26  OSD_Show,
27  OSD_Hide,
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  OSD_Clear,
30  OSD_Fill,
31  OSD_SetColor,
32  OSD_SetPalette,
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  OSD_SetTrans,
35  OSD_SetPixel,
36  OSD_GetPixel,
37  OSD_SetRow,
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  OSD_SetBlock,
40  OSD_FillRow,
41  OSD_FillBlock,
42  OSD_Line,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  OSD_Query,
45  OSD_Test,
46  OSD_Text,
47  OSD_SetWindow,
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  OSD_MoveWindow,
50  OSD_OpenRaw,
51 } OSD_Command;
52 typedef struct osd_cmd_s {
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  OSD_Command cmd;
55  int x0;
56  int y0;
57  int x1;
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  int y1;
60  int color;
61  void __user *data;
62 } osd_cmd_t;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 typedef enum {
65  OSD_BITMAP1,
66  OSD_BITMAP2,
67  OSD_BITMAP4,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69  OSD_BITMAP8,
70  OSD_BITMAP1HR,
71  OSD_BITMAP2HR,
72  OSD_BITMAP4HR,
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74  OSD_BITMAP8HR,
75  OSD_YCRCB422,
76  OSD_YCRCB444,
77  OSD_YCRCB444HR,
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79  OSD_VIDEOTSIZE,
80  OSD_VIDEOHSIZE,
81  OSD_VIDEOQSIZE,
82  OSD_VIDEODSIZE,
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84  OSD_VIDEOTHSIZE,
85  OSD_VIDEOTQSIZE,
86  OSD_VIDEOTDSIZE,
87  OSD_VIDEONSIZE,
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89  OSD_CURSOR
90 } osd_raw_window_t;
91 typedef struct osd_cap_s {
92  int cmd;
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 #define OSD_CAP_MEMSIZE 1
95  long val;
96 } osd_cap_t;
97 #define OSD_SEND_CMD _IOW('o', 160, osd_cmd_t)
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define OSD_GET_CAPABILITY _IOR('o', 161, osd_cap_t)
100 #endif
101