From bca11e75fbc6b922438670733c6cb418c70433b4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 24 Jul 2006 10:36:06 +0000 Subject: 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 --- libswscale/swscale.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libswscale/swscale.h') 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 -- cgit v1.2.3