]> granicus.if.org Git - libvpx/commitdiff
intrabc: Include NEWDV in mode_2_counter
authorAlex Converse <aconverse@google.com>
Tue, 2 Jun 2015 05:09:01 +0000 (22:09 -0700)
committerAlex Converse <aconverse@google.com>
Tue, 2 Jun 2015 18:01:00 +0000 (11:01 -0700)
This fixes a failure to decode as VP9 with frame level signalling
patched in and removed to implictly force it off.

This is primarily a correctness fix, but there were small coding gains.
0.074% smaller on derlf
0.180% smaller on screen_content

Change-Id: I4cc264bf4d9016201924be198a0c5b8374020fd9

vp9/common/vp9_mvref_common.h

index 11ea3617027fc22d6c62a3783ab9faa1aaa7b15e..d05b455f523e24b03fe898072a3b5ee10535581d 100644 (file)
@@ -58,6 +58,9 @@ static const int mode_2_counter[MB_MODE_COUNT] = {
   9,  // D207_PRED
   9,  // D63_PRED
   9,  // TM_PRED
+#if CONFIG_INTRABC
+  9,  // NEWDV
+#endif  // CONFIG_INTRABC
   0,  // NEARESTMV
   0,  // NEARMV
   3,  // ZEROMV