Commit 2ff5153e authored by michaelni's avatar michaelni

fixing MVs in hq mode


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@372 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0617c36b
......@@ -1009,6 +1009,9 @@ void estimate_motion(MpegEncContext * s,
if (varc*2 + 200 > vard){
mb_type|= MB_TYPE_INTER;
halfpel_motion_search(s, &mx, &my, dmin, xmin, ymin, xmax, ymax, pred_x, pred_y);
}else{
mx = mx*2 - mb_x*32;
my = my*2 - mb_y*32;
}
}else{
if (vard <= 64 || vard < varc) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment