Move av_log2 function and asociated table to the codec lib, remove 3 identical implem...
commitf5f6c9bb3f98c592c45efb71c013323e2c77f727
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
parent06255d85b8222556a123d945d8726bc003dbc2d2
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