projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0defc2d
)
Fix in token allocation with zerogroup expt
author
Deb Mukherjee
<debargha@google.com>
Tue, 23 Apr 2013 15:51:31 +0000
(08:51 -0700)
committer
Deb Mukherjee
<debargha@google.com>
Tue, 23 Apr 2013 15:51:31 +0000
(08:51 -0700)
Fix to increase allocation of tokens at very high rates.
Change-Id: Ia27aa0316b0fab664230800f9c9947b5c68ecd58
vp9/common/vp9_onyxc_int.h
patch
|
blob
|
history
diff --git
a/vp9/common/vp9_onyxc_int.h
b/vp9/common/vp9_onyxc_int.h
index
8f95734
..
84cb9ef
100644
(file)
--- a/
vp9/common/vp9_onyxc_int.h
+++ b/
vp9/common/vp9_onyxc_int.h
@@
-361,6
+361,10
@@
static int get_mb_col(const MACROBLOCKD *xd) {
}
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_