Do not copy data between encoder reference buffers.
authorAttila Nagy <attilanagy@google.com>
Wed, 20 Apr 2011 12:12:23 +0000 (15:12 +0300)
committerAttila Nagy <attilanagy@google.com>
Wed, 20 Apr 2011 12:26:55 +0000 (15:26 +0300)
commit43464e94edf3c6cb5792d5c2addb7e0ce1604d4c
tree0fd4b96f88c597b701233cf01f773f4c5c285d2b
parenta9b465c5c9a35cb80e38d612bb63ba8d09c6855a
Do not copy data between encoder reference buffers.

Golden and ALT reference buffers were refreshed by copying from
the new buffer. Replaced this by index manipulation.
Also moved all the reference frame updates to one function for
easier tracking.

Change-Id: Icd3e534e7e2c8c5567168d222e6a64a96aae24a1
vp8/common/alloccommon.c
vp8/encoder/onyx_if.c
vpx_scale/yv12config.h