ref: a1e87a57466fc3c76ef072328a8b68b0152c7f0a
parent: 711f0a6f93e4acc4d5768afcd1cb6429fadb51a6
parent: d7ed861ce3b1751d666d0cd942582eff48d310bf
author: Jingning Han <[email protected]>
date: Thu Sep 20 23:31:57 EDT 2018
Merge "Skip RD check for compound modes that have same sign bias"
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -3350,6 +3350,10 @@
if (comp_pred) {
if (!cpi->allow_comp_inter_inter) continue;
+ if (cm->ref_frame_sign_bias[ref_frame] ==
+ cm->ref_frame_sign_bias[second_ref_frame])
+ continue;
+
// Skip compound inter modes if ARF is not available.
if (!(cpi->ref_frame_flags & flag_list[second_ref_frame])) continue;