Mercurial > mplayer.hg
comparison libvo/aspect.h @ 2053:720ca9249e4e
Monitor aspect stuff.
author | atmos4 |
---|---|
date | Wed, 03 Oct 2001 14:41:53 +0000 |
parents | |
children | f5146118777e |
comparison
equal
deleted
inserted
replaced
2052:9af96cfbe175 | 2053:720ca9249e4e |
---|---|
1 #ifndef __ASPECT_H | |
2 #define __ASPECT_H | |
3 /* Stuff for correct aspect scaling. */ | |
4 | |
5 typedef struct { | |
6 int x; /* x,y starting coordinate */ | |
7 int y; /* of upper left corner */ | |
8 int w; /* width */ | |
9 int h; /* height */ | |
10 } rect_t; | |
11 | |
12 rect_t aspect(int srcw, int srch, int fitinw, int fitinh); | |
13 | |
14 #endif | |
15 |