Commit da5054c5 authored by John Koleszar's avatar John Koleszar
Browse files

Fix token allocation for non-4:2:0

Increase the allocated size of the token array to support 4:4:4.

Change-Id: I7766a7bedc74b819dcc1f3622d634f340fd3186d
parent a37ee9d2
......@@ -329,6 +329,6 @@ static int get_mi_col(const MACROBLOCKD *xd) {
}
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_
Markdown is supported
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