summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
...
* libwmapro: slightly shorter and faster inline asm fixed point multiplication ↵Nils Wallménius2010-07-26
| | | | | | routines, speedup is ~0.5%. Also don't lie to gcc about which vars are changed by the asm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27584 a1c6a512-1295-4272-9138-f99709370657
* Modify the wma pro decoder to produce non-interleaved samples, and work ↵Mohamed Tarek2010-07-26
| | | | | | | | | directly on the buffers in WMAProDecCtx instead to avoid the redundant copying of the output data. ~10% speedup (-2MHz) on pp502x and ~1.5% speedup (-3.8Mhz) on mcf2049. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27583 a1c6a512-1295-4272-9138-f99709370657
* Submit part of FS#11498. Major speedup for WMA Professional on ARM and ↵Andree Buschmann2010-07-26
| | | | | | Coldfire CPUs. Introduce asm routines for multiplications, move arrays with major impact on decoding speed to IRAM. Speeds up decoding by 25% on PP5022 and 34% on mcf5249. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27582 a1c6a512-1295-4272-9138-f99709370657
* libatrac: Coldfire asm for atrac3_iqmf_dewindowing, speeds up decoding of my ↵Nils Wallménius2010-07-26
| | | | | | atrac3 rm file by 45%. Based on preliminary patch by Andree Buschmann git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27578 a1c6a512-1295-4272-9138-f99709370657
* libwmapro: coldfire asm for vector_fixmul_window, gives a speedup of ~13%, ↵Nils Wallménius2010-07-26
| | | | | | drop the add_bias argument for the vector_fixmul_window function, since it was always 0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27573 a1c6a512-1295-4272-9138-f99709370657
* aiff codec: small clean upRafaël Carré2010-07-26
| | | | | | | | - Use printf format width specifier for printing codecs - Use sizeof() to get the number of supported formats - Avoid a useless comparison git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27571 a1c6a512-1295-4272-9138-f99709370657
* codecs: mark some local variables with 'static'Nils Wallménius2010-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27566 a1c6a512-1295-4272-9138-f99709370657
* libatrac: Set the emac mode on coldfire, fixes whitenoise output if playing ↵Nils Wallménius2010-07-23
| | | | | | an atrac file after using a codec that sets macsr to integer mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27536 a1c6a512-1295-4272-9138-f99709370657
* Introduce macros for identical multiply-add blocks.Andree Buschmann2010-07-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27535 a1c6a512-1295-4272-9138-f99709370657
* libmad: small tweak to coldfire inline asm, gives a slight speedup and now ↵Nils Wallménius2010-07-23
| | | | | | builds fine with gcc 4.4.4 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27529 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11491. Refactor coldfire inline asm within libmad's synth_full() ↵Andree Buschmann2010-07-22
| | | | | | to gain better readability. Thanks to Nils Wallménius for supporting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27524 a1c6a512-1295-4272-9138-f99709370657
* Convert inline coldfire assembler to a 'real' assembler function, with ↵Nils Wallménius2010-07-20
| | | | | | tweaks by Buschel. Speeds up mpc decoding by ~1% on h300. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27504 a1c6a512-1295-4272-9138-f99709370657
* Shorten: tweak some inline asm, use local lables to not cause problems when ↵Nils Wallménius2010-07-20
| | | | | | the function gets inlined, mark it as inline, tweak clobbers and use lea instead of add in one place. Fixes problems when building libffmpegFLAC with newer gcc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27503 a1c6a512-1295-4272-9138-f99709370657
* Make libdemac compile again on OSX x86 and x86_64 by replacing .rept with ↵Jens Arnold2010-07-19
| | | | | | fancy preprocessor stuff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27490 a1c6a512-1295-4272-9138-f99709370657
* FS#11454 Tuning of codec compiler optionsNils Wallménius2010-07-18
| | | | | | | | | | | | | | | | | | | Tested with h300 and sansa c200v1 h300 speedups: a52: 2% cook: 9-17% aac: 0.5% vorbis: 0.5% wma: 6-12% c200v1 speedups: alac: 1.5% wma 3-4% wavpack 2% git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27486 a1c6a512-1295-4272-9138-f99709370657
* Oops, revert unintentional commitNils Wallménius2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27466 a1c6a512-1295-4272-9138-f99709370657
* Delete unused headerNils Wallménius2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27465 a1c6a512-1295-4272-9138-f99709370657
* libwma: void pointer voodoo to get rid ov strict aliasing warningsNils Wallménius2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27463 a1c6a512-1295-4272-9138-f99709370657
* libwma: Reuse a static buffer that was unused while decoding lsp files for ↵Nils Wallménius2010-07-17
| | | | | | some lsp related tables. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27462 a1c6a512-1295-4272-9138-f99709370657
* Check for errors from decode_packet in wmapro.cMohamed Tarek2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27461 a1c6a512-1295-4272-9138-f99709370657
* Increase the size of quant table in libwmapro to accomodate more values for ↵Mohamed Tarek2010-07-17
| | | | | | exp. Fixes wma pro failure on test files in download.rockbox.org/test_files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27460 a1c6a512-1295-4272-9138-f99709370657
* libwma: Reduce size of runtab and levtab buffers, only one set can get the ↵Nils Wallménius2010-07-17
| | | | | | worst case size so make the other set the second worst case size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27459 a1c6a512-1295-4272-9138-f99709370657
* Remove unused 2kB buffer and some dead code.Nils Wallménius2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27458 a1c6a512-1295-4272-9138-f99709370657
* Begin shoehorning wma into the clip codec buffer again. Reduce the static ↵Nils Wallménius2010-07-17
| | | | | | buffer used by init_vlc so that it is no larger than is needed. Make the VLCcode struct packed to save space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27457 a1c6a512-1295-4272-9138-f99709370657
* libwmapro no longer needs libm in the sim; update the makefile and ↵Mohamed Tarek2010-07-17
| | | | | | README.rockbox. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27456 a1c6a512-1295-4272-9138-f99709370657
* libwmapro : remove dead/unneeded code from wma.[ch]Mohamed Tarek2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27455 a1c6a512-1295-4272-9138-f99709370657
* libwmapro : Rename all FIXED occurrances to int32_t and remove types.hMohamed Tarek2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27454 a1c6a512-1295-4272-9138-f99709370657
* More cleaning for libwmapro; use codeclib's bitstream functions and drop ↵Mohamed Tarek2010-07-17
| | | | | | those from the libwmapro. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27453 a1c6a512-1295-4272-9138-f99709370657
* Enable ff_copy_bits in ffmpeg_bitstream.c and put_bits.h and intreadwrite.h ↵Mohamed Tarek2010-07-17
| | | | | | to codeclib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27452 a1c6a512-1295-4272-9138-f99709370657
* libwma has Huffman tables that are too big for the stack temp buffer. Make ↵Nils Wallménius2010-07-16
| | | | | | temp buffer static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27446 a1c6a512-1295-4272-9138-f99709370657
* Remove two unused macros.Nils Wallménius2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27438 a1c6a512-1295-4272-9138-f99709370657
* Properly fix warning by copying the swap16 and swap32 inline functions from ↵Nils Wallménius2010-07-15
| | | | | | system.h to mips/ingenic_jz47xx/system-target.h to replace the defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27433 a1c6a512-1295-4272-9138-f99709370657
* Use codeclib version of the ffmpeg bitstream code for wma rather then ↵Michael Giacomelli2010-07-15
| | | | | | ancient hacked up version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27432 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix 'comparison between signed and unsigned' warningNils Wallménius2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27431 a1c6a512-1295-4272-9138-f99709370657
* Sync codeclib bitstream code with upstream ffmpeg code. Build ↵Nils Wallménius2010-07-15
| | | | | | ffmpeg_bitstream.c as a part of the codec lib. Use this codeclib implementation in libffmpegFLAC. Implement adapted version of the unaligned longword reading optimization for coldfire from the libwma version of this code. Speeds up cook decoding by 2-3% on h300 and flac by 25% on h300, also speeds up flac decoding by 2% on c200 (decoding speed of cook on c200 is unchanged). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27430 a1c6a512-1295-4272-9138-f99709370657
* Initial cleanup for libwmapro.Mohamed Tarek2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27425 a1c6a512-1295-4272-9138-f99709370657
* Build wmapro, disabled on targets with less than 2MB of ramRafaël Carré2010-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27423 a1c6a512-1295-4272-9138-f99709370657
* remove unused CODECLIBS variable from makefileRafaël Carré2010-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27422 a1c6a512-1295-4272-9138-f99709370657
* wmapro: silence some warnings related to function prototypes unused in rockboxRafaël Carré2010-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27421 a1c6a512-1295-4272-9138-f99709370657
* wmapro: don't force little endiannessRafaël Carré2010-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27420 a1c6a512-1295-4272-9138-f99709370657
* Check if ROCKBOX_LITTLE_ENDIAN and ROCKBOX_BIG_ENDIAN are defined, no which ↵Rafaël Carré2010-07-14
| | | | | | value they have git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27419 a1c6a512-1295-4272-9138-f99709370657
* Remove WMA Pro again from the main build temporarily till the ↵Mohamed Tarek2010-07-14
| | | | | | errors/warnings are sorted out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27418 a1c6a512-1295-4272-9138-f99709370657
* Add WMA Pro to the main build. WMA Pro now plays on target and decodes in ↵Mohamed Tarek2010-07-14
| | | | | | 151% realtime in a 320kbps sample on a sansa e200. Lots of cleanup still need to be done, and optimisations should start soon too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27417 a1c6a512-1295-4272-9138-f99709370657
* Remove the floating point code from wmaprodec.c and change variable names ↵Mohamed Tarek2010-07-14
| | | | | | accordingly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27416 a1c6a512-1295-4272-9138-f99709370657
* Tune compiler optimizations for libtta, gives a speedup of 1.1MHz on h300 ↵Nils Wallménius2010-07-12
| | | | | | and 0.4MHz on c200v1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27405 a1c6a512-1295-4272-9138-f99709370657
* Coldfire assembler implementation of hybrid_filter for libtta. Speeds up ↵Nils Wallménius2010-07-12
| | | | | | decoding on h300 by 4.2MHz. Set svn properties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27404 a1c6a512-1295-4272-9138-f99709370657
* Use more iram in the tta lib, speeds up decoding by 47MHz on h300 (mcf5249) ↵Nils Wallménius2010-07-12
| | | | | | and 2.7MHz on c200v1 (pp5024) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27403 a1c6a512-1295-4272-9138-f99709370657
* Complete the conversion of WMA Pro to fixed point. Floating point code is ↵Mohamed Tarek2010-07-12
| | | | | | still there for better history and to have a returning point in svn should something go wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27402 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