summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad (follow)
Commit message (Collapse)AuthorAge
* 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
* Trapped into ifdef-hell. Configure libfaad's IRAM/DRAM usage like it is ↵Andree Buschmann2011-05-12
| | | | | | meant to be. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29864 a1c6a512-1295-4272-9138-f99709370657
* The last submit had one define too much. Nevertheless fix the IRAM ↵Andree Buschmann2011-05-12
| | | | | | configuration for static allocation method. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29863 a1c6a512-1295-4272-9138-f99709370657
* libfaad: AAC including HE-profile needs ~470 KB for playback (measured on ↵Andree Buschmann2011-05-12
| | | | | | ARM). Therefor it does not make sense to enable HE on devices with CODEC_SIZE < 512 KB. This will allow to load and play larger AAC-LC files on such devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29862 a1c6a512-1295-4272-9138-f99709370657
* Make libfaad compilable again without PS_DEC.Andree Buschmann2011-05-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29861 a1c6a512-1295-4272-9138-f99709370657
* libfaad: Move PS related variables to sbr_info struct. This allows dynamic ↵Andree Buschmann2011-05-11
| | | | | | allocation including error handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29857 a1c6a512-1295-4272-9138-f99709370657
* Implement error handling for libfaad's memory allocation. Do not allocate PS ↵Andree Buschmann2011-05-10
| | | | | | related types dynamically anymore to minimize code changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29854 a1c6a512-1295-4272-9138-f99709370657
* Minor loop optimization in libfaad's is/ms decoding.Andree Buschmann2011-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29837 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12081. Check validity of channel configuration, comment unneeded ↵Andree Buschmann2011-04-26
| | | | | | code that is too inflexible to work with MAX_CHANNELS = 2. Fixes compiler warnings with GCC 4.6.0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29784 a1c6a512-1295-4272-9138-f99709370657
* Rework of libfaad in several areas. Allow removal of malloc with a new ↵Andree Buschmann2011-04-24
| | | | | | define FAAD_STATIC_ALLOC (in common.h). For now malloc is not fully removed but used by a few arrays needed for AAC-HE SBR+PS only. Reason to keep malloc is to have this amount of memory available for AAC-LC files which might require large m4a tables. The changes make the allocation routines much smaller, better centralized and allow to move duplicated code from aac.c/raa.c to libfaad. The rework includes removal of (now and former) unused code as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29778 a1c6a512-1295-4272-9138-f99709370657
* Clean up array sizes in the SBR + PS part of libfaad. Add MAX_NTSRPS (=38), ↵Andree Buschmann2011-04-24
| | | | | | use MAX_NTSR and MAX_NTSRHFG at the right places. RAM (IRAM) usage is reduced by 2 KB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29773 a1c6a512-1295-4272-9138-f99709370657
* Headroom in AAC SBR HF-generator's fixed point implementation of ↵Andree Buschmann2011-03-20
| | | | | | autocorrelation was too small. Fixes FS#12019. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29622 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
* 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
* Using icode attribute for S5L870x is faster on some codecs. Speed up for mpc ↵Andree Buschmann2010-11-02
| | | | | | is ~3%, for aac ~1%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28453 a1c6a512-1295-4272-9138-f99709370657
* Minor macro redefinition in libfaad to avoid FIXED_POINT ifdef'ing.Andree Buschmann2010-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28085 a1c6a512-1295-4272-9138-f99709370657
* More unification of FIXED_POINT and FLOAT. Small refactoring.Andree Buschmann2010-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28084 a1c6a512-1295-4272-9138-f99709370657
* Also correct autocorrelation for yet undefined SBR_LOW_POWER. Unify ↵Andree Buschmann2010-09-14
| | | | | | FIXED_POINT and FLOAT implementation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28083 a1c6a512-1295-4272-9138-f99709370657
* Fix scaling error that was introduced with r28069. With this fix the level ↵Andree Buschmann2010-09-14
| | | | | | of the hf-spectrum will be correct when decoding aac-he files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28081 a1c6a512-1295-4272-9138-f99709370657
* Correct comment.Andree Buschmann2010-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28080 a1c6a512-1295-4272-9138-f99709370657
* Correct autocorrelation function in libfaad. It used the wrong fract part ↵Andree Buschmann2010-09-14
| | | | | | for the multiplication macros. Introduce appropriate solution to avoid overflow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28079 a1c6a512-1295-4272-9138-f99709370657
* Further libfaad cleanup. Make libfaad compilable for floating point. ↵Andree Buschmann2010-09-14
| | | | | | Floating point cannot be used as reference though, as errorous noise is the result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28071 a1c6a512-1295-4272-9138-f99709370657
* Further libfaad cleanup.Andree Buschmann2010-09-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28070 a1c6a512-1295-4272-9138-f99709370657
* Clean up libfaad's fixed point implementation.Andree Buschmann2010-09-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28069 a1c6a512-1295-4272-9138-f99709370657
* Restore libfaad's IRAM configuration.Andree Buschmann2010-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27942 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11539. Undo r23967 and use another way to achieve results for ↵Andree Buschmann2010-08-29
| | | | | | negative exponents for pow(2,x). This solves heavy distortions on some aac encoded files and clicks/noise on track change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27941 a1c6a512-1295-4272-9138-f99709370657
* Fix residual aac-he distortion reported via forum. Bug was introduded with ↵Andree Buschmann2010-08-26
| | | | | | r27364. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27898 a1c6a512-1295-4272-9138-f99709370657
* Fix libfaad error that was introduced with r27225. Noise bursts during ↵Andree Buschmann2010-08-23
| | | | | | playback of several files were reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27868 a1c6a512-1295-4272-9138-f99709370657
* faad: move inline function in headerRafaël Carré2010-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27683 a1c6a512-1295-4272-9138-f99709370657
* Clean up libfaad's sbr-qmf code. Move array to correct #ifdef-path, ↵Andree Buschmann2010-07-11
| | | | | | introduce macro, beautify indentations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27394 a1c6a512-1295-4272-9138-f99709370657
* Minor correction to macros, beautification of loop.Andree Buschmann2010-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27391 a1c6a512-1295-4272-9138-f99709370657
* Further changes to aac-he decoding. Refactor and rearrange dct tabs to be ↵Andree Buschmann2010-07-11
| | | | | | able to use consecutive addresses (this allows additional optimization for ARM through ldm-usage). Define a macro for identical butterfly operations and exchange 2 butterflyies with less compex operations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27384 a1c6a512-1295-4272-9138-f99709370657
* Revert accidental change.Jens Arnold2010-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27382 a1c6a512-1295-4272-9138-f99709370657
* EMACify HE-AAC QMF on coldfire: 5% speedup on MCF5249.Jens Arnold2010-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27381 a1c6a512-1295-4272-9138-f99709370657
* Refacture parts of libfaad filterbank. Faster windowing for 8-short-window ↵Andree Buschmann2010-07-11
| | | | | | sequences. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27380 a1c6a512-1295-4272-9138-f99709370657
* Just another MHz saved on ARM for aac he decoding.Andree Buschmann2010-07-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27365 a1c6a512-1295-4272-9138-f99709370657
* More work on libfaad's aac he decoder. Resort table to allow more efficient ↵Andree Buschmann2010-07-09
| | | | | | load access. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27364 a1c6a512-1295-4272-9138-f99709370657
* Revert r27359Rafaël Carré2010-07-09
| | | | | | The ipod4g has enough free IRAM when built with gcc 4.4 eabi git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27362 a1c6a512-1295-4272-9138-f99709370657
* Fix red. Remove a small array from IRAM that is not critical to performance.Andree Buschmann2010-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27359 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11461. Major speedup for aac he profile (PP5002 +20%, PP5020 +15%, ↵Andree Buschmann2010-07-09
| | | | | | PP5022 +19%, MCF5249 +35%, MCF5250 +80%), still not realtime on most targets though. This change does a lot of refactoring in the sbr filters and the dct, switching to our optimized codeclib fft and tweaking IRAM usage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27358 a1c6a512-1295-4272-9138-f99709370657
* Remove unneeded libfaad files from SOURCE.Andree Buschmann2010-07-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27320 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11450. Change compile option for libfaad to -O2 for ARM target and ↵Andree Buschmann2010-07-05
| | | | | | -O1 for other CPUs. This speeds up decoding by 1-5%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27297 a1c6a512-1295-4272-9138-f99709370657
* Remove false comment.Andree Buschmann2010-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27228 a1c6a512-1295-4272-9138-f99709370657
* Fix red and yellow. Needed to remove one codebook from IRAM due to full IRAM ↵Andree Buschmann2010-07-01
| | | | | | on iPod4G. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27226 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11445. Speed up of faad (aac) decoder via several optimizations ↵Andree Buschmann2010-07-01
| | | | | | like refactoring some requantization routines, moving several arrays and code tables to IRAM, using an optimized swap32() function and inlining several huffman decoder functions. Decoding is sped up by ~10% (PP5002, PP5022, MCF5249) and ~22% (MCF5250). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27225 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
| | | | | | | | directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
* Remove all tabs within codec path.Andree Buschmann2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
* Use new MDCT library for libfaad. Speeds up AAC-LC by 2.5MHz.Michael Giacomelli2010-02-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24781 a1c6a512-1295-4272-9138-f99709370657