Commit eec110a2 authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

vp9_denoiser_update_frame_stats: unused parm fixed

Change-Id: Ic39cc0deafb3ed509434d3d9953b99713de7394a
parent cebe2c8d
...@@ -370,8 +370,8 @@ void vp9_denoiser_reset_frame_stats(PICK_MODE_CONTEXT *ctx) { ...@@ -370,8 +370,8 @@ void vp9_denoiser_reset_frame_stats(PICK_MODE_CONTEXT *ctx) {
ctx->newmv_sse = UINT_MAX; ctx->newmv_sse = UINT_MAX;
} }
void vp9_denoiser_update_frame_stats(VP9_DENOISER *denoiser, MB_MODE_INFO *mbmi, void vp9_denoiser_update_frame_stats(MB_MODE_INFO *mbmi, unsigned int sse,
unsigned int sse, PREDICTION_MODE mode, PREDICTION_MODE mode,
PICK_MODE_CONTEXT *ctx) { PICK_MODE_CONTEXT *ctx) {
// TODO(tkopp): Use both MVs if possible // TODO(tkopp): Use both MVs if possible
if (mbmi->mv[0].as_int == 0 && sse < ctx->zeromv_sse) { if (mbmi->mv[0].as_int == 0 && sse < ctx->zeromv_sse) {
......
...@@ -42,7 +42,7 @@ void vp9_denoiser_denoise(VP9_DENOISER *denoiser, MACROBLOCK *mb, ...@@ -42,7 +42,7 @@ void vp9_denoiser_denoise(VP9_DENOISER *denoiser, MACROBLOCK *mb,
void vp9_denoiser_reset_frame_stats(PICK_MODE_CONTEXT *ctx); void vp9_denoiser_reset_frame_stats(PICK_MODE_CONTEXT *ctx);
void vp9_denoiser_update_frame_stats(VP9_DENOISER *denoiser, MB_MODE_INFO *mbmi, void vp9_denoiser_update_frame_stats(MB_MODE_INFO *mbmi,
unsigned int sse, PREDICTION_MODE mode, unsigned int sse, PREDICTION_MODE mode,
PICK_MODE_CONTEXT *ctx); PICK_MODE_CONTEXT *ctx);
......
...@@ -656,8 +656,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, ...@@ -656,8 +656,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
#if CONFIG_VP9_TEMPORAL_DENOISING #if CONFIG_VP9_TEMPORAL_DENOISING
if (cpi->oxcf.noise_sensitivity > 0) { if (cpi->oxcf.noise_sensitivity > 0) {
vp9_denoiser_update_frame_stats(&cpi->denoiser, mbmi, sse_y, vp9_denoiser_update_frame_stats(mbmi, sse_y, this_mode, ctx);
this_mode, ctx);
} }
#endif #endif
......
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