Commit f3cddc3d authored by michael's avatar michael

Branchless setting of MB_TYPE_8x8DCT.

Not benchmarked as i failed to find a sample that uses this one. But it should be faster.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21435 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 145d5c4f
...@@ -904,9 +904,7 @@ decode_intra_mb: ...@@ -904,9 +904,7 @@ decode_intra_mb:
} }
if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){ if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){
if(get_bits1(&s->gb)){ mb_type |= MB_TYPE_8x8DCT*get_bits1(&s->gb);
mb_type |= MB_TYPE_8x8DCT;
}
} }
h->cbp= h->cbp=
h->cbp_table[mb_xy]= cbp; h->cbp_table[mb_xy]= cbp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment