From 3e145ff72fe7554f0dc9f4054653bf5462879981 Mon Sep 17 00:00:00 2001 From: Eduard Hasenleithner Date: Fri, 17 Aug 2001 15:54:31 +0000 Subject: Overlays are now passed in rle format. Causes a speed improvement for subpicture overlays. CVS patchset: 444 CVS date: 2001/08/17 15:54:31 --- src/xine-engine/video_out.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/video_out.h') diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index fbe2b9c60..03c68a7ca 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.h,v 1.16 2001/08/13 12:52:33 ehasenle Exp $ + * $Id: video_out.h,v 1.17 2001/08/17 15:54:31 ehasenle Exp $ * * * xine version of video_out.h @@ -263,9 +263,16 @@ struct vo_driver_s { }; +typedef struct rle_elem_s { + uint16_t len; + uint16_t color; +} rle_elem_t; + struct vo_overlay_s { - uint8_t *data; /* 7-4: mixer key, 3-0: color index */ + + rle_elem_t *rle; /* rle code buffer */ int data_size; /* useful for deciding realloc */ + int num_rle; /* number of active rle codes */ int x; /* x start of subpicture area */ int y; /* y start of subpicture area */ int width; /* width of subpicture area */ -- cgit v1.2.3