Fix token allocation for non-4:2:0
Increase the allocated size of the token array to support 4:4:4.
Change-Id: I7766a7bedc74b819dcc1f3622d634f340fd3186d
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h
index 3e8bb15..57f9978 100644
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -329,6 +329,6 @@
}
static int get_token_alloc(int mb_rows, int mb_cols) {
- return mb_rows * mb_cols * (24 * 16 + 4);
+ return mb_rows * mb_cols * (48 * 16 + 4);
}
#endif // VP9_COMMON_VP9_ONYXC_INT_H_