[FFmpeg-devel] [PATCH] CONFIG_SMALL for roqaudioenc.c

Reimar Döffinger Reimar.Doeffinger
Thu Oct 15 22:04:56 CEST 2009


Hello,
roqaudioenc uses a ca. 16kB lookup table by default, attached patch makes
it use ff_sqrt directly if CONFIG_SMALL is set.
Overall that means instead of a single table lookup it needs about
a table lookup, 2 shifts, 2 multiples, 2 adds and two branches per value
encoded.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: roqaud_small.diff
Type: text/x-diff
Size: 938 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091015/899999cd/attachment.diff>



More information about the ffmpeg-devel mailing list