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_pvop.c,v 1.16 2005-03-14 00:47:08 Isibaar Exp $ |
* $Id: estimation_pvop.c,v 1.17 2005-03-31 22:14:20 Isibaar Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
910 |
} |
} |
911 |
} |
} |
912 |
else if (sad00 < stat_thresh) { |
else if (sad00 < stat_thresh) { |
913 |
|
VECTOR predMV; |
914 |
|
if (current->vol_flags & XVID_VOL_QUARTERPEL) |
915 |
|
predMV = get_qpmv2(current->mbs, mb_width, 0, x, y, 0); |
916 |
|
else |
917 |
|
predMV = get_pmv2(current->mbs, mb_width, 0, x, y, 0); |
918 |
|
|
919 |
ZeroMacroblockP(pMB, sad00); |
ZeroMacroblockP(pMB, sad00); |
920 |
pMB->cbp = 0x3f; |
pMB->cbp = 0x3f; |
921 |
|
pMB->pmvs[0].x = - predMV.x; |
922 |
|
pMB->pmvs[0].y = - predMV.y; |
923 |
continue; |
continue; |
924 |
} |
} |
925 |
} |
} |