Skip the last frame update for some frame repeats.
authorpaulwilkins <paulwilkins@google.com>
Fri, 1 May 2015 15:04:52 +0000 (16:04 +0100)
committerpaulwilkins <paulwilkins@google.com>
Fri, 8 May 2015 16:51:26 +0000 (17:51 +0100)
commite5112b3ae3352c4c55fb31235305f3f80f4b8f7e
tree13e3f263e449ff548ee531e79077bcee58822779
parenta8a9c2bb45868fb9009ca1ce8e9a4d14947855a3
Skip the last frame update for some frame repeats.

Where a frame appears to be a repeat of an earlier
frame or frame buffer,  but the first pass code
does not anticipate this (usually because it is matching
the GF or ARF buffer not the last frame buffer), do not
update the last frame buffer.

This helps ensure that the content of the last frame buffer
is kept "different" where possible, and not updated to
match the GF or ARF. This is particularly helpful in some
animated sequences where there are groups of repeating
frames. Here it has quite a big impact. However, in most
of our standard test clips it has little or no impact.

Change-Id: I77332ee1a69f9ffc0c6080bfeb811c43fd8828e6
vp9/encoder/vp9_encoder.c