Commit f909e43a authored by Marco Paniconi's avatar Marco Paniconi

vp8 denoiser fix: Update denoised altref on key frame.

On a key frame, the denoised-running_avg for all references
frames should be updated with the source.
The altref denoised-running_avg was not being updated on key frame,
this fixes that.

Change-Id: Ie02cd0ba5383e013af59240e6df7e185d11703f6
parent f932e152
......@@ -3232,17 +3232,9 @@ static void update_reference_frames(VP8_COMP *cpi)
if (cm->frame_type == KEY_FRAME)
int i;
for (i = 2; i < MAX_REF_FRAMES - 1; i++)
for (i = LAST_FRAME; i < MAX_REF_FRAMES; ++i)
else /* For non key frames */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment