[svn] / branches / dev-api-4 / xvidcore / src / motion / motion_comp.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/motion/motion_comp.c

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

revision 935, Sat Mar 22 13:41:11 2003 UTC revision 982, 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
# Line 370  Line 363 
363          const uint32_t edged_width = pParam->edged_width;          const uint32_t edged_width = pParam->edged_width;
364          int32_t dx, dy, b_dx, b_dy, sumx, sumy, b_sumx, b_sumy;          int32_t dx, dy, b_dx, b_dy, sumx, sumy, b_sumx, b_sumy;
365          int k;          int k;
366          const int quarterpel = pParam->vol_flags & XVID_QUARTERPEL;          const int quarterpel = pParam->vol_flags & XVID_VOL_QUARTERPEL;
367          const uint8_t * ptr1, * ptr2;          const uint8_t * ptr1, * ptr2;
368          uint8_t * const tmp = f_refv->u;          uint8_t * const tmp = f_refv->u;
369          const VECTOR * const fmvs = (quarterpel ? mb->qmvs : mb->mvs);          const VECTOR * const fmvs = (quarterpel ? mb->qmvs : mb->mvs);

Legend:
Removed from v.935  
changed lines
  Added in v.982

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