diff libvo/aspect.h @ 2053:720ca9249e4e

Monitor aspect stuff.
author atmos4
date Wed, 03 Oct 2001 14:41:53 +0000
parents
children f5146118777e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libvo/aspect.h	Wed Oct 03 14:41:53 2001 +0000
@@ -0,0 +1,15 @@
+#ifndef __ASPECT_H
+#define __ASPECT_H
+/* Stuff for correct aspect scaling. */
+
+typedef struct {
+  int x; /* x,y starting coordinate */
+  int y; /* of upper left corner    */
+  int w; /* width  */
+  int h; /* height */
+} rect_t;
+
+rect_t aspect(int srcw, int srch, int fitinw, int fitinh);
+
+#endif
+