[Ffmpeg-devel] benchmark of different CABAC routines

Uoti Urpala uoti.urpala
Wed Oct 11 21:30:15 CEST 2006


On Wed, 2006-10-11 at 21:30 +0300, Uoti Urpala wrote:
> branchless cmov: 4890
> branchless no-cmov: 4834
> non-branchless: 4553
> non-branchless C: 5058
> non-branchless C, modified: 4996
> branchless C: 5440

Results with h264.c compiled with -O2 are somewhat different:
branchless cmov: 5054
branchless no-cmov: 5185
non-branchless: 5080
non-branchless C: 5350
non-branchless C, modified: 5435
branchless C: 6067

Either this means that inlining effects are significant or that
"irrelevant" code changes affect the time noticeably. Also, even though
CABAC is slower with -O2, overall decoding speed was higher in the 2
cases I tested (non-branchless and branchless-cmov).





More information about the ffmpeg-devel mailing list