diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-08 16:20:09 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-08 16:20:09 +0000 |
commit | df42925e0db31a9970d40c76b891900595731b13 (patch) | |
tree | 4c1703f2904f13ed129945cb7e2e1f5a04782580 /src/xine-engine/vo_scale.h | |
parent | d9a3110ce31b59dfd35849dbd7b84e954c397eea (diff) | |
download | xine-lib-df42925e0db31a9970d40c76b891900595731b13.tar.gz xine-lib-df42925e0db31a9970d40c76b891900595731b13.tar.bz2 |
- reorder XINE_VO_ASPECT_* constants so they match the order in the old
api (benefit: no remapping is required between dvd's and xine's aspect
codes)
- implement new scaling semantics as intended by Matthias Hopf
CVS patchset: 2627
CVS date: 2002/09/08 16:20:09
Diffstat (limited to 'src/xine-engine/vo_scale.h')
-rw-r--r-- | src/xine-engine/vo_scale.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/xine-engine/vo_scale.h b/src/xine-engine/vo_scale.h index cbd04c4cb..317cc4082 100644 --- a/src/xine-engine/vo_scale.h +++ b/src/xine-engine/vo_scale.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: vo_scale.h,v 1.2 2002/09/04 23:31:13 guenter Exp $ + * $Id: vo_scale.h,v 1.3 2002/09/08 16:20:13 mroi Exp $ * * vo_scale.h * @@ -42,10 +42,6 @@ typedef struct { struct vo_scale_s { - /* display anatomy */ - double display_ratio; /* given by visual parameter - from init function */ - /* true if driver supports frame zooming */ int support_zoom; @@ -75,12 +71,9 @@ struct vo_scale_s { int displayed_height; double zoom_factor_x, zoom_factor_y; - /* - * "ideal" size : - * delivered width/height corrected by aspect ratio and display_ratio - * units: screen pixels + /* + * user's aspect selection */ - int ideal_width, ideal_height; int user_ratio; /* @@ -179,8 +172,7 @@ char *vo_scale_aspect_ratio_name(int a); * initialize rescaling struct */ -void vo_scale_init(vo_scale_t *this, double display_ratio, - int support_zoom, int scaling_disabled ); +void vo_scale_init(vo_scale_t *this, int support_zoom, int scaling_disabled ); #ifdef __cplusplus } |