[FFmpeg-soc] [soc]: r3936 - dirac/libavcodec/dwt.c

conrad subversion at mplayerhq.hu
Fri Jan 2 00:33:53 CET 2009


Author: conrad
Date: Fri Jan  2 00:33:53 2009
New Revision: 3936

Log:
Factor out >>5

Modified:
   dirac/libavcodec/dwt.c   (contents, props changed)

Modified: dirac/libavcodec/dwt.c
==============================================================================
--- dirac/libavcodec/dwt.c	Thu Jan  1 21:32:25 2009	(r3935)
+++ dirac/libavcodec/dwt.c	Fri Jan  2 00:33:53 2009	(r3936)
@@ -63,7 +63,7 @@ static inline int extend_odd(int v, int 
     (b1 - ((1817*(b0 + b2) + 2048) >> 12))
 
 #define COMPOSE_DAUB97iH1(b0, b1, b2)\
-    (b1 - ((3616*(b0 + b2) + 2048) >> 12))
+    (b1 - (( 113*(b0 + b2) + 64) >> 7))
 
 #define COMPOSE_DAUB97iL0(b0, b1, b2)\
     (b1 + (( 217*(b0 + b2) + 2048) >> 12))



More information about the FFmpeg-soc mailing list