This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
fixing MVs in hq mode
Originally committed as revision 372 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
23 years ago
parent
b7dc6f6628
commit
c60cf138bd
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/motion_est.c
+ 3
- 0
libavcodec/motion_est.c
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save