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:
5f3ed16
)
better? scene change detection
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 5 Dec 2002 22:22:53 +0000
(22:22 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 5 Dec 2002 22:22:53 +0000
(22:22 +0000)
Originally committed as revision 1314 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
fa6c3ee
..
3c688f7
100644
(file)
--- a/
libavcodec/motion_est.c
+++ b/
libavcodec/motion_est.c
@@
-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;