Index: source/libvpx/vp9/encoder/vp9_denoiser.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_denoiser.c (revision 292072) |
+++ source/libvpx/vp9/encoder/vp9_denoiser.c (working copy) |
@@ -89,9 +89,9 @@ |
int total_adj = 0; |
int shift_inc = 1; |
- /* If motion_magnitude is small, making the denoiser more aggressive by |
- * increasing the adjustment for each level. Add another increment for |
- * blocks that are labeled for increase denoising. */ |
+ // If motion_magnitude is small, making the denoiser more aggressive by |
+ // increasing the adjustment for each level. Add another increment for |
+ // blocks that are labeled for increase denoising. |
if (motion_magnitude <= MOTION_MAGNITUDE_THRESHOLD) { |
if (increase_denoising) { |
shift_inc = 2; |
@@ -213,7 +213,7 @@ |
int sse_diff = ctx->zeromv_sse - ctx->newmv_sse; |
MV_REFERENCE_FRAME frame; |
MACROBLOCKD *filter_mbd = &mb->e_mbd; |
- MB_MODE_INFO *mbmi = &filter_mbd->mi[0]->mbmi; |
+ MB_MODE_INFO *mbmi = &filter_mbd->mi[0].src_mi->mbmi; |
MB_MODE_INFO saved_mbmi; |
int i, j; |