[FFmpeg-devel] [PATCH] Faster CABAC H.264 residual decoding

Alexander Strange astrange
Sun Apr 27 03:56:03 CEST 2008


On Apr 26, 2008, at 2:47 PM, Jason Garrett-Glaser wrote:

> On the advice of #ffmpeg-devel I have made a version with uint8_t
> arrays instead of int.
>
> Dark Shikari
> <cabac_transition_table.diff>

This seemed better (with uint8_t) on Core 2, but it's apparently worse  
on Athlon.

Maybe try replacing '(abslevelgt1 != 0 ? 0 : FFMIN( 4, abslevel1 ))'  
with some bitmasking instead?




More information about the ffmpeg-devel mailing list