summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-15 03:12:24 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-15 03:12:24 +0000
commitfcb74c4f0e6fc5a1deec0839c773067d0a8b9e90 (patch)
tree154b7d6ac8ddf1e6c52b2f256c4c2f2713be8ba5 /include
parent1b2d20cd85bd3ea8735a1fbc4ea7f68dafdfe23d (diff)
downloadxine-lib-fcb74c4f0e6fc5a1deec0839c773067d0a8b9e90.tar.gz
xine-lib-fcb74c4f0e6fc5a1deec0839c773067d0a8b9e90.tar.bz2
- reimplement independent x/y zooming.
- new helper module (vo_scale.c) with all common scaling code of video out drivers. it should greatly simplify drivers development by removing the boring frame/window calculation, aspect ratio, zooming etc. obs: not completely tested, may contain bugs and break things. also only xshm and xv have being simplified so far, others will follow shortly. CVS patchset: 2455 CVS date: 2002/08/15 03:12:24
Diffstat (limited to 'include')
-rw-r--r--include/xine.h.tmpl.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/include/xine.h.tmpl.in b/include/xine.h.tmpl.in
index 887ddc501..e162c7284 100644
--- a/include/xine.h.tmpl.in
+++ b/include/xine.h.tmpl.in
@@ -28,7 +28,7 @@
\endverbatim
*/
/*
- * $Id: xine.h.tmpl.in,v 1.106 2002/08/11 15:06:13 miguelfreitas Exp $
+ * $Id: xine.h.tmpl.in,v 1.107 2002/08/15 03:12:24 miguelfreitas Exp $
*
*/
@@ -300,11 +300,11 @@ int xine_check_version(int major, int minor, int sub);
*/
#define VO_PROP_AUTOPAINT_COLORKEY 7
/**
- * \def VO_PROP_ZOOM_FACTOR
+ * \def VO_PROP_ZOOM_X
* zoom factor (in percent).
* \sa vo_driver_t
*/
-#define VO_PROP_ZOOM_FACTOR 8
+#define VO_PROP_ZOOM_X 8
/**
* \def VO_PROP_PAN_SCAN
* switch pan&scan on/off
@@ -335,11 +335,18 @@ int xine_check_version(int major, int minor, int sub);
#define VO_TYPE_DXR3 1
/**
+ * \def VO_PROP_ZOOM_Y
+ * zoom factor (in percent).
+ * \sa vo_driver_t
+ */
+#define VO_PROP_ZOOM_Y 13
+
+/**
* \def VO_NUM_PROPERTIES
* Number of available properties property.
* \sa vo_driver_t
*/
-#define VO_NUM_PROPERTIES 13
+#define VO_NUM_PROPERTIES 14
/** @} end of video_prop */