[cvs] / xvidcore / src / motion / motion_comp.c Repository:
ViewVC logotype

Diff of /xvidcore/src/motion/motion_comp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18.2.3, Wed Mar 26 14:56:49 2003 UTC revision 1.18.2.4, Thu Apr 10 13:05:54 2003 UTC
# Line 12  Line 12 
12  #include "../utils/timer.h"  #include "../utils/timer.h"
13  #include "motion.h"  #include "motion.h"
14    
 #ifndef ABS  
 #define ABS(X) (((X)>0)?(X):-(X))  
 #endif  
 #ifndef SIGN  
 #define SIGN(X) (((X)>0)?1:-1)  
 #endif  
   
15  #ifndef RSHIFT  #ifndef RSHIFT
16  #define RSHIFT(a,b) ((a) > 0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))  #define RSHIFT(a,b) ((a) > 0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))
17  #endif  #endif

Legend:
Removed from v.1.18.2.3  
changed lines
  Added in v.1.18.2.4

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4