summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmapro_math.h (unfollow)
Commit message (Collapse)Author
2012-04-25Add codecs to librbcodec.Sean Bartell
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2010-08-05Another minor ARM speedup for libwmapro. Drop lsb of multiplication result ↵Andree Buschmann
in fixmul31(). The difference to current implementation is +/-1 in the output signal. Same routines are used for other codecs and in the codec lib as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27728 a1c6a512-1295-4272-9138-f99709370657
2010-08-05Minor of libwmapro on ARM. Swap operands for fixmul31, is 1% faster.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27727 a1c6a512-1295-4272-9138-f99709370657
2010-08-05Remove the comment about Coldfire asm. The current code (using fixmul16 ↵Mohamed Tarek
macros) is fast enough; even faster than an equivalent CF asm version, as pointed out by Nils Wallménius. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27724 a1c6a512-1295-4272-9138-f99709370657
2010-08-05libwmapro: remove coldfire fixmul24 as it is both incorrect and unused, fix ↵Nils Wallménius
fixmul 31 comment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27715 a1c6a512-1295-4272-9138-f99709370657
2010-08-04Increase wmapro decoder output sample depth to 24 bits, makes the mean error ↵Mohamed Tarek
between our output and the original floating point decoder ~5e-8. (FS#11498 by Buschel) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27703 a1c6a512-1295-4272-9138-f99709370657
2010-07-30libwmapro: fix comment for coldfire fixmul31.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27626 a1c6a512-1295-4272-9138-f99709370657
2010-07-29Maintenance and minor speedup of libwmapro. Comment unused arrays, fix ↵Andree Buschmann
comment, remove tabs and introduce WMAPRO_FRACT to wma.h to remove magic numbers. Swap operands of fixmul16-call for minor speedup on ARM (+1%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27617 a1c6a512-1295-4272-9138-f99709370657
2010-07-28libwmapro: coldfire asm for vector_fixmul_scalar, 1% speedupNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27607 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Refactor asm macros in libwmapro's vector_fixmul_() functions. No change to ↵Andree Buschmann
output samples. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27604 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Add ARM assembler to libwmapro vector_fixmul_scalar(). Speeds up decoding by ↵Andree Buschmann
1% on PP5022. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27603 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Submit next part of FS#11498. Unroll loop for minor speedup of libwmapro on ↵Andree Buschmann
ARM (1%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27595 a1c6a512-1295-4272-9138-f99709370657
2010-07-27libwmapro: tiny tweak fo coldfire fixmul24 for a very slight speedup.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27585 a1c6a512-1295-4272-9138-f99709370657
2010-07-26libwmapro: slightly shorter and faster inline asm fixed point multiplication ↵Nils Wallménius
routines, speedup is ~0.5%. Also don't lie to gcc about which vars are changed by the asm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27584 a1c6a512-1295-4272-9138-f99709370657
2010-07-26Submit part of FS#11498. Major speedup for WMA Professional on ARM and ↵Andree Buschmann
Coldfire CPUs. Introduce asm routines for multiplications, move arrays with major impact on decoding speed to IRAM. Speeds up decoding by 25% on PP5022 and 34% on mcf5249. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27582 a1c6a512-1295-4272-9138-f99709370657
2010-07-26libwmapro: coldfire asm for vector_fixmul_window, gives a speedup of ~13%, ↵Nils Wallménius
drop the add_bias argument for the vector_fixmul_window function, since it was always 0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27573 a1c6a512-1295-4272-9138-f99709370657
2010-07-17libwmapro : Rename all FIXED occurrances to int32_t and remove types.hMohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27454 a1c6a512-1295-4272-9138-f99709370657
2010-07-15Initial cleanup for libwmapro.Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27425 a1c6a512-1295-4272-9138-f99709370657
2010-07-12Complete the conversion of WMA Pro to fixed point. Floating point code is ↵Mohamed Tarek
still there for better history and to have a returning point in svn should something go wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27402 a1c6a512-1295-4272-9138-f99709370657
2010-07-05Partial conversion of the wmapro decoder to fixed point arithmetic. ↵Mohamed Tarek
Currently inverse quantization & rescaling, imdct and windowing are all in fixed point. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27302 a1c6a512-1295-4272-9138-f99709370657