1655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/**************************************************************************** 2655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng **************************************************************************** 3655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 4655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** This header was automatically generated from a Linux kernel header 5655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** of the same name, to make information necessary for userspace to 6655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** call into the kernel available to libc. It contains only constants, 7655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** structures, and macros generated from the original header, and thus, 8655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** contains no copyrightable information. 9655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 10655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** To edit the content of this header, modify the corresponding 11655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** source file (e.g. under external/kernel-headers/original/) then 12655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** run bionic/libc/kernel/tools/update_all.py 13655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 14655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** Any manual change here will be lost the next time this script will 15655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** be run. You've been warned! 16655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 17655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng **************************************************************************** 18655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng ****************************************************************************/ 19655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#ifndef _DVBOSD_H_ 20655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define _DVBOSD_H_ 21655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#include <linux/compiler.h> 22655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengtypedef enum { 23655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Close = 1, 25d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Open, 26d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Show, 27d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Hide, 28d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Clear, 30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Fill, 31d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetColor, 32d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetPalette, 33d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetTrans, 35d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetPixel, 36d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_GetPixel, 37d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetRow, 38d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetBlock, 40d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_FillRow, 41d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_FillBlock, 42d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Line, 43d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Query, 45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Test, 46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Text, 47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_SetWindow, 48d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_MoveWindow, 50d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_OpenRaw, 51655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng} OSD_Command; 52655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengtypedef struct osd_cmd_s { 53655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_Command cmd; 55d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int x0; 56d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int y0; 57d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int x1; 58655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int y1; 60d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int color; 61d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao void __user * data; 62655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng} osd_cmd_t; 63655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengtypedef enum { 65d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP1, 66d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP2, 67d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP4, 68d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP8, 70d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP1HR, 71d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP2HR, 72d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP4HR, 73d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_BITMAP8HR, 75d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_YCRCB422, 76d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_YCRCB444, 77d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_YCRCB444HR, 78d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEOTSIZE, 80d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEOHSIZE, 81d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEOQSIZE, 82d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEODSIZE, 83d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEOTHSIZE, 85d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEOTQSIZE, 86d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEOTDSIZE, 87d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_VIDEONSIZE, 88d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao OSD_CURSOR 90655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng} osd_raw_window_t; 91655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengtypedef struct osd_cap_s { 92d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int cmd; 93655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define OSD_CAP_MEMSIZE 1 95d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long val; 96655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng} osd_cap_t; 97655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define OSD_SEND_CMD _IOW('o', 160, osd_cmd_t) 98655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define OSD_GET_CAPABILITY _IOR('o', 161, osd_cap_t) 100655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#endif 101