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/encoder/vp9_pickmode.c | |
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/encoder/vp9_pickmode.c')
-rw-r--r-- | vp9/encoder/vp9_pickmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 9abc9d1fb..fc73cfaf1 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -492,7 +492,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, const int *const rd_threshes = cpi->rd.threshes[segment_id][bsize]; const int *const rd_thresh_freq_fact = cpi->rd.thresh_freq_fact[bsize]; INTERP_FILTER filter_ref = cm->interp_filter; - const int bsl = mi_width_log2(bsize); + const int bsl = mi_width_log2_lookup[bsize]; const int pred_filter_search = cm->interp_filter == SWITCHABLE ? (((mi_row + mi_col) >> bsl) + get_chessboard_index(cm->current_video_frame)) & 0x1 : 0; |