From: John Koleszar Date: Wed, 8 May 2013 23:15:54 +0000 (-0700) Subject: Fix token allocation for non-4:2:0 X-Git-Tag: v1.3.0~1106^2~6^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da5054c5af4d8da16492f670ca023a334559021e;p=libvpx 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 3e8bb15d9..57f9978f4 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -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_