shithub: libvpx

Download patch

ref: 0e905e03f2464cdcdefcf2abf47c4d6a87da1a41
parent: 27bb4777cd8ecf0a0fa2599a25c84a13c6789d9b
parent: 64e7f017cebd8282ffc865028f3a90457753f327
author: Deb Mukherjee <debargha@google.com>
date: Wed Apr 24 04:57:25 EDT 2013

Merge "Fix in token allocation with zerogroup expt" into experimental

--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -362,6 +362,10 @@
 }
 
 static int get_token_alloc(int mb_rows, int mb_cols) {
+#if CONFIG_CODE_ZEROGROUP
+  return mb_rows * mb_cols * (24 * 16 * 2);
+#else
   return mb_rows * mb_cols * (24 * 16 + 4);
+#endif
 }
 #endif  // VP9_COMMON_VP9_ONYXC_INT_H_