Mercurial > mplayer.hg
view libvo/aspect.h @ 3076:bfc881c0e591
newly allocated memory seems to point to only 1 zero filled 4k page or something so there is a near 100% cache hit rate ... not very realistic, writeing something in the source array fixes that so the benchmark scores are meaningfull now
author | michael |
---|---|
date | Thu, 22 Nov 2001 19:22:49 +0000 |
parents | 48f0ac1e9d13 |
children | 72c87b2ec779 |
line wrap: on
line source
#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