ref: aa2ba46a61cbe626f7e708dea9160b6699c881d0
parent: 97ccebac8f0052053a3832295f7a5f67c58c3773
parent: f909e43abc2cbb7bcb782246e7d3b640c9cf7536
author: Marco Paniconi <marpan@google.com>
date: Tue Jul 22 07:15:08 EDT 2014
Merge "vp8 denoiser fix: Update denoised altref on key frame."
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -3232,17 +3232,9 @@
if (cm->frame_type == KEY_FRAME)
{
int i;
- vp8_yv12_copy_frame(
- cpi->Source,
- &cpi->denoiser.yv12_running_avg[LAST_FRAME]);
-
- vp8_yv12_extend_frame_borders(
- &cpi->denoiser.yv12_running_avg[LAST_FRAME]);
-
- for (i = 2; i < MAX_REF_FRAMES - 1; i++)
- vp8_yv12_copy_frame(
- &cpi->denoiser.yv12_running_avg[LAST_FRAME],
- &cpi->denoiser.yv12_running_avg[i]);
+ for (i = LAST_FRAME; i < MAX_REF_FRAMES; ++i)
+ vp8_yv12_copy_frame(cpi->Source,
+ &cpi->denoiser.yv12_running_avg[i]);
}
else /* For non key frames */
{
--
⑨