diff options
author | John Koleszar <jkoleszar@google.com> | 2013-05-08 16:15:54 -0700 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2013-05-09 20:22:59 -0700 |
commit | da5054c5af4d8da16492f670ca023a334559021e (patch) | |
tree | d9b3c4127e934cc70626dcbaa5edf0d892435c15 /vp9/common | |
parent | a37ee9d2e8b9b7cf33455af60bcd9312dc898126 (diff) | |
download | libvpx-da5054c5af4d8da16492f670ca023a334559021e.tar libvpx-da5054c5af4d8da16492f670ca023a334559021e.tar.gz libvpx-da5054c5af4d8da16492f670ca023a334559021e.tar.bz2 libvpx-da5054c5af4d8da16492f670ca023a334559021e.zip |
Fix token allocation for non-4:2:0
Increase the allocated size of the token array to support 4:4:4.
Change-Id: I7766a7bedc74b819dcc1f3622d634f340fd3186d
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_onyxc_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
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_ |