shithub: libvpx

Download patch

ref: 7e119e29468f5466b2def61dd5281906cb595998
parent: 1c84e73ebda82f0089f6ae71acfe1710f5bed2c2
author: Jingning Han <[email protected]>
date: Sun Nov 2 07:18:53 EST 2014

Fix the THR_MODES array used in vp9_pick_inter_mode

Fix the alignment of entries fo intra prediction modes.

Change-Id: Ie32ad87cf90694efd591a4b1cc29c916c4cd56f7

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -453,7 +453,7 @@
 }
 
 static const THR_MODES mode_idx[MAX_REF_FRAMES][4] = {
-  {THR_DC, THR_H_PRED, THR_V_PRED},
+  {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},