summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* Fix standalone demac tool build.Jens Arnold2011-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29239 a1c6a512-1295-4272-9138-f99709370657
* Use the very large IRAM of S5L870x to speed up AAC-HE by ~1-5%.Andree Buschmann2011-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29212 a1c6a512-1295-4272-9138-f99709370657
* Use MEM_ALIGN_ATTR in libfaad. Remove global array and re-use existing one.Andree Buschmann2011-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29211 a1c6a512-1295-4272-9138-f99709370657
* Speed up AAC-HE SBR by 2% on S5L8701. Use MEM_ALIGN on critical arrays and ↵Andree Buschmann2011-02-05
| | | | | | avoid stalls in asm code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29209 a1c6a512-1295-4272-9138-f99709370657
* Fix #11897 - Multiple 'divide by zero' while playing particular APE on ↵Michael Sevakis2011-02-05
| | | | | | Clip+. Problem and solution observed and checked on Gigabeat S by myself. Fix submitted by Mikhail Titov resolves it. range_decode_short was declared as returing 'int short' rather than 'unsigned short' resulting in unwanted sign extension. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29208 a1c6a512-1295-4272-9138-f99709370657
* Correctly re-initialize wma decoder on next track. This fixes strange ↵Andree Buschmann2011-02-03
| | | | | | observed issues (noise, crashes) which only could be solved through re-entering the wma codec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29202 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11918: Add 2 more codec types to be able to differentiate between ↵Andree Buschmann2011-02-03
| | | | | | AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
* Find a more consistent and resilient way to handle SBR upsampled files. The ↵Andree Buschmann2011-02-02
| | | | | | detection is only done in one place (the metadata parser) and takes into account that the m4a header might already report corrected frame/sample sizes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29188 a1c6a512-1295-4272-9138-f99709370657
* Recognize AAC-HE SBR with upsampling and correct duration, bitrate, seek and ↵Andree Buschmann2011-02-02
| | | | | | resume behaviour for such files. When SBR upsampling is used the decoder outputs the double amount of samples per frame. As the seek and resume functions do not know about this fact a special handling is introduced. Fixes issues reported in FS#11916. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29186 a1c6a512-1295-4272-9138-f99709370657
* Add a safety check in the resume seek code, just in case.Magnus Holmgren2011-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29181 a1c6a512-1295-4272-9138-f99709370657
* We seeked one chunk too far when resuming m4a files.Andree Buschmann2011-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29180 a1c6a512-1295-4272-9138-f99709370657
* Rework m4a seek/resume code. Seek/resume does now also work properly with ↵Andree Buschmann2011-01-31
| | | | | | files having sample_to_chunk of 1 or 2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29178 a1c6a512-1295-4272-9138-f99709370657
* Fix resume for m4a files. Solves FS#9306.Andree Buschmann2011-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29175 a1c6a512-1295-4272-9138-f99709370657
* Use __builtin_constant_p() to select the best byteswapping method: constant ↵Michael Sevakis2011-01-30
| | | | | | or target optimized. Same macro can then be used for constant values and inits as well as non-constant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29171 a1c6a512-1295-4272-9138-f99709370657
* SPC Codec: AS3525 targets should be fast enough for realtime BRR decode and ↵Michael Sevakis2011-01-19
| | | | | | echo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29089 a1c6a512-1295-4272-9138-f99709370657
* Switch coldfire builds over to new toolchain using gcc 4.5.2 and binutils 2.20.1Nils Wallménius2011-01-12
| | | | | | | Retune codec compiler optimizations with new compiler. Overall speedup with aac and flac getting big speedups. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29042 a1c6a512-1295-4272-9138-f99709370657
* Redo r28026 so that all .S files get the __ASSEMBLER__ define.Thomas Martitz2010-12-27
| | | | | | Patch by Thomas Jarosch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
* Fix profiling on coldfire with newer Gcc.Nils Wallménius2010-12-27
| | | | | | | | In switch_thread, make the call to profile_thread_stopped from an inline asm block to make sure the sp is pointing to the right place before storing the context. This apparently worked by luck with the old Gcc. The workaround used for coldfire in the codeclib's __cyg_profile_func_enter does not work with newer gcc, however the workaround isn't needed for those so enable it only for coldfire gcc version < 4. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28908 a1c6a512-1295-4272-9138-f99709370657
* Add stdio.h include for SEEK_SET define to various files.Thomas Martitz2010-12-25
| | | | | | Patch by Thomas Jarosch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28892 a1c6a512-1295-4272-9138-f99709370657
* SPC Codec: Was broken on ARMv6 since EABI switch and somehow I failed to ↵Michael Sevakis2010-12-23
| | | | | | notice in the first place (and so did eveyone else it seems :). Some early-clobber constraints were needed on inline assemebly operands. In some places, they aren't necessary where they were used, so remove those. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28880 a1c6a512-1295-4272-9138-f99709370657
* libwavpack: put some lookup tables in iram, speedup of 8-10% on coldfire (h300).Nils Wallménius2010-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28873 a1c6a512-1295-4272-9138-f99709370657
* aac: put two local structs on the stack as they are small and the codec uses ↵Nils Wallménius2010-12-21
| | | | | | little stack anyway ( < 20% on h300) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28872 a1c6a512-1295-4272-9138-f99709370657
* Add a newline to a debugf printing an error.Nils Wallménius2010-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28838 a1c6a512-1295-4272-9138-f99709370657
* Revert tab police as it makes merging upstream changes more annoying and ↵Nils Wallménius2010-12-12
| | | | | | messed up indentation in some places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28818 a1c6a512-1295-4272-9138-f99709370657
* Tab police.Andree Buschmann2010-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28817 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revisions 17541, 17542, 17543, 17544, 17545, ↵Nils Wallménius2010-12-08
| | | | | | 17546, 17547, 17555, 17572, bringing in various fixes and finally bringing our libtremor up to date, for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28773 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17539 and 17540 'Additional codebook ↵Nils Wallménius2010-12-08
| | | | | | validity checks.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28771 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17538 'Fix decoder handling of floor0 ↵Nils Wallménius2010-12-08
| | | | | | when the LSP order is 1.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28770 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17534 and 17536, fixing a possible 64 bit ↵Nils Wallménius2010-12-08
| | | | | | math overflow and correct types for some comparisons. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28769 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17528-17530, more error checking and bug ↵Nils Wallménius2010-12-08
| | | | | | fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28768 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17527, 'Eliminate possibility of booklist ↵Nils Wallménius2010-12-08
| | | | | | overflow in res0/1/2 unpacking.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28767 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17526 and 17531, adding some more error ↵Nils Wallménius2010-12-08
| | | | | | checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28766 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17525 'Commit additional hardening to ↵Nils Wallménius2010-12-07
| | | | | | setup packet decode.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28762 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17524 more sanity checking.Nils Wallménius2010-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28761 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17522 and 17523 adding more sanity checking.Nils Wallménius2010-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28760 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17520 and 17521 tweaking some of the ↵Nils Wallménius2010-12-07
| | | | | | recently introduced chaecks to not reject files made with buggy beta encoders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28759 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17519 'Correct an accidental ↵Nils Wallménius2010-12-07
| | | | | | dereference-before-check in error cleanup in comments.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28758 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17518 actually returning failure code ↵Nils Wallménius2010-12-06
| | | | | | from vorbis_synthesis_init git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28750 a1c6a512-1295-4272-9138-f99709370657
* libtremor: export a libogg function that is now needed.Nils Wallménius2010-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28749 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge part of upstream revision 17514 adding some limit checking ↵Nils Wallménius2010-12-06
| | | | | | for allocations when unpacking comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28748 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17513 'Add code to prevent heap attacks ↵Nils Wallménius2010-12-06
| | | | | | by exploiting dim==bignum and partition_codewords==partion_values^dim.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28747 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17512 'Correctly handle the nonsensical ↵Nils Wallménius2010-12-06
| | | | | | codebook.dim==0 case.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28746 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17511 'Add checks/rejection for absurdly ↵Nils Wallménius2010-12-06
| | | | | | huge codebooks.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28745 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17510.Nils Wallménius2010-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28744 a1c6a512-1295-4272-9138-f99709370657
* libtremor:Nils Wallménius2010-12-06
| | | | | | | | | Merge in upstream revision 17375. This removes tremor's internal ogg code and now uses libogg instead so a bunch of changes are just adjusting to the new api. Also brings in improvements to vorbisfile which fixes FS#10484. Disabled a lot of unused code in the libogg files and moved some small functions into the ogg.h header so they can be inlined. Some small tweaks to fix warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28742 a1c6a512-1295-4272-9138-f99709370657
* make WavPack library check the extent of the block that it is parsing so ↵Dave Bryant2010-12-05
| | | | | | that it cannot run into the next block; also enhance the metadata code to handle the case of files with non-audio blocks at the beginning (which can happen if the source WAV file has lots of RIFF data) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28736 a1c6a512-1295-4272-9138-f99709370657
* libtremor: merge upstream revision 17374 and some inline/icode tweaks to ↵Nils Wallménius2010-12-04
| | | | | | maintain speed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28732 a1c6a512-1295-4272-9138-f99709370657
* Remove tabsAndree Buschmann2010-12-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28719 a1c6a512-1295-4272-9138-f99709370657
* codeclib: inline assembler for fft4 and fft8 on coldfire, small 0.2-0.3MHz ↵Nils Wallménius2010-12-01
| | | | | | speedup with gcc 3.4, larger 0.6-0.8MHz speedup with gcc 4.4/4.5 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28716 a1c6a512-1295-4272-9138-f99709370657
* ARM9 optimized synth_full for libmad. Speeds up mp3 decoding by an even 2 ↵Michael Giacomelli2010-11-29
| | | | | | MHz on all ARM9 and later devices. Note this is only optimized for arm9 (non-E), although it is faster on later devices. An arm9E/11 version will be needed for optimal performance on newer devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28710 a1c6a512-1295-4272-9138-f99709370657