mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
1 cpu cycle faster suffix_length calculation.
Originally committed as revision 21425 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f632c4549b
commit
8ba436171f
@ -408,7 +408,7 @@ static int decode_residual(H264Context *h, GetBitContext *gb, DCTELEM *block, in
|
||||
|
||||
if(trailing_ones<total_coeff) {
|
||||
int mask, prefix;
|
||||
int suffix_length = total_coeff > 10 && trailing_ones < 3;
|
||||
int suffix_length = total_coeff > 10 & trailing_ones < 3;
|
||||
int bitsi= show_bits(gb, LEVEL_TAB_BITS);
|
||||
int level_code= cavlc_level_tab[suffix_length][bitsi][0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user