Home | History | Annotate | Download | only in dvb
      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   OSD_Close = 1,
     24   OSD_Open,
     25   OSD_Show,
     26   OSD_Hide,
     27   OSD_Clear,
     28   OSD_Fill,
     29   OSD_SetColor,
     30   OSD_SetPalette,
     31   OSD_SetTrans,
     32   OSD_SetPixel,
     33   OSD_GetPixel,
     34   OSD_SetRow,
     35   OSD_SetBlock,
     36   OSD_FillRow,
     37   OSD_FillBlock,
     38   OSD_Line,
     39   OSD_Query,
     40   OSD_Test,
     41   OSD_Text,
     42   OSD_SetWindow,
     43   OSD_MoveWindow,
     44   OSD_OpenRaw,
     45 } OSD_Command;
     46 typedef struct osd_cmd_s {
     47   OSD_Command cmd;
     48   int x0;
     49   int y0;
     50   int x1;
     51   int y1;
     52   int color;
     53   void __user * data;
     54 } osd_cmd_t;
     55 typedef enum {
     56   OSD_BITMAP1,
     57   OSD_BITMAP2,
     58   OSD_BITMAP4,
     59   OSD_BITMAP8,
     60   OSD_BITMAP1HR,
     61   OSD_BITMAP2HR,
     62   OSD_BITMAP4HR,
     63   OSD_BITMAP8HR,
     64   OSD_YCRCB422,
     65   OSD_YCRCB444,
     66   OSD_YCRCB444HR,
     67   OSD_VIDEOTSIZE,
     68   OSD_VIDEOHSIZE,
     69   OSD_VIDEOQSIZE,
     70   OSD_VIDEODSIZE,
     71   OSD_VIDEOTHSIZE,
     72   OSD_VIDEOTQSIZE,
     73   OSD_VIDEOTDSIZE,
     74   OSD_VIDEONSIZE,
     75   OSD_CURSOR
     76 } osd_raw_window_t;
     77 typedef struct osd_cap_s {
     78   int cmd;
     79 #define OSD_CAP_MEMSIZE 1
     80   long val;
     81 } osd_cap_t;
     82 #define OSD_SEND_CMD _IOW('o', 160, osd_cmd_t)
     83 #define OSD_GET_CAPABILITY _IOR('o', 161, osd_cap_t)
     84 #endif
     85