1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00
mpv/libvo/aspect.h

18 lines
311 B
C
Raw Normal View History

#ifndef __ASPECT_H
#define __ASPECT_H
/* Stuff for correct aspect scaling. */
void aspect_save_orig(int orgw, int orgh);
void aspect_save_prescale(int prew, int preh);
void aspect_save_screenres(int scrw, int scrh);
#define A_ZOOM 1
#define A_NOZOOM 0
void aspect(int *srcw, int *srch, int zoom);
#endif