From: Dmitry Kovalev Date: Fri, 18 Oct 2013 21:31:56 +0000 (-0700) Subject: Using INTER_MODES constant instead of MB_MODE_COUNT - NEARESTMV. X-Git-Tag: v1.3.0~168^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18a4bd251065d7e99fab809258f97da2013c8b68;p=libvpx Using INTER_MODES constant instead of MB_MODE_COUNT - NEARESTMV. Change-Id: Ie5ec392904d03fd5485474b33be8408108e9d3c9 --- diff --git a/vp9/encoder/vp9_block.h b/vp9/encoder/vp9_block.h index fe768046b..ebce75bb2 100644 --- a/vp9/encoder/vp9_block.h +++ b/vp9/encoder/vp9_block.h @@ -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]