summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmaprodec.c (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>
* Use more IRAM on S5L870x to speed up wmapro by ~2%.Andree Buschmann2011-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29906 a1c6a512-1295-4272-9138-f99709370657
* Fix nearly all residual 'variable set but not used' warnings reported from ↵Andree Buschmann2011-05-01
| | | | | | GCC 4.6.0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29810 a1c6a512-1295-4272-9138-f99709370657
* Increase wmapro decoder output sample depth to 24 bits, makes the mean error ↵Mohamed Tarek2010-08-04
| | | | | | between our output and the original floating point decoder ~5e-8. (FS#11498 by Buschel) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27703 a1c6a512-1295-4272-9138-f99709370657
* Use codeclib's mdct in wmapro. Input coeffs to the transform needed to be ↵Mohamed Tarek2010-08-04
| | | | | | scaled down first by (log2(frame_size) - 3). Increases decoding speed by 1.3MHz on PP5022 and saves ~32KB that were previously needed by the mdct tables. (FS#11511 by Buschel and myself) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27701 a1c6a512-1295-4272-9138-f99709370657
* Fix the sample count in wma pro.Mohamed Tarek2010-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27687 a1c6a512-1295-4272-9138-f99709370657
* Housekeeping for libwmapro. Define some multiple used constants, use more ↵Andree Buschmann2010-07-31
| | | | | | precise value for cos(pi/4). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27644 a1c6a512-1295-4272-9138-f99709370657
* Maintenance and minor speedup of libwmapro. Comment unused arrays, fix ↵Andree Buschmann2010-07-29
| | | | | | comment, remove tabs and introduce WMAPRO_FRACT to wma.h to remove magic numbers. Swap operands of fixmul16-call for minor speedup on ARM (+1%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27617 a1c6a512-1295-4272-9138-f99709370657
* Refinement of initial lowmem handling for libwmapro (r27593). Set maximum ↵Andree Buschmann2010-07-28
| | | | | | supported channels to 2 instead of 8 for low memory targets. This solution saves more RAM than the former solution and does avoid possible NULLPTR access. As add-on remove tabs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27602 a1c6a512-1295-4272-9138-f99709370657
* Correct the scaling of the coeffs to 17bits.Mohamed Tarek2010-07-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27599 a1c6a512-1295-4272-9138-f99709370657
* Enable wmapro compilation for lowmem targets by excluding multichannel ↵Mohamed Tarek2010-07-28
| | | | | | buffers for them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27593 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
* 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
* 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
* 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
* Initial cleanup for libwmapro.Mohamed Tarek2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27425 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
* 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
* Partial conversion of the wmapro decoder to fixed point arithmetic. ↵Mohamed Tarek2010-07-05
| | | | | | | | | Currently inverse quantization & rescaling, imdct and windowing are all in fixed point. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27302 a1c6a512-1295-4272-9138-f99709370657
* Remove the stubbed main() from wmaprodec.c since it's useless now and remove ↵Mohamed Tarek2010-06-21
| | | | | | Makefile for the same reason. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27010 a1c6a512-1295-4272-9138-f99709370657
* Wrote apps/codecs/wmapro.c and modified libwmapro to make the codec work in ↵Mohamed Tarek2010-06-21
| | | | | | | | | | the sim. Neither libwmapro nor wmapro.c have been added to the main build yet, codecs.make should be edited to compile both with rockbox. current status of the decoder : - Plays and seeks in the sim - Still in floating point git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27006 a1c6a512-1295-4272-9138-f99709370657
* Modify the ffmpeg source files in apps/codecs/libwmapro in order to compile ↵Mohamed Tarek2010-04-30
| | | | | | the codec standalone. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25764 a1c6a512-1295-4272-9138-f99709370657
* Add libwmapro to apps/codecs. These files comprise a set of unmodified files ↵Mohamed Tarek2010-04-30
| | | | | | needed from ffmpeg's libavcodec and libavutil to compile and use the wma pro decoder standalone. The files were taken from ffmpeg's svn r22886 dated 15 April 2010. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25763 a1c6a512-1295-4272-9138-f99709370657
* Revert r25739 which added libwmapro to apps/codecs, in preparation to commit ↵Mohamed Tarek2010-04-29
| | | | | | the unmodified ffmpeg files first, for the sake of a consistent/complete svn history. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25758 a1c6a512-1295-4272-9138-f99709370657
* Add libwmapro to trunk.Mohamed Tarek2010-04-27
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25739 a1c6a512-1295-4272-9138-f99709370657