summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack/mpc_decoder.c (follow)
Commit message (Collapse)AuthorAge
* Fix FS#11650. Correct sliencing of subband in mpc decoder. Thanks to Leo ↵Andree Buschmann2010-10-02
| | | | | | Witt for reporting and supporting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28200 a1c6a512-1295-4272-9138-f99709370657
* Housekeeping. Comment musepack code seqments unused in rockbox.Andree Buschmann2010-06-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27111 a1c6a512-1295-4272-9138-f99709370657
* Restor setting of EMAC mode on coldfire lost in r25056 fixes whitenoise when ↵Nils Wallménius2010-05-14
| | | | | | transitioning from a codec using a different EMAC mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26013 a1c6a512-1295-4272-9138-f99709370657
* Unroll mpc's requantization loops for some (minor) speed up.Andree Buschmann2010-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25891 a1c6a512-1295-4272-9138-f99709370657
* Refactor mpc's requantization to use identical macros for each subframe.Andree Buschmann2010-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25887 a1c6a512-1295-4272-9138-f99709370657
* Clean up libmusepack: move declarations to internal.h and set svn properties.Bertrik Sikken2010-04-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25676 a1c6a512-1295-4272-9138-f99709370657
* Minor optimization for musepack codec through moving functions to IRAM on PP ↵Andree Buschmann2010-03-11
| | | | | | processors. Speed ups codec by 0.25 MHzon PP5022. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25127 a1c6a512-1295-4272-9138-f99709370657
* Major change to musepack decoder: Import v1.3.0 (r458 from svn.musepack.net) ↵Andree Buschmann2010-03-07
| | | | | | to rockbox. Several adaptions in the musepack decoder were made to get the library work and perform fast under rockbox on several targets. With this change mpc sv8 is supported, including seek, replay gain and metadata support. The decoding speed is a 1-4% lower than the last implementation. Reason for this is main restructuring in the bitstream demuxer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25056 a1c6a512-1295-4272-9138-f99709370657
* Solve possible glitch after seeking in mpc files. Documented the special ↵Andree Buschmann2008-06-28
| | | | | | treatment after seek. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17829 a1c6a512-1295-4272-9138-f99709370657
* Further changes in mpc buffered seek. Remove magical number and replace it ↵Andree Buschmann2008-06-04
| | | | | | with a better commented #define. Use shift and bit mask instead of division and modulo operations when using the seek buffer. Saves some binary size for the codec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17686 a1c6a512-1295-4272-9138-f99709370657
* Fix for FS#9054. MPC-playback stopped after 3:34min caused by out-of-bounds ↵Andree Buschmann2008-05-31
| | | | | | access. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17671 a1c6a512-1295-4272-9138-f99709370657
* Fixes backward seeking on resumed files and backward seeking to positions to ↵Andree Buschmann2008-05-22
| | | | | | which formerly was seeked forward to (sounds complicated and it is). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17606 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9015. Rework of musepack buffered seek. Now a static seek buffer ↵Andree Buschmann2008-05-22
| | | | | | of 8192 entries is used. The seeking precision is adapted to the length of the file (e.g. 26ms for files <=3.5min and 0.4s for files ~60min). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17604 a1c6a512-1295-4272-9138-f99709370657
* Musepack seek hotfix. Do not dynamically allocate seek buffer but use a ↵Andree Buschmann2008-05-19
| | | | | | buffer of constant size (~28.5min). Files larger than this will still not seek properly. Some additional rework has to be done for the seek buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17584 a1c6a512-1295-4272-9138-f99709370657
* Musepack performance optimization for PP5022/PP5024/MCF5250 targets. Use ↵Andree Buschmann2008-05-14
| | | | | | IRAM for internal sample buffers and lookup tables. Speeds up decoding by ~7% on PP5022/PP5024 (Sansa: c200, e200 + iPod mini2G, nano, video) and by ~27% on MCF5250 (iaudio m5, x5). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17507 a1c6a512-1295-4272-9138-f99709370657
* Removed non-active seek mechanism from musepack library, small other cleanups.Andree Buschmann2008-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17446 a1c6a512-1295-4272-9138-f99709370657
* Some changes for musepack: Disable SV4-SV6 support (I guess I am the only ↵Andree Buschmann2008-05-10
| | | | | | one who oned such). Remove tabs, perform some minor code beautification and add ICONST_ATTR to some requantization constants. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17438 a1c6a512-1295-4272-9138-f99709370657
* Code cleaning - remove some unnecessary defined(SIMULATOR) checksDave Chapman2007-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
* Put Musepack output data array back in IRAM for faster DSP processing. Patch ↵Thom Johansen2006-09-01
| | | | | | by Andrew Cupper. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10844 a1c6a512-1295-4272-9138-f99709370657
* FS patch #5172 by Andrew Cupper. Musepack seeking support. Decoder should ↵Thom Johansen2006-08-31
| | | | | | also be faster. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10827 a1c6a512-1295-4272-9138-f99709370657
* Fix the first-frame memmove from pretending the data is interleaved, which ↵Thom Johansen2006-04-29
| | | | | | it isn't anymore. This should fix all remaining gapless problems with Musepack. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9827 a1c6a512-1295-4272-9138-f99709370657
* Make libmusepack output the last frame in two passes. Reclaim the IRAM taken ↵Thom Johansen2006-04-27
| | | | | | in the last commit. Please let me know if you can hear any artifacts or get any broken files from this! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9825 a1c6a512-1295-4272-9138-f99709370657
* Fix warning.Thom Johansen2006-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8490 a1c6a512-1295-4272-9138-f99709370657
* Synced libmpcdec to musepack.net SVN.Thom Johansen2006-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8488 a1c6a512-1295-4272-9138-f99709370657
* I figured out what was *really* causing the MPC track-change noise, so IDave Bryant2006-01-08
| | | | | | | | | backed out Thom's change and made the appropriate change. Note that this should not fix the track change *pop* because there still seems to be a problem decoding the first and last several hundred samples of MPC files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8306 a1c6a512-1295-4272-9138-f99709370657
* Squeezed two very frequently used arrays in IRAM for a very nice performance ↵Thom Johansen2005-10-28
| | | | | | boost. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7676 a1c6a512-1295-4272-9138-f99709370657
* Musepack: emacified multiplication routines, gives a nice speed boost.Jens Arnold2005-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7624 a1c6a512-1295-4272-9138-f99709370657
* Adapted codecs and DSP system to having MACSR saved in thread context.Thom Johansen2005-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
* See my message on the mailinglist. This should kill all warnings left in the ↵Tomas Salfischberger2005-06-14
| | | | | | iriver builds. And the changes will be added to the next musepack minor release. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6710 a1c6a512-1295-4272-9138-f99709370657
* fix a couple of warnings, still have numerous for signed <=> unsigned mixedDaniel Stenberg2005-05-07
| | | | | | | usage git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6418 a1c6a512-1295-4272-9138-f99709370657
* Musepack support, complete with mpc2wav plugin. Thanks go out to rasher for ↵Thom Johansen2005-04-12
initiating the port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6276 a1c6a512-1295-4272-9138-f99709370657