diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-24 10:36:06 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-24 10:36:06 +0000 |
commit | 14ddfdddf8697c478f005168d92333beaa7ba20c (patch) | |
tree | 755d64b6d869dc3a497edce4dd5402586cbb2b8f /libswscale/swscale.h | |
parent | 53ab918dcf7c2655ca11a42d2343289ac86716f0 (diff) | |
download | mpv-14ddfdddf8697c478f005168d92333beaa7ba20c.tar.bz2 mpv-14ddfdddf8697c478f005168d92333beaa7ba20c.tar.xz |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r-- | libswscale/swscale.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 37c5ec7490..0b350234ea 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -64,6 +64,7 @@ extern "C" { //input subsampling info #define SWS_FULL_CHR_H_INP 0x4000 #define SWS_DIRECT_BGR 0x8000 +#define SWS_ACCURATE_RND 0x40000 #define SWS_CPU_CAPS_MMX 0x80000000 #define SWS_CPU_CAPS_MMX2 0x20000000 |