This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
pentium dual. Originally committed as revision 16279 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
26695973c7
commit
ec3686e889
1 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
libavcodec/h264.c
+ 1
- 4
libavcodec/h264.c
View File
@@ -4991,10 +4991,7 @@ static int decode_cabac_mb_ref( H264Context *h, int list, int n ) {
while( get_cabac( &h->cabac, &h->cabac_state[54+ctx] ) ) {
ref++;
if( ctx < 4 )
ctx = 4;
else
ctx = 5;
ctx = (ctx>>2)+4;
if(ref >= 32 /*h->ref_list[list]*/){
return -1;
}
Write
Preview
Loading…
Cancel
Save