RTC: Fill in missing enums for adaptive_rd_thresh speed feature
Some of the enums in a static used by adaptive_rd_thresh are
currently not filled in, which defaults them to 0 (NEARESTMV). This
incorrectly prunes out ALTREF's modes even if they are often used.
| SPD_SET | TESTSET | AVG_PSNR | OVR_PSNR | SSIM | SPD |
|---------|---------|----------|----------|---------|-------|
| 7 | rtc | -0.075% | -0.115% | -0.132% | +0.3% |
| 7 |rtc_derf | +0.023% | +0.015% | +0.087% | +0.2% |
|---------|---------|----------|----------|---------|-------|
| 8 | rtc | +0.014% | -0.033% | -0.028% | +0.4% |
| 8 |rtc_derf | +0.000% | +0.000% | +0.000% | +0.0% |
STATS_CHANGED
Change-Id: I6ddef805fedaa59061f1a148b6c2d21a291ca27e
diff --git a/av1/encoder/nonrd_pickmode.c b/av1/encoder/nonrd_pickmode.c
index e3c9b8d..33a14e6 100644
--- a/av1/encoder/nonrd_pickmode.c
+++ b/av1/encoder/nonrd_pickmode.c
@@ -104,7 +104,10 @@
{ THR_NEARESTMV, THR_NEARMV, THR_GLOBALMV, THR_NEWMV },
{ THR_NEARESTL2, THR_NEARL2, THR_GLOBALL2, THR_NEWL2 },
{ THR_NEARESTL3, THR_NEARL3, THR_GLOBALL3, THR_NEWL3 },
- { THR_NEARESTG, THR_NEARG, THR_GLOBALMV, THR_NEWG },
+ { THR_NEARESTG, THR_NEARG, THR_GLOBALG, THR_NEWG },
+ { THR_NEARESTB, THR_NEARB, THR_GLOBALB, THR_NEWB },
+ { THR_NEARESTA2, THR_NEARA2, THR_GLOBALA2, THR_NEWA2 },
+ { THR_NEARESTA, THR_NEARA, THR_GLOBALA, THR_NEWA },
};
static const PREDICTION_MODE intra_mode_list[] = { DC_PRED, V_PRED, H_PRED,