summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor (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>
* tlsf: move to /lib (it's also used by plugins).Thomas Martitz2012-03-28
| | | | Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
* libtremor: fix memory corruption bug introduced in r30728 that could cause ↵Nils Wallménius2011-12-21
| | | | | | crashes or playback failures for some album art infested files. Closes FS#12448. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31393 a1c6a512-1295-4272-9138-f99709370657
* libtremor: hack to work around huge allocations for the comment packet in ↵Nils Wallménius2011-10-08
| | | | | | files with embedded album art. Should fix playback of such files on targets with large codec buffers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30728 a1c6a512-1295-4272-9138-f99709370657
* libtremor: arm asm for ff_vector_fmul_window_c on v4 and v5 cores, speeds up ↵Nils Wallménius2011-09-23
| | | | | | c200v1 and fuzev1 by ~0.4MHz and ipod classic by ~1MHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30584 a1c6a512-1295-4272-9138-f99709370657
* libtremor: small whitespace cleanup.Nils Wallménius2011-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30583 a1c6a512-1295-4272-9138-f99709370657
* libtremor: cf asm for ff_vector_fmul_window_c, gives a speedup of ~0.3MHz.Nils Wallménius2011-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30582 a1c6a512-1295-4272-9138-f99709370657
* libtremor: rename file that now contains more ffmpeg code.Nils Wallménius2011-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30581 a1c6a512-1295-4272-9138-f99709370657
* libtremor: port over ffmpeg's windowing codeNils Wallménius2011-09-22
| | | | | | | | | | | | Use the windowing approach from ffmpeg in tremor, does the mdct doubling, windowing and overlap add in one go. Also uses less memory so all the processing buffers fit in iram on targets with small iram for the common blocksizes (256/2048) now. Speeds up decoding of vorbis files by 3MHz for 256/2048 and 20MHz for 512/4096 files on h300. Speeds up decoding of vorbis files by 3MHz for 256/2048 and 4.5MHz for 512/4096 on the beast. Speeds up decoding of vorbis files by 0.3MHz for 256/2048 and 1MHz for 512/4096 on c200v1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30580 a1c6a512-1295-4272-9138-f99709370657
* codeclib/libtremor: Clean up duplication of inline funcs, constify the ones ↵Nils Wallménius2011-09-21
| | | | | | in codeclib and copy over the slightly faster MULT31_SHIFT15 from tremor for cf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30578 a1c6a512-1295-4272-9138-f99709370657
* libtremor: pass the floor1 lookup table pointer as a param to the ↵Nils Wallménius2011-09-19
| | | | | | render_line function to make this a little nicer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30573 a1c6a512-1295-4272-9138-f99709370657
* libtremor: save a kB or two limiting an array size to the maximum number of ↵Nils Wallménius2011-09-16
| | | | | | channels we support and using a shorter type for another. No speed diff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30559 a1c6a512-1295-4272-9138-f99709370657
* libtremor: small tweak to cf channel coupling asm, speeding up vorbis ↵Nils Wallménius2011-09-16
| | | | | | decoding by ~0.1MHz. Drop unused macro params and add some comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30558 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out some more unused functions, make a function param ↵Nils Wallménius2011-08-28
| | | | | | unsigned to simplify generated code, gives a small speedup on cf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30372 a1c6a512-1295-4272-9138-f99709370657
* libtremor: remove some inline cf asm that is no longer needed with the new ↵Nils Wallménius2011-08-28
| | | | | | toolchain, no speed diff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30371 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out some unused functions and mark some file local ↵Nils Wallménius2011-08-28
| | | | | | functions static, saves a few hundred bytes and might give a tiny speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30370 a1c6a512-1295-4272-9138-f99709370657
* FS#12231Nils Wallménius2011-08-18
| | | | | | | | | | | | | | | | | Centralize the selection of codec compilation flags to codec.make to avoid having to duplicate the per cpu selection logic and the build rule in the individual codec lib make files and make tweaking easier. The two special cases, libmad and libspeex were left alone. I plan to introduce a var for arm generation so that appropriate flags can be selected per generation as benchmarking results have shown that different arm arches might have different optimal flags. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30330 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out unused struct member.Nils Wallménius2011-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29987 a1c6a512-1295-4272-9138-f99709370657
* libtremor: Implement a memory configuration for targets that don't use ↵Nils Wallménius2011-06-06
| | | | | | | | | | | separate iram for codecs. Such targets would previously default to using the configuration for targets with small iram which uses an extra memcpy per block. This saves 2MHz decoding a 128kbps vorbis file on the Gigabeat S and saves a bit of codec buffer. Patch from FS#11268, also replaces patch from FS#12147. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29976 a1c6a512-1295-4272-9138-f99709370657
* Safe part of FS#11268, saving some codec buffer space for targets that don't ↵Nils Wallménius2011-06-05
| | | | | | use separate iram. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29975 a1c6a512-1295-4272-9138-f99709370657
* Delete old unused macro.Nils Wallménius2011-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29962 a1c6a512-1295-4272-9138-f99709370657
* FS#12141 by Sean BartellNils Wallménius2011-06-02
| | | | | | | | | | | Some of these were found with http://www.samba.org/junkcode/#findstatic. Changes of note: * The old MDCT has been removed. * Makefile.test files that create test programs for libatrac, libcook, and libffmpegFLAC have been removed, as they don't work. My project will have a replacement that works with all codecs. * I've tried not to remove anything useful. CLIP_TO_15 was removed from libtremor because there's another copy (also commented) in codeclib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29945 a1c6a512-1295-4272-9138-f99709370657
* FS#12140 by Sean Bartell, Make various codec stuff static.Nils Wallménius2011-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
* Use MEM_ALIGN_ATTR and CACHEALIGN_SIZE in oggmalloc to ensure optimal alignment.Andree Buschmann2011-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29833 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
* 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
* libtremor: small tweak to coldfire inline asm function MULT31_SHIFT15, ↵Nils Wallménius2010-11-26
| | | | | | saving one instruction, *tiny* speedup, output unchanged git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28666 a1c6a512-1295-4272-9138-f99709370657
* Comment unused function.Andree Buschmann2010-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28634 a1c6a512-1295-4272-9138-f99709370657
* Remove unused define.Andree Buschmann2010-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28633 a1c6a512-1295-4272-9138-f99709370657