summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack/decoder.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>
2011-09-10Fully remove floating point code from libmusepack. Introduce two small const ↵Andree Buschmann
arrays for precalculated scalefactors, correct the integer type of scalefactors to unsigned, migrate some metadata calculations to fixed point. No impact to decoder output. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30497 a1c6a512-1295-4272-9138-f99709370657
2010-11-12Set alignment for major data arrays in the mpc codec. This avoids ↵Andree Buschmann
performance regressions on S5L870x CPUs when changing code and allows further improvements. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28561 a1c6a512-1295-4272-9138-f99709370657
2010-03-07Major change to musepack decoder: Import v1.3.0 (r458 from svn.musepack.net) ↵Andree Buschmann
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
2008-06-28Solve possible glitch after seeking in mpc files. Documented the special ↵Andree Buschmann
treatment after seek. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17829 a1c6a512-1295-4272-9138-f99709370657
2008-06-04Further changes in mpc buffered seek. Remove magical number and replace it ↵Andree Buschmann
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
2008-05-22Commit FS#9015. Rework of musepack buffered seek. Now a static seek buffer ↵Andree Buschmann
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
2008-05-19Musepack seek hotfix. Do not dynamically allocate seek buffer but use a ↵Andree Buschmann
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
2008-05-17Commit FS#9000. Speed up Musepack decoder by 3% on PP5022/24 via using ↵Andree Buschmann
ICODE_ATTR for calc_new_V(). Additionally correct a type in decoder-struct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17552 a1c6a512-1295-4272-9138-f99709370657
2008-05-10Removed non-active seek mechanism from musepack library, small other cleanups.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17446 a1c6a512-1295-4272-9138-f99709370657
2008-05-10Some changes for musepack: Disable SV4-SV6 support (I guess I am the only ↵Andree Buschmann
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
2006-09-01Put Musepack output data array back in IRAM for faster DSP processing. Patch ↵Thom Johansen
by Andrew Cupper. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10844 a1c6a512-1295-4272-9138-f99709370657
2006-08-31FS patch #5172 by Andrew Cupper. Musepack seeking support. Decoder should ↵Thom Johansen
also be faster. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10827 a1c6a512-1295-4272-9138-f99709370657
2006-04-27Make libmusepack output the last frame in two passes. Reclaim the IRAM taken ↵Thom Johansen
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
2006-01-30Synced libmpcdec to musepack.net SVN.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8488 a1c6a512-1295-4272-9138-f99709370657
2005-10-28Squeezed two very frequently used arrays in IRAM for a very nice performance ↵Thom Johansen
boost. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7676 a1c6a512-1295-4272-9138-f99709370657
2005-04-12Musepack support, complete with mpc2wav plugin. Thanks go out to rasher for ↵Thom Johansen
initiating the port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6276 a1c6a512-1295-4272-9138-f99709370657