提交 03201146 编写于 作者: M Michael Niedermayer

better? scene change detection

Originally committed as revision 1314 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 5f3ed165
......@@ -1131,7 +1131,7 @@ void ff_estimate_p_frame_motion(MpegEncContext * s,
if (vard <= 64 || vard < varc)
s->scene_change_score+= ff_sqrt(vard) - ff_sqrt(varc);
else
s->scene_change_score+= 20;
s->scene_change_score+= s->qscale;
if (vard*2 + 200 > varc)
mb_type|= MB_TYPE_INTRA;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册