ref: fbd245c598e6b89b1bfecc708805bd3d4febf24f
parent: e99e4a64e0ca6a00335a2d4171c2e71cc3064ca7
author: Marco <[email protected]>
date: Tue Nov 24 10:56:59 EST 2015
vp9-denoiser: Fix to reset frame_stats. zeromv_lastref_sse was not reset. Change-Id: I23c12e804d63dc7dc18514f6efe71de1d1acbd6a
--- a/vp9/encoder/vp9_denoiser.c
+++ b/vp9/encoder/vp9_denoiser.c
@@ -458,6 +458,7 @@
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,