Moved denoiser frame copy/updates out of loopfilter thread
authorScott LaVarnway <slavarnway@google.com>
Fri, 7 Dec 2012 20:19:52 +0000 (12:19 -0800)
committerScott LaVarnway <slavarnway@google.com>
Fri, 7 Dec 2012 20:19:52 +0000 (12:19 -0800)
commit000c8414b510dcaeb1ab7a52bec78c4a6b97cafd
treed251f21a5e3d7976bfe3f0c59c12f24c86f8cfe6
parentbc10eab41bbb4431ff59e5b7b9fd017a9c36a579
Moved denoiser frame copy/updates out of loopfilter thread

The loopfilter thread from the previous frame can be running while
starting the current frame.  cpi->Source will change during this time causing
the wrong data to be copied.  The refresh_x_frame flags also change, which
will cause incorrect updates of the denoised buffers.

Change-Id: I7d982b4fcb40a0610801332aa85f3b792c64e4c3
vp8/encoder/onyx_if.c