summaryrefslogtreecommitdiff
path: root/src/xine-engine/osd.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-26 01:03:31 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-26 01:03:31 +0000
commitf7c890258f736dc45ae81e2097df6c9658e93606 (patch)
treeeed0d30d99ebbdc649d7fb20329ec2911357b877 /src/xine-engine/osd.h
parent1daacd9d5b53cac2671d2bd9c93a3daa629254ea (diff)
downloadxine-lib-f7c890258f736dc45ae81e2097df6c9658e93606.tar.gz
xine-lib-f7c890258f736dc45ae81e2097df6c9658e93606.tar.bz2
* new unscaled overlay feature (using XShape extension)
text subtitles may now be rendered at full screen resolution * load xine fonts on demand - faster startup note: support added to xv, xshm and vidix CVS patchset: 5780 CVS date: 2003/11/26 01:03:31
Diffstat (limited to 'src/xine-engine/osd.h')
-rw-r--r--src/xine-engine/osd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/xine-engine/osd.h b/src/xine-engine/osd.h
index a0aa75b7f..9a58f1a7c 100644
--- a/src/xine-engine/osd.h
+++ b/src/xine-engine/osd.h
@@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
* OSD stuff (text and graphic primitives)
- * $Id: osd.h,v 1.20 2003/11/19 19:43:23 miguelfreitas Exp $
+ * $Id: osd.h,v 1.21 2003/11/26 01:03:32 miguelfreitas Exp $
*/
#ifndef HAVE_OSD_H
@@ -73,7 +73,6 @@ struct xine_osd_s {
osd_object_t osd;
};
-/* WARNING: this should be kept in sync with include/xine.h.in */
struct osd_renderer_s {
/*
@@ -201,6 +200,13 @@ struct osd_renderer_s {
int x1, int y1, int width, int height,
uint8_t *palette_map);
+ /*
+ * send the osd to be displayed (unscaled) at given pts (0=now)
+ * the object is not changed. there may be subsequent drawing on it.
+ * overlay is blended at output (screen) resolution.
+ */
+ int (*show_unscaled) (osd_object_t *osd, int64_t vpts );
+
/* private stuff */
pthread_mutex_t osd_mutex;