summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-08-17 15:54:31 +0000
committerEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-08-17 15:54:31 +0000
commit3e145ff72fe7554f0dc9f4054653bf5462879981 (patch)
treec860392770d79db03e7eac5e40c81d3d497901c6 /src/xine-engine/video_out.h
parent8d0098d208bfb25ab6eeb501a461f7b589cecc5a (diff)
downloadxine-lib-3e145ff72fe7554f0dc9f4054653bf5462879981.tar.gz
xine-lib-3e145ff72fe7554f0dc9f4054653bf5462879981.tar.bz2
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
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h11
1 files changed, 9 insertions, 2 deletions
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 */