[FFmpeg-devel] [PATCH] 'vorbis_residue_decode' optimizations
Siarhei Siamashka
siarhei.siamashka
Sat Aug 30 14:53:28 CEST 2008
Hi,
This trivial patch improves overall vorbis decoding performance by ~3% on
Pentium-M with gcc 4.2.3
Maybe some variations of it can provide even more improvement (more separate
implementations for the typical values of 'ch' and 'vlen'). Respecting
CONFIG_SMALL would be also a good idea.
Anyway, 'vorbis_residue_decode' is currently one of the parts of ffvorbis
decoder that takes quite a lot of time, adding some optimizations to it
(including those that are already mentioned as FIXME in the sources) should
help quite a lot.
--
Best regards,
Siarhei Siamashka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vorbis_residue_opt.diff
Type: text/x-diff
Size: 4696 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080830/98d3cc62/attachment.diff>
More information about the ffmpeg-devel
mailing list