[svn] / trunk / xvidcore / src / motion / estimation_common.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/motion/estimation_common.c

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

revision 1566, Sun Dec 5 13:56:13 2004 UTC revision 1567, Wed Dec 8 12:43:48 2004 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: estimation_common.c,v 1.9 2004-11-22 05:30:08 syskin Exp $   * $Id: estimation_common.c,v 1.10 2004-12-08 12:43:48 syskin Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 495  Line 495 
495          CHECK_CANDIDATE((xo+xo2)>>1, (yo+yo2)>>1, direction);          CHECK_CANDIDATE((xo+xo2)>>1, (yo+yo2)>>1, direction);
496    
497  }  }
498    
499    /* it's the positive max, so "32" needs fcode of 2, not 1 */
500    unsigned int
501    getMinFcode(const int MVmax)
502    {
503            unsigned int fcode;
504            for (fcode = 1; (16 << fcode) <= MVmax; fcode++);
505            return fcode;
506    }

Legend:
Removed from v.1566  
changed lines
  Added in v.1567

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