blob: 9aab98f96e8c4d6fe22542de4a2051e9740f5164 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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>
22typedef enum {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 OSD_Close = 1,
25 OSD_Open,
26 OSD_Show,
27 OSD_Hide,
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 OSD_Clear,
30 OSD_Fill,
31 OSD_SetColor,
32 OSD_SetPalette,
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 OSD_SetTrans,
35 OSD_SetPixel,
36 OSD_GetPixel,
37 OSD_SetRow,
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 OSD_SetBlock,
40 OSD_FillRow,
41 OSD_FillBlock,
42 OSD_Line,
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 OSD_Query,
45 OSD_Test,
46 OSD_Text,
47 OSD_SetWindow,
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 OSD_MoveWindow,
50 OSD_OpenRaw,
Ben Cheng655a7c02013-10-16 16:09:24 -070051} OSD_Command;
52typedef struct osd_cmd_s {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 OSD_Command cmd;
55 int x0;
56 int y0;
57 int x1;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 int y1;
60 int color;
61 void __user * data;
Ben Cheng655a7c02013-10-16 16:09:24 -070062} osd_cmd_t;
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64typedef enum {
Tao Baod7db5942015-01-28 10:07:51 -080065 OSD_BITMAP1,
66 OSD_BITMAP2,
67 OSD_BITMAP4,
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 OSD_BITMAP8,
70 OSD_BITMAP1HR,
71 OSD_BITMAP2HR,
72 OSD_BITMAP4HR,
Ben Cheng655a7c02013-10-16 16:09:24 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 OSD_BITMAP8HR,
75 OSD_YCRCB422,
76 OSD_YCRCB444,
77 OSD_YCRCB444HR,
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080079 OSD_VIDEOTSIZE,
80 OSD_VIDEOHSIZE,
81 OSD_VIDEOQSIZE,
82 OSD_VIDEODSIZE,
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 OSD_VIDEOTHSIZE,
85 OSD_VIDEOTQSIZE,
86 OSD_VIDEOTDSIZE,
87 OSD_VIDEONSIZE,
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080089 OSD_CURSOR
Ben Cheng655a7c02013-10-16 16:09:24 -070090} osd_raw_window_t;
91typedef struct osd_cap_s {
Tao Baod7db5942015-01-28 10:07:51 -080092 int cmd;
Ben Cheng655a7c02013-10-16 16:09:24 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94#define OSD_CAP_MEMSIZE 1
Tao Baod7db5942015-01-28 10:07:51 -080095 long val;
Ben Cheng655a7c02013-10-16 16:09:24 -070096} 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