diff options
author | Jingning Han <jingning@google.com> | 2014-10-07 12:45:25 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2014-10-07 12:45:25 -0700 |
commit | 7ee58985bd080bff50149dfd2f2ab373a55650a0 (patch) | |
tree | 166743403656bd6333c6fdd9a451b11f1599178a /vp9/common/vp9_onyxc_int.h | |
parent | b66f7016c1eed780545efa2518a7f33ae401ee35 (diff) | |
download | libvpx-7ee58985bd080bff50149dfd2f2ab373a55650a0.tar libvpx-7ee58985bd080bff50149dfd2f2ab373a55650a0.tar.gz libvpx-7ee58985bd080bff50149dfd2f2ab373a55650a0.tar.bz2 libvpx-7ee58985bd080bff50149dfd2f2ab373a55650a0.zip |
Replace mi_width_log2() with mi_width_log2_lookup table
Change-Id: If0ea98aa139d14d40cd924114e18396aff36b5a5
Diffstat (limited to 'vp9/common/vp9_onyxc_int.h')
-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 eeaff7fb9..c28f156ab 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -329,7 +329,7 @@ static INLINE int partition_plane_context(const MACROBLOCKD *xd, const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); - const int bsl = mi_width_log2(bsize); + const int bsl = mi_width_log2_lookup[bsize]; const int bs = 1 << bsl; int above = 0, left = 0, i; |