From fcb74c4f0e6fc5a1deec0839c773067d0a8b9e90 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 15 Aug 2002 03:12:24 +0000 Subject: - 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 --- include/xine.h.tmpl.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'include') 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 @@ -334,12 +334,19 @@ int xine_check_version(int major, int minor, int sub); #define VO_TYPE_UNKNOWN 0 #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 */ -- cgit v1.2.3