 d7db594b8d
			
		
	
	d7db594b8d
	
	
	
		
			
			Replace the tokenizer in cpp.py with libclang. Bug: 18937958 Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
		
			
				
	
	
		
			101 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			101 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /****************************************************************************
 | |
|  ****************************************************************************
 | |
|  ***
 | |
|  ***   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
 |