Remove symbol mapping of intra modes
The _ind and _inv mapping tables are not necessary. The CDF tables are
updated with new values converted from the old tables. Performance
impact is small and neutral.
Change-Id: I65845ab3c80f88794abd9ab9e61494af56099c7c
diff --git a/av1/decoder/decodemv.c b/av1/decoder/decodemv.c
index f89ab0f..7f6e88d 100644
--- a/av1/decoder/decodemv.c
+++ b/av1/decoder/decodemv.c
@@ -36,8 +36,7 @@
#define DEC_MISMATCH_DEBUG 0
static PREDICTION_MODE read_intra_mode(aom_reader *r, aom_cdf_prob *cdf) {
- return (PREDICTION_MODE)
- av1_intra_mode_inv[aom_read_symbol(r, cdf, INTRA_MODES, ACCT_STR)];
+ return (PREDICTION_MODE)aom_read_symbol(r, cdf, INTRA_MODES, ACCT_STR);
}
static int read_delta_qindex(AV1_COMMON *cm, MACROBLOCKD *xd, aom_reader *r,