Help determine pred mode in third pass tpl.
Use the prediction mode / MV info from the second pass to help determine the
prediction in tpl.
Gives modest gains on speed 4, hdres2:
ovr_psnr: -0.302%, avg_psnr: -0.285%, ssim:-0.343%
STATS_CHANGED
BUG=aomedia:3101
Change-Id: Ibe16412194024e6ee335d559a507920a95641f4c
diff --git a/av1/encoder/thirdpass.c b/av1/encoder/thirdpass.c
index 334ec5cb..c66ad1c 100644
--- a/av1/encoder/thirdpass.c
+++ b/av1/encoder/thirdpass.c
@@ -258,6 +258,7 @@
this_mi[this_offset].mv[1] = cur_mi_info.mv[1];
this_mi[this_offset].ref_frame[0] = cur_mi_info.ref_frame[0];
this_mi[this_offset].ref_frame[1] = cur_mi_info.ref_frame[1];
+ this_mi[this_offset].pred_mode = cur_mi_info.mode;
}
}
}