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

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

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

revision 594, Sat Oct 12 13:56:16 2002 UTC revision 596, Sun Oct 13 13:51:10 2002 UTC
# Line 53  Line 53 
53  (*CheckCandidate)((const int)(X),(const int)(Y), (D), &iDirection, data ); }  (*CheckCandidate)((const int)(X),(const int)(Y), (D), &iDirection, data ); }
54    
55  #define GET_REFERENCE(X, Y, REF) { \  #define GET_REFERENCE(X, Y, REF) { \
56          switch ( ((X&1)<<1) + (Y&1) ) \          switch ( (((X)&1)<<1) + ((Y)&1) ) \
57          { \          { \
58                  case 0 : REF = data->Ref + (X)/2 + ((Y)/2)*(data->iEdgedWidth); break; \                  case 0 : REF = data->Ref + (X)/2 + ((Y)/2)*(data->iEdgedWidth); break; \
59                  case 1 : REF = data->RefV + (X)/2 + (((Y)-1)/2)*(data->iEdgedWidth); break; \                  case 1 : REF = data->RefV + (X)/2 + (((Y)-1)/2)*(data->iEdgedWidth); break; \

Legend:
Removed from v.594  
changed lines
  Added in v.596

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