diff options
Diffstat (limited to 'xine_osd_command.h')
-rw-r--r-- | xine_osd_command.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/xine_osd_command.h b/xine_osd_command.h index af05aecb..f36c387a 100644 --- a/xine_osd_command.h +++ b/xine_osd_command.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_osd_command.h,v 1.7 2008-02-27 00:27:48 phintuka Exp $ + * $Id: xine_osd_command.h,v 1.8 2008-03-11 15:57:57 phintuka Exp $ * */ @@ -29,9 +29,12 @@ typedef enum { OSD_SetPalette = 3, /* Modify palette of already created OSD window */ OSD_Move = 4, /* Change x/y position of already created OSD window */ OSD_Close = 5, /* Close OSD window */ - OSD_Set_YUV = 6 /* Create/update OSD window. Data is in YUV420 format. */ + OSD_Set_YUV = 6, /* Create/update OSD window. Data is in YUV420 format. */ + OSD_Commit = 7 /* All OSD areas have been updated, commit changes to display */ } osd_command_id_t; +#define OSDFLAG_YUV_CLUT 0x01 + typedef struct xine_clut_s { union { uint8_t cb /*: 8*/; @@ -53,6 +56,13 @@ typedef struct xine_rle_elem_s { uint16_t color; } PACKED xine_rle_elem_t; /* from xine */ +typedef struct osd_rect_s { + uint16_t x1; + uint16_t y1; + uint16_t x2; + uint16_t y2; +} osd_rect_t; + typedef struct osd_command_s { uint32_t cmd; /* osd_command_id_t */ @@ -79,6 +89,9 @@ typedef struct osd_command_s { uint64_t dummy02; }; + osd_rect_t dirty_area; + uint8_t flags; + } PACKED osd_command_t; |