summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmapro_math.h (follow)
Commit message (Collapse)AuthorAge
* Add codecs to librbcodec.Sean Bartell2012-04-25
| | | | | | | 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>
* Another minor ARM speedup for libwmapro. Drop lsb of multiplication result ↵Andree Buschmann2010-08-05
| | | | | | 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
* Minor of libwmapro on ARM. Swap operands for fixmul31, is 1% faster.Andree Buschmann2010-08-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27727 a1c6a512-1295-4272-9138-f99709370657
* Remove the comment about Coldfire asm. The current code (using fixmul16 ↵Mohamed Tarek2010-08-05
| | | | | | 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
* libwmapro: remove coldfire fixmul24 as it is both incorrect and unused, fix ↵Nils Wallménius2010-08-05
| | | | | | fixmul 31 comment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27715 a1c6a512-1295-4272-9138-f99709370657
* Increase wmapro decoder output sample depth to 24 bits, makes the mean error ↵Mohamed Tarek2010-08-04
| | | | | | 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
* libwmapro: fix comment for coldfire fixmul31.Nils Wallménius2010-07-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27626 a1c6a512-1295-4272-9138-f99709370657
* Maintenance and minor speedup of libwmapro. Comment unused arrays, fix ↵Andree Buschmann2010-07-29
| | | | | | 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
* libwmapro: coldfire asm for vector_fixmul_scalar, 1% speedupNils Wallménius2010-07-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27607 a1c6a512-1295-4272-9138-f99709370657
* Refactor asm macros in libwmapro's vector_fixmul_() functions. No change to ↵Andree Buschmann2010-07-28
| | | | | | output samples. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27604 a1c6a512-1295-4272-9138-f99709370657
* Add ARM assembler to libwmapro vector_fixmul_scalar(). Speeds up decoding by ↵Andree Buschmann2010-07-28
| | | | | | 1% on PP5022. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27603 a1c6a512-1295-4272-9138-f99709370657
* Submit next part of FS#11498. Unroll loop for minor speedup of libwmapro on ↵Andree Buschmann2010-07-28
| | | | | | ARM (1%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27595 a1c6a512-1295-4272-9138-f99709370657
* libwmapro: tiny tweak fo coldfire fixmul24 for a very slight speedup.Nils Wallménius2010-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27585 a1c6a512-1295-4272-9138-f99709370657
* libwmapro: slightly shorter and faster inline asm fixed point multiplication ↵Nils Wallménius2010-07-26
| | | | | | 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
* Submit part of FS#11498. Major speedup for WMA Professional on ARM and ↵Andree Buschmann2010-07-26
| | | | | | 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
* libwmapro: coldfire asm for vector_fixmul_window, gives a speedup of ~13%, ↵Nils Wallménius2010-07-26
| | | | | | 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
* libwmapro : Rename all FIXED occurrances to int32_t and remove types.hMohamed Tarek2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27454 a1c6a512-1295-4272-9138-f99709370657
* Initial cleanup for libwmapro.Mohamed Tarek2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27425 a1c6a512-1295-4272-9138-f99709370657
* Complete the conversion of WMA Pro to fixed point. Floating point code is ↵Mohamed Tarek2010-07-12
| | | | | | 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
* Partial conversion of the wmapro decoder to fixed point arithmetic. ↵Mohamed Tarek2010-07-05
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