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

Diff of /branches/dev-api-4/xvidcore/src/motion/motion_inlines.h

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

revision 1142, Wed Sep 10 22:19:00 2003 UTC revision 1158, Mon Sep 29 13:43:40 2003 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: motion_inlines.h,v 1.1.2.1 2003-09-10 22:19:00 edgomez Exp $   * $Id: motion_inlines.h,v 1.1.2.2 2003-09-29 13:43:40 syskin Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# 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  };  };
83    
84  static __inline uint32_t  static __inline uint32_t
# Line 133  Line 133 
133          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;
134          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;
135          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;
136            pMB->mcsel = 0;
137  }  }
138    
139  /* check if given vector is equal to any vector checked before */  /* check if given vector is equal to any vector checked before */
140  static __inline int  static __inline int
141  vector_repeats(const VECTOR * const pmv, const int i)  vector_repeats(const VECTOR * const pmv, const unsigned int i)
142  {  {
143          unsigned int j;          unsigned int j;
144          for (j = 0; j < i; j++)          for (j = 0; j < i; j++)
# Line 148  Line 149 
149  /*      make a binary mask that prevents diamonds/squares  /*      make a binary mask that prevents diamonds/squares
150          from checking a vector which has been checked as a prediction */          from checking a vector which has been checked as a prediction */
151  static __inline int  static __inline int
152  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)
153  {  {
154          unsigned int mask = 255, j;          unsigned int mask = 255, j;
155          for (j = 0; j < i; j++) {          for (j = 0; j < i; j++) {

Legend:
Removed from v.1142  
changed lines
  Added in v.1158

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