]> granicus.if.org Git - libvpx/commit
Improved key frame detection.
authorPaul Wilkins <paulwilkins@google.com>
Mon, 7 Mar 2011 15:58:07 +0000 (15:58 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Mon, 7 Mar 2011 15:58:07 +0000 (15:58 +0000)
commitbc9c30a0030ae87e5569d22a655e09f9d9548abc
tree064f3c0d83518a5853cded384efe4aa69b3781f4
parent9fc8cb39aaa19ecf4434b7d02a7bd33f496f81e3
Improved key frame detection.

In some cases where clips have been encoded with
borders (eg. some wide-screen content where there is a
border top and bottom and slide shows containing portrait
format photographs (border left and right)) key frames were
not being correctly detected.

The new code looks to measure cases where a portion of
the image can be coded equally easily using intra or inter
modes and where the resulting error score is also very low.
These "neutral" areas are then discounted in the key frame
detection code.

Change-Id: I00c3e8230772b8213cdc08020e1990cf83b780d8
vp8/encoder/firstpass.c
vp8/encoder/onyx_int.h