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

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

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

revision 616, Wed Oct 30 18:06:41 2002 UTC revision 618, Thu Oct 31 06:52:26 2002 UTC
# Line 6  Line 6 
6  #include "../encoder.h"  #include "../encoder.h"
7  #include "../utils/mbfunctions.h"  #include "../utils/mbfunctions.h"
8  #include "../image/interpolate8x8.h"  #include "../image/interpolate8x8.h"
 #include "../image/qpel.h"  
9  #include "../utils/timer.h"  #include "../utils/timer.h"
10  #include "motion.h"  #include "motion.h"
11    
# Line 158  Line 157 
157    
158                  if (quarterpel)                  if (quarterpel)
159                  {                  {
160                          dx = (dx >> 2) + roundtab_78[dx & 0x7];                          dx /= 2;
161                          dy = (dy >> 2) + roundtab_78[dy & 0x7];                          dy /= 2;
162                  }                  }
163                  else {  
164                          dx = (dx >> 1) + roundtab_79[dx & 0x3];                          dx = (dx >> 1) + roundtab_79[dx & 0x3];
165                          dy = (dy >> 1) + roundtab_79[dy & 0x3];                          dy = (dy >> 1) + roundtab_79[dy & 0x3];
                 }  
166    
167                  /* uv-block-based compensation */                  /* uv-block-based compensation */
168                  transfer_8to16sub(&dct_codes[4 * 64],                  transfer_8to16sub(&dct_codes[4 * 64],

Legend:
Removed from v.616  
changed lines
  Added in v.618

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