projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7dc6f6
)
fixing MVs in hq mode
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 1 Apr 2002 17:40:42 +0000
(17:40 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 1 Apr 2002 17:40:42 +0000
(17:40 +0000)
Originally committed as revision 372 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/motion_est.c
patch
|
blob
|
history
diff --git
a/libavcodec/motion_est.c
b/libavcodec/motion_est.c
index
e806868
..
3779afe
100644
(file)
--- a/
libavcodec/motion_est.c
+++ b/
libavcodec/motion_est.c
@@
-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) {