summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* Revert r14786 which resulted in a substantial reduction in accuracy to save ↵Michael Giacomelli2008-06-24
| | | | | | a 7.6KB of RAM. Accuracy should be greatly improved now, and if we want to make that trade off again, I think of better ways to do it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17783 a1c6a512-1295-4272-9138-f99709370657
* Fix for WMAv1 decoding suggested by Rafael Carre. I don't think anyone out ↵Michael Giacomelli2008-06-24
| | | | | | there will ever use V1, but its worth having correct code for its own sake. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17782 a1c6a512-1295-4272-9138-f99709370657
* Small correction to avoid overflow within calculate_V()-function. Re-enable ↵Andree Buschmann2008-06-22
| | | | | | full precision for ARM as speed-optimized version is not that much faster anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17750 a1c6a512-1295-4272-9138-f99709370657
* Musepack speed optimization. Speep up 64 bit precision synthesizer by ↵Andree Buschmann2008-06-15
| | | | | | another 1.5MHz through using symmetries within D[] filter coefficients. For ARM only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17724 a1c6a512-1295-4272-9138-f99709370657
* Minor code beautification.Andree Buschmann2008-06-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17720 a1c6a512-1295-4272-9138-f99709370657
* Resort operands in mul/smull/mla/smlal to use D[] as second multiplication ↵Andree Buschmann2008-06-14
| | | | | | operand. Additionally do not pre-scale D[] for the 64 Bit precision synthesizer. Through this the 64 Bit multiplication is speed up by 1.5MHz without loss of precision. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17719 a1c6a512-1295-4272-9138-f99709370657
* Correct DSP_SET_SAMPLE_DEPTH to 29 for mpc (18.14 fixed point samples). ↵Andree Buschmann2008-06-10
| | | | | | Higher precision for fast 32x32=32 multiplication in dewindowing part of synthesis filter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17708 a1c6a512-1295-4272-9138-f99709370657
* Small mpc quality improvement. Guarantee symmetric synthesis window for ↵Andree Buschmann2008-06-08
| | | | | | pre-shifted signed coefficients. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17704 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
* Some quality improvements in the mp3 encoder engine. For more details Antonius Hellmann2008-06-02
| | | | | | | see FS#9007. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17679 a1c6a512-1295-4272-9138-f99709370657
* Put pointer arrays in the correct iram section, tiny const police to make it ↵Nils Wallménius2008-06-02
| | | | | | possible too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17677 a1c6a512-1295-4272-9138-f99709370657
* libmad: PP5002 does in fact profit more from -O2 than PP502x, so use it for ↵Jens Arnold2008-06-01
| | | | | | all targets. The previous check was half-baked (excluded iPod 3rd Gen only, but 1st/2nd Gen are also PP5002). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17675 a1c6a512-1295-4272-9138-f99709370657
* Compile libmad with -O2 for the Ipods instead of just newer PP targets. ↵Michael Giacomelli2008-06-01
| | | | | | Gives a 2% speedup on Ipods, but no change elsewhere. I've left the 3G alone, but its probably worth checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17674 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
* fix FS#9042 - MOD codec: SoundTracker variant MOD files will not playRobert Kukla2008-05-26
| | | | | | | - remove dubious format check and assume no formattag -> Soundtracker - change method for remembering "periods converted" as the old one would corrupt Soundtracker files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17635 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
* FS #8680. MOD codec by Rainer Sinsch.Thom Johansen2008-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 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
* Move ARM assembler of musepack synthesis filter to own file. Additionally ↵Andree Buschmann2008-05-17
| | | | | | add ICONST_ATTR to noise generator data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17562 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9000. Speed up Musepack decoder by 3% on PP5022/24 via using ↵Andree Buschmann2008-05-17
| | | | | | 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
* 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
* Real fake IRAM by placing .i.... section in the analagous DRAM sections in ↵Michael Sevakis2008-05-10
| | | | | | the linker scripts that hasn't done this yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 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
* Fix a couple quirks from the previous commit.Nicolas Pennequin2008-05-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17370 a1c6a512-1295-4272-9138-f99709370657
* Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin2008-05-05
| | | | | | tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
* Another round of making local functions static and making sure that source ↵Bertrik Sikken2008-05-03
| | | | | | files are in sync with their header files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17337 a1c6a512-1295-4272-9138-f99709370657
* SPC Codec: I'm pretty sure Gigabeat S can do realtime BRR decode and echo. :)Michael Sevakis2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17330 a1c6a512-1295-4272-9138-f99709370657
* Make local function interp_pitch in filters.c static.Bertrik Sikken2008-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17326 a1c6a512-1295-4272-9138-f99709370657
* Build the remaining plugins for Gigabeat S and straigten out the fake IRAM ↵Michael Sevakis2008-05-02
| | | | | | in the codecs and plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657
* Fix skipping back to the start of WMA files, broken by the addition of ↵Magnus Holmgren2008-04-29
| | | | | | resume support. Not the most elegant fix perhaps, but it works for me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17291 a1c6a512-1295-4272-9138-f99709370657
* Fix mistake in previous WMA commit. Also update comments to reflect changes.Michael Giacomelli2008-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17202 a1c6a512-1295-4272-9138-f99709370657
* This table is probably 128 entries long beginning with -60. Greatly improves ↵Michael Giacomelli2008-04-18
| | | | | | FS#7488, but does not entirely fix it. Also, while I'm recomputing tables, use proper whitespace formating. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17162 a1c6a512-1295-4272-9138-f99709370657
* Correct copyright date and add acknowledgement of projects (libasf and VLC) ↵Dave Chapman2008-04-16
| | | | | | that the ASF parsing code is based on. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17146 a1c6a512-1295-4272-9138-f99709370657
* Increase the size of one of the look up tables. Fixes 'burst of static' in ↵Michael Giacomelli2008-04-14
| | | | | | some files. I still have no idea how big it really needs to be... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17103 a1c6a512-1295-4272-9138-f99709370657
* Remove redundant init call.Magnus Holmgren2008-04-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17092 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8822 by Magnus Holmgren. Fixes resuming previously playing WMA ↵Michael Giacomelli2008-04-12
| | | | | | files after a reboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17090 a1c6a512-1295-4272-9138-f99709370657
* Make the WMA decoder less noisy in the sim.Michael Giacomelli2008-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17014 a1c6a512-1295-4272-9138-f99709370657
* Fix sim for now. Eventually I should change the decoder to error out if ↵Michael Giacomelli2008-04-07
| | | | | | theres a problem allocating huffman tables. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17013 a1c6a512-1295-4272-9138-f99709370657
* Let the console know when the huffman tables have overflown. This should ↵Michael Giacomelli2008-04-07
| | | | | | never happen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17012 a1c6a512-1295-4272-9138-f99709370657
* Amazingly, I've only been initing about 1/2 the huffman table entries needed ↵Michael Giacomelli2008-04-07
| | | | | | to actually decode a WMA file for the last 8 months and yet somehow never noticed. Fixes FS#8713, FS#8606 and probably a lot of other files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17011 a1c6a512-1295-4272-9138-f99709370657
* Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now ↵Michael Sevakis2008-04-06
| | | | | | with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
* Move audio_set_elapsed to mpa.c, as recommended by the TODO note. Please ↵Nicolas Pennequin2008-04-03
| | | | | | correct me if affecting ci->id3->elapsed directly (ie without using ci->set_elapsed) is wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16945 a1c6a512-1295-4272-9138-f99709370657
* Remove obsolete commentNils Wallménius2008-04-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16942 a1c6a512-1295-4272-9138-f99709370657
* Revert... stupid svn doesn't complain when passing -m twice :(Jens Arnold2008-04-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
* Make the measured LCD scanrates from the greylib known to the scanrate test ↵Jens Arnold2008-04-02
| | | | | | plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
* Move codec_get_file_pos somewhere else like the comment said should be done. ↵Michael Sevakis2008-03-29
| | | | | | Codec API version increment was needed so update all codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16874 a1c6a512-1295-4272-9138-f99709370657
* Fix misleading debug statement.Michael Giacomelli2008-03-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16838 a1c6a512-1295-4272-9138-f99709370657
* Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold2008-03-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657