JNT_COMP: allow reversing the search order
Set init compound mode cost to 0, such that the rate cost is properly
calculated. Otherwise we can't reverse the search order of jnt_comp
and other compound modes.
Change-Id: I3117e376211cba376eb27bd29802827741d441dd
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index cd918d0..12ca4e0 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -8249,6 +8249,7 @@
int comp_idx;
for (comp_idx = 0; comp_idx < 1 + is_comp_pred; ++comp_idx) {
+ compmode_interinter_cost = 0;
early_terminate = 0;
*rd_stats = backup_rd_stats;
*rd_stats_y = backup_rd_stats_y;