ref: 9c93307c10a843f288ae8e463112d6fc998f5d4e
parent: cb01baa0fa709b580a0cb6f428e7383d0fef3532
parent: dd0602e01c3dd2098b6fc4be4fe8d8bfccabd0dd
author: Jingning Han <[email protected]>
date: Fri Dec 19 06:02:51 EST 2014
Merge "Remove ARF mode entries from THR_MODES array in non-RD mode"
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -447,11 +447,10 @@
args->dist += dist;
}
-static const THR_MODES mode_idx[MAX_REF_FRAMES][4] = {
+static const THR_MODES mode_idx[MAX_REF_FRAMES - 1][4] = {
{THR_DC, THR_H_PRED, THR_V_PRED, THR_TM},
{THR_NEARESTMV, THR_NEARMV, THR_ZEROMV, THR_NEWMV},
{THR_NEARESTG, THR_NEARG, THR_ZEROG, THR_NEWG},
- {THR_NEARESTA, THR_NEARA, THR_ZEROA, THR_NEWA},
};
static const PREDICTION_MODE intra_mode_list[] = {