[cvs] / xvidcore / src / motion / motion_inlines.h Repository:
ViewVC logotype

Diff of /xvidcore/src/motion/motion_inlines.h

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

revision 1.1.2.1, Wed Sep 10 22:19:00 2003 UTC revision 1.1.2.4, Fri Oct 24 13:28:23 2003 UTC
# Line 78  Line 78 
78          10, 11, 11, 11, 11, 11, 11, 12,          10, 11, 11, 11, 11, 11, 11, 12,
79          12, 12, 12, 12, 12, 12, 12, 12,          12, 12, 12, 12, 12, 12, 12, 12,
80          12, 12, 12, 12, 12, 12, 12, 12,          12, 12, 12, 12, 12, 12, 12, 12,
81          12, 12, 12, 12, 12, 12, 12, 12, 12          12, 12, 12, 12, 12, 12, 12, 12,
82            12, 12, 12, 12, 12, 12, 12, 12
83  };  };
84    
85  static __inline uint32_t  static __inline uint32_t
# Line 133  Line 134 
134          pMB->mvs[0] = pMB->mvs[1] = pMB->mvs[2] = pMB->mvs[3] = zeroMV;          pMB->mvs[0] = pMB->mvs[1] = pMB->mvs[2] = pMB->mvs[3] = zeroMV;
135          pMB->qmvs[0] = pMB->qmvs[1] = pMB->qmvs[2] = pMB->qmvs[3] = zeroMV;          pMB->qmvs[0] = pMB->qmvs[1] = pMB->qmvs[2] = pMB->qmvs[3] = zeroMV;
136          pMB->sad16 = pMB->sad8[0] = pMB->sad8[1] = pMB->sad8[2] = pMB->sad8[3] = sad;          pMB->sad16 = pMB->sad8[0] = pMB->sad8[1] = pMB->sad8[2] = pMB->sad8[3] = sad;
137            pMB->mcsel = 0;
138  }  }
139    
140  /* check if given vector is equal to any vector checked before */  /* check if given vector is equal to any vector checked before */
141  static __inline int  static __inline int
142  vector_repeats(const VECTOR * const pmv, const int i)  vector_repeats(const VECTOR * const pmv, const unsigned int i)
143  {  {
144          unsigned int j;          unsigned int j;
145          for (j = 0; j < i; j++)          for (j = 0; j < i; j++)
# Line 148  Line 150 
150  /*      make a binary mask that prevents diamonds/squares  /*      make a binary mask that prevents diamonds/squares
151          from checking a vector which has been checked as a prediction */          from checking a vector which has been checked as a prediction */
152  static __inline int  static __inline int
153  make_mask(const VECTOR * const pmv, const int i, const int current)  make_mask(const VECTOR * const pmv, const unsigned int i, const unsigned int current)
154  {  {
155          unsigned int mask = 255, j;          unsigned int mask = 255, j;
156          for (j = 0; j < i; j++) {          for (j = 0; j < i; j++) {

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.4

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