Commit 64e7f017 authored by Deb Mukherjee's avatar Deb Mukherjee
Browse files

Fix in token allocation with zerogroup expt

Fix to increase allocation of tokens at very high rates.

Change-Id: Ia27aa0316b0fab664230800f9c9947b5c68ecd58
Showing with 4 additions and 0 deletions
......@@ -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_
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment