]> granicus.if.org Git - libvpx/commitdiff
Using INTER_MODES constant instead of MB_MODE_COUNT - NEARESTMV.
authorDmitry Kovalev <dkovalev@google.com>
Fri, 18 Oct 2013 21:31:56 +0000 (14:31 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Fri, 18 Oct 2013 21:31:56 +0000 (14:31 -0700)
Change-Id: Ie5ec392904d03fd5485474b33be8408108e9d3c9

vp9/encoder/vp9_block.h

index fe768046b161c063370cebe97fc1a4490fbc466c..ebce75bb243efcb99a3816f9133c69900934f4b4 100644 (file)
@@ -114,7 +114,7 @@ struct macroblock {
   int **mvsadcost;
 
   int mbmode_cost[MB_MODE_COUNT];
-  unsigned inter_mode_cost[INTER_MODE_CONTEXTS][MB_MODE_COUNT - NEARESTMV];
+  unsigned inter_mode_cost[INTER_MODE_CONTEXTS][INTER_MODES];
   int intra_uv_mode_cost[2][MB_MODE_COUNT];
   int y_mode_costs[INTRA_MODES][INTRA_MODES][INTRA_MODES];
   int switchable_interp_costs[SWITCHABLE_FILTERS + 1]