diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-03-17 16:31:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-03-17 16:31:38 +0000 |
commit | 9cdd6a24ad90ff087d4d8c93d1b77b238d6d9aa9 (patch) | |
tree | 338466c022a5e75a8c5b7d80ddd8b01c9e4489e1 /libavcodec/motion_est.c | |
parent | 1cb0edb40b8e94e1a50ad40c40d43e34ed8435fe (diff) | |
download | ffmpeg-9cdd6a24ad90ff087d4d8c93d1b77b238d6d9aa9.tar.gz |
hopefully better bitrate controll
Originally committed as revision 334 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r-- | libavcodec/motion_est.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index 0cdb370f91..e9249692bf 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -460,6 +460,7 @@ int estimate_motion(MpegEncContext * s, varc = (varc >> 8) - (sum * sum); s->mb_var[s->mb_width * mb_y + mb_x] = varc; s->avg_mb_var += varc; + s->mc_mb_var += vard; #if 0 printf("varc=%4d avg_var=%4d (sum=%4d) vard=%4d mx=%2d my=%2d\n", |