mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
Branchless setting of MB_TYPE_8x8DCT.
Not benchmarked as i failed to find a sample that uses this one. But it should be faster. Originally committed as revision 21435 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
81afcf1fae
commit
996b099a0f
@ -904,9 +904,7 @@ decode_intra_mb:
|
||||
}
|
||||
|
||||
if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){
|
||||
if(get_bits1(&s->gb)){
|
||||
mb_type |= MB_TYPE_8x8DCT;
|
||||
}
|
||||
mb_type |= MB_TYPE_8x8DCT*get_bits1(&s->gb);
|
||||
}
|
||||
h->cbp=
|
||||
h->cbp_table[mb_xy]= cbp;
|
||||
|
Loading…
Reference in New Issue
Block a user