vp9-denoiser: Fix to reset frame_stats.
authorMarco <marpan@google.com>
Tue, 24 Nov 2015 23:56:59 +0000 (15:56 -0800)
committerMarco <marpan@google.com>
Tue, 24 Nov 2015 23:58:28 +0000 (15:58 -0800)
zeromv_lastref_sse was not reset.

Change-Id: I23c12e804d63dc7dc18514f6efe71de1d1acbd6a

vp9/encoder/vp9_denoiser.c

index e87a12e..31ac61d 100644 (file)
@@ -458,6 +458,7 @@ void vp9_denoiser_update_frame_info(VP9_DENOISER *denoiser,
 void vp9_denoiser_reset_frame_stats(PICK_MODE_CONTEXT *ctx) {
   ctx->zeromv_sse = UINT_MAX;
   ctx->newmv_sse = UINT_MAX;
+  ctx->zeromv_lastref_sse = UINT_MAX;
 }
 
 void vp9_denoiser_update_frame_stats(MB_MODE_INFO *mbmi, unsigned int sse,