]> granicus.if.org Git - libvpx/commit
added work buffer for denoiser
authorScott LaVarnway <slavarnway@google.com>
Thu, 6 Dec 2012 03:09:05 +0000 (19:09 -0800)
committerScott LaVarnway <slavarnway@google.com>
Thu, 6 Dec 2012 03:09:05 +0000 (19:09 -0800)
commitef2248a2a376131f69e25aecdd2b839d71ece1e4
treec2522557a87aea6e2b21d24129e6299dd490e73a
parentf2b36a4de7baa5c1f5166c5a532c147eb08d4e8a
added work buffer for denoiser

The denoiser was writing to LAST_FRAME buffer.   If LAST_FRAME isn't being
updated,  the reference frame buffers were out of sync between the encoder and the
denoised raw buffers. This patch resolves the discrepancy by always writing to a work
buffer (INTRA_FRAME) and then copying from that buffer to any buffers that needs to
be updated.

Change-Id: I6dd855b9749978b542bc3d515914d5f16faf25df
vp8/encoder/denoising.c
vp8/encoder/onyx_if.c