summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma (follow)
Commit message (Collapse)AuthorAge
...
* Add incomplete support for files using noise coding but not LSP. In ↵Michael Giacomelli2007-07-20
| | | | | | practice, this means files >= 20kbps will probably work, and those below will probably not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13945 a1c6a512-1295-4272-9138-f99709370657
* Fix nasty bug that causes low bitrate files to crash because of an incorrect ↵Michael Giacomelli2007-07-20
| | | | | | assumption about MDCT window sizes on my part. Clears the way for further low bitrate fixes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13937 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings.Michael Giacomelli2007-07-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13866 a1c6a512-1295-4272-9138-f99709370657
* WMA codec: Coldfire is capable of unaligned memory accesses, so lets make ↵Jens Arnold2007-07-12
| | | | | | use of it. ~1.5% speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13865 a1c6a512-1295-4272-9138-f99709370657
* Fix the above by including all required files and updating SOURCES.Michael Giacomelli2007-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13860 a1c6a512-1295-4272-9138-f99709370657
* Sync the bitstream functions with ffmpeg. Switch wmadeci.c over to get_vlc2 ↵Michael Giacomelli2007-07-12
| | | | | | which is how ffmpeg now does it and is also slightly faster. Add in defines for later VLC memory usage optization. Kill some header files that weren't needed and update others that were out of sync. We're now much closer to the current ffmpeg codec which should make fixing the remaining issues much easier. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13859 a1c6a512-1295-4272-9138-f99709370657
* TAB and whitespace policeDave Chapman2007-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13858 a1c6a512-1295-4272-9138-f99709370657
* Don't assume files are WMAv2, instead actually check that they are and quit ↵Michael Giacomelli2007-07-11
| | | | | | gracefully if they are not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13855 a1c6a512-1295-4272-9138-f99709370657
* Ancient ffmpeg bug fix that should never have been missed. Prevents ↵Michael Giacomelli2007-07-11
| | | | | | floating point value from truncating downward. My files are byte for byte identical with this fix, but the ffmpeg mailing list claims its important. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13846 a1c6a512-1295-4272-9138-f99709370657
* Restore some lost copyright headers from the ffmpeg projectDave Chapman2007-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13834 a1c6a512-1295-4272-9138-f99709370657
* Reorganise the wma_decode_superframe() function - split into a separate init ↵Dave Chapman2007-07-09
| | | | | | and decode functions. Each call to the decode function now decodes a single frame (2048 samples) instead of an entire superframe (which typically contained about 7 or 8 frames and can in theory contain up to 16 frames). This allows us to replace the 256KB output buffer with a 8KB buffer, and also perform more yields in the main decoding loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13833 a1c6a512-1295-4272-9138-f99709370657
* Code reorganisation - move the vlc functions back to common.c/common.h ↵Dave Chapman2007-07-09
| | | | | | (where they originally were in the ffmpeg source). This code is still identical to the ffmpeg source. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13830 a1c6a512-1295-4272-9138-f99709370657
* Compute MDCT in place. Make that place within IRAM. Gives nice speed boost ↵Michael Giacomelli2007-07-09
| | | | | | on ARM. Probably make a huge difference on Coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13828 a1c6a512-1295-4272-9138-f99709370657
* Move very commonly accessed array into IRAM. Should give a nice speedup on ↵Michael Giacomelli2007-07-09
| | | | | | Coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13827 a1c6a512-1295-4272-9138-f99709370657
* wma_decode_end() doesn't exist any more - it was only used to deallocate memory.Dave Chapman2007-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13826 a1c6a512-1295-4272-9138-f99709370657
* Code clean up.Michael Giacomelli2007-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13825 a1c6a512-1295-4272-9138-f99709370657
* Inline wma_window functions. No real performance improvement. Also, thanks ↵Michael Giacomelli2007-07-08
| | | | | | to Benjamin Larsson for cleaning up some code I was simply to lazy to fix myself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13823 a1c6a512-1295-4272-9138-f99709370657
* Merge bit reverse tables together.Michael Giacomelli2007-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13822 a1c6a512-1295-4272-9138-f99709370657
* Fix rare overflow when decoding MDCT coefficients. As a bonus, decoding is ↵Michael Giacomelli2007-07-08
| | | | | | now slightly faster. Thanks to preglow for suggesting I test with a full scale normalized square wave. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13815 a1c6a512-1295-4272-9138-f99709370657
* Fix previousMichael Giacomelli2007-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13814 a1c6a512-1295-4272-9138-f99709370657
* Move MDCT reconstruction window code over to new trig function. Improves ↵Michael Giacomelli2007-07-08
| | | | | | accuracy significantly and slightly reduces code size. Codec SNR now appears to be limited by truncation to 16 bit. Comparison to MS decoder gives > 91 dB of agreement, and a lower RMS error verses the source wav then MS. Additionally, move one commonly accessed table into IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13813 a1c6a512-1295-4272-9138-f99709370657
* Merged in first part of ffmpeg accuracy improvments. No change on my ↵Michael Giacomelli2007-07-06
| | | | | | samples, but brings us closer to ffmpeg's source and clears the way for additional bug fixes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13804 a1c6a512-1295-4272-9138-f99709370657
* Merged in ffmpeg combined MDCT reconstruction. Saves us a 16KB buffer, and ↵Michael Giacomelli2007-07-06
| | | | | | gives a nice speed increase. Brings code much closer to ffmpeg's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13803 a1c6a512-1295-4272-9138-f99709370657
* Yet more dead code removalDave Chapman2007-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13789 a1c6a512-1295-4272-9138-f99709370657
* Remove some unused codeDave Chapman2007-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13788 a1c6a512-1295-4272-9138-f99709370657
* Assemblerised CMUL() for ARM, giving ~20% speedup.Jens Arnold2007-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13787 a1c6a512-1295-4272-9138-f99709370657
* Attempt #2Michael Giacomelli2007-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13786 a1c6a512-1295-4272-9138-f99709370657
* Opps fix static ASM function on coldfireMichael Giacomelli2007-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13785 a1c6a512-1295-4272-9138-f99709370657
* Code clean up: Move fixed point functions into their own files. Move ↵Michael Giacomelli2007-07-04
| | | | | | various lookup tables into header files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13784 a1c6a512-1295-4272-9138-f99709370657
* Shorten the coldfire fixmul32() by 2 instructions and use one register less. ↵Jens Arnold2007-07-04
| | | | | | Smaller code, but practically no speed change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13783 a1c6a512-1295-4272-9138-f99709370657
* Replace some 64 bit multiplies with assembly on Coldfire targets. Codec lots ↵Thom Johansen2007-07-03
| | | | | | closer to realtime on those targets now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13779 a1c6a512-1295-4272-9138-f99709370657
* WMA clean-up commit - fix 64-bit sim warnings, set svn keywords property, ↵Dave Chapman2007-07-03
| | | | | | and add new files to apps/FILES git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13771 a1c6a512-1295-4272-9138-f99709370657
* Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's ↵Dave Chapman2007-07-03
fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657