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