Mercurial > mplayer.hg
view asmalign.h @ 19172:bae6c99a99cc
vertical scaler with accurate rounding, some people on doom9 can see +-1 errors
the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected
the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1
author | michael |
---|---|
date | Mon, 24 Jul 2006 10:36:06 +0000 |
parents | 7b408d60de9e |
children |
line wrap: on
line source
#ifdef SYS_DARWIN #define ASMALIGN8 ".align 3\n\t" #define ASMALIGN16 ".align 4\n\t" #else #define ASMALIGN8 ".balign 8\n\t" #define ASMALIGN16 ".balign 16\n\t" #endif