]> granicus.if.org Git - libvpx/commit
Take out repeated block width/height lookup functions
authorJingning Han <jingning@google.com>
Tue, 7 Oct 2014 19:30:33 +0000 (12:30 -0700)
committerJingning Han <jingning@google.com>
Tue, 7 Oct 2014 19:33:07 +0000 (12:33 -0700)
commitb66f7016c1eed780545efa2518a7f33ae401ee35
treeee9231042fd360b37731dddc7ee59aa7cdd2ab89
parent5d9cdac08709d6343fbd028f280a92bd7fd7d04c
Take out repeated block width/height lookup functions

The functions b_width_log2 and b_height_log2 only do direct
table fetch. This commit unifies such use cases by using the
table directly and removes these functions.

Change-Id: I3103fc6ba959c1182886a2799d21b8b77c8a7b6b
vp9/common/vp9_blockd.h
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodeframe.c
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodemb.c
vp9/encoder/vp9_pickmode.c
vp9/encoder/vp9_rdopt.c