summaryrefslogtreecommitdiffstats
path: root/libvo/aspect.h
blob: c10d1ab41bcfdfe378b93b93630688d26108ab90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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