Approx 10% speedup in cook on files tested: Remove some inner loops in favour of...
commitce8d9577a5939fca50f8e0dab4d88bec6a676da1
authorstripwax <stripwax@a1c6a512-1295-4272-9138-f99709370657>
Sun, 26 Jul 2009 19:06:36 +0000 (26 19:06 +0000)
committerstripwax <stripwax@a1c6a512-1295-4272-9138-f99709370657>
Sun, 26 Jul 2009 19:06:36 +0000 (26 19:06 +0000)
treed9a5177cbab89abdd1e9ae4c0e6820a9187f36c0
parent5cd4ee14aa6dcb393b7eca7354179ad651d83a7b
Approx 10% speedup in cook on files tested: Remove some inner loops in favour of memcpy/memset/vect_add calls; remove multiplication from index arithmetic in loops in favour of pointer arithmetic; make use of the MULT31, MULT31_SHIFT15 and CLIP_TO_15 implementations from codelib instead of having their own implementations in cook

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22055 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/libcook/cook.c
apps/codecs/libcook/cook_fixpoint.h