26 |
* along with this program; if not, write to the xvid_free Software |
* along with this program; if not, write to the xvid_free Software |
27 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
28 |
* |
* |
29 |
* $Id: mbprediction.h,v 1.21 2003-02-21 14:41:23 syskin Exp $ |
* $Id: mbprediction.h,v 1.21.2.2 2003-06-09 13:55:07 edgomez Exp $ |
30 |
* |
* |
31 |
*************************************************************************/ |
*************************************************************************/ |
32 |
|
|
337 |
if (num_cand == 1) { |
if (num_cand == 1) { |
338 |
pmv[0] = pmv[last_cand]; |
pmv[0] = pmv[last_cand]; |
339 |
psad[0] = psad[last_cand]; |
psad[0] = psad[last_cand]; |
340 |
// return MVequal(pmv[0], zeroMV); /* no point calculating median mv and minimum sad */ |
#if 0 |
341 |
|
return MVequal(pmv[0], zeroMV); /* no point calculating median mv and minimum sad */ |
342 |
|
#endif |
343 |
|
|
344 |
/* original pmvdata() compatibility hack */ |
/* original pmvdata() compatibility hack */ |
345 |
return y==0 && block <= 1 ? 0 : MVequal(pmv[0], zeroMV); |
return y==0 && block <= 1 ? 0 : MVequal(pmv[0], zeroMV); |