vp9: SVC: Fix issue with artifact for svc-denoising.
authorMarco <marpan@google.com>
Fri, 31 Mar 2017 00:08:44 +0000 (17:08 -0700)
committerMarco <marpan@google.com>
Fri, 31 Mar 2017 17:05:32 +0000 (10:05 -0700)
commitc824eda6ccf84ddbc55f2b78cb8ad57525db066b
treec37bb2eee02a92f3fe082665c690b7eaef114605
parent8e7c5a3c8db28b5367ae4431b5f2bf22b072b0b0
vp9: SVC: Fix issue with artifact for svc-denoising.

Issue/bug happens for denoising with spatial layers, where
the golden (spatial) reference is used in pickmode, but
denoising is only done wrt to last (temporal).

Fix is to make sure set_ref_ptrs is set before build predictors
in denoiser.

Change-Id: I793cf441341edf7c4a88b8ab1e1b22b3cb0eb508
vp9/encoder/vp9_denoiser.c
vp9/encoder/vp9_pickmode.c