diff options
author | Michael Niedermayer | 2006-07-24 10:36:06 +0000 |
---|---|---|
committer | Michael Niedermayer | 2006-07-24 10:36:06 +0000 |
commit | bca11e75fbc6b922438670733c6cb418c70433b4 (patch) | |
tree | 16e66dc954b1c00e609786c928333c978b5a2fd4 /libswscale/swscale.h | |
parent | fc8833a1ad8b22c34918125fb880aa6071aea860 (diff) |
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
Originally committed as revision 19177 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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 |