Move av_log2 function and asociated table to the codec lib, remove 3 identical implem...
commited880b41fae803c73d04c4ecc4a4cb4c3729dda9
authornls <nls@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Dec 2009 16:47:43 +0000 (5 16:47 +0000)
committernls <nls@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Dec 2009 16:47:43 +0000 (5 16:47 +0000)
tree0a25d85df5377aa053287cdc53af6957ab140adf
parentcd10aeab329b8d46fbf11cac2a742944bc2dfbfb
Move av_log2 function and asociated table to the codec lib, remove 3 identical implementations, always have LUT in iram (gives a *tiny* speedup on coldfire), make the clz based function return the same value as the non clz based function for 0 input to be safe (slows down flac ~2% on the gigabeat S)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23858 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/lib/codeclib.c
apps/codecs/lib/codeclib.h
apps/codecs/libcook/cook_fixpoint.h
apps/codecs/libffmpegFLAC/SOURCES
apps/codecs/libffmpegFLAC/golomb.h
apps/codecs/libffmpegFLAC/tables.c [deleted file]
apps/codecs/libwma/wmadeci.c