summaryrefslogtreecommitdiff
path: root/apps/codecs
AgeCommit message (Collapse)Author
2009-07-14Remove a function accidentally added back in r21841.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21853 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Fix cook on big endian targets. get_uint*be() is already endian agnostic due ↵Jens Arnold
to reading single bytes, so the "big endian" version was plain wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21846 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Import Vorbis seeking improvements from Tremor SVN.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21841 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Fix another file for r12 being a scratch register. Overlooked earlier ↵Jens Arnold
because this file used literal 'r13' instead of 'sp'. Changed 'r13' to 'sp' for consistency. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21838 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Modified the code for seeking to speed it up a bit. Instead of searching Mohamed Tarek
the file for the required timestamp, we seek directly to a calcualted position. If we go to a point beyond the desired seek_time, we seek back in blocks (normally one or two blocks to the back) to get the required block. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21836 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Reorder some operands to increase frequency of multiply early termination on ↵Andrew Mahone
TDMI targets, reorder some operations to try to reduce stalls. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21834 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Put COOKContext struct into IRAM. Speeds up decoding by 6MHz on PP5024 at ↵Michael Giacomelli
the cost of 30.5 kbytes of IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21833 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Some fixes for the standalone test program.Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21807 a1c6a512-1295-4272-9138-f99709370657
2009-07-12Add seeking support in cook codec.Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21806 a1c6a512-1295-4272-9138-f99709370657
2009-07-12* ARM asm DSP and codec/plugin functions: Use r12 scratch register properlyJens Arnold
* Fix saving another unused reg in dsp code * Use less regs in the generic ARM mpegplayer adding idct pure DC case * Fix ARMv6 mpegplayer adding idct using an unsaved register in pure DC case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21803 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Fix type mismatch warnings and errors exposed when building with EABI toolchain.Andrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21769 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Add the ability to seek to the start of the track.Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21728 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Previous commit didn't fix compiling on Cygwin, this one should.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21724 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Fix compiling on Cygwin hosts.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21722 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Try at fixing 'cast to/from pointer to/from integer of different size' warningsMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21719 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Cook codec: make sure the RMContext get aligned correctly, or we won't be ↵Maurus Cuelenaere
able to find it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21717 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 * FS#10411 - Fixed point math code is bloated by Jeffrey GoodeMaurus Cuelenaere
* Set svn:keywords properties git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21701 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Adding support for rm playback. Only cook codec is supported for now and no ↵Mohamed Tarek
seeking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
2009-07-05Take 2 at 'Consolidate all fixed point math routines in one library' ↵Maurus Cuelenaere
(FS#10400) by Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
2009-07-04Revert "Consolidate all fixed point math routines in one library (FS#10400) ↵Maurus Cuelenaere
by Jeffrey Goode" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21635 a1c6a512-1295-4272-9138-f99709370657
2009-07-04Consolidate all fixed point math routines in one library (FS#10400) by ↵Maurus Cuelenaere
Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21633 a1c6a512-1295-4272-9138-f99709370657
2009-06-30Commit rest of fix in FS#9866. Don't parse Vorbis comments again in ↵Michael Giacomelli
libtremor. It wastes memory and we already have the comments in memory. Looking at the spec and code, I think this fix is proper, but if it breaks any files this may need to be revisited. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21581 a1c6a512-1295-4272-9138-f99709370657
2009-06-15Remove unused variable and assignment.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21304 a1c6a512-1295-4272-9138-f99709370657
2009-05-24Move rm.[c/h] from libcook to librm. No functional changes.Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21066 a1c6a512-1295-4272-9138-f99709370657
2009-05-22Move the code segment that corrects the value of (number of packets) to Mohamed Tarek
the parser. This is strictly parser-related and main.c shouldn't have to deal with it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21043 a1c6a512-1295-4272-9138-f99709370657
2009-05-22Modify the test program to read audio frames from a memory buffer rather Mohamed Tarek
than a file descriptor, to make the decoding process as much similar as to how it should be in rockbox. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21042 a1c6a512-1295-4272-9138-f99709370657
2009-05-22-Remove some unnecessary defines from rm.c.Mohamed Tarek
-Modify code related to the renamed rm.[c/h] instead of rm2wav.[c/h]. -Remove struct cook_extradata from rm.c as it is not used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21041 a1c6a512-1295-4272-9138-f99709370657
2009-05-22Rename rm2wav.[c/h] to rm.[c/h]. No functional changes.Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21040 a1c6a512-1295-4272-9138-f99709370657
2009-05-22Move wav related code to main.cMohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21039 a1c6a512-1295-4272-9138-f99709370657
2009-05-14Move bswap.h up from libavutil/ and remove libavutil/Mohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20931 a1c6a512-1295-4272-9138-f99709370657
2009-05-12-Remove all dynamic allocations, hence remove cook_decode_close() which was ↵Mohamed Tarek
basically needed for freeing allocated memory. -Remove any ffmpeg-specific attributes (av_const,av_always_inline .. etc.). -Move some math functions to cook_fixpoint.h - libavutil/common.h is no longer needed. -Remove libavutil/mem.[c/h], libavutil/common.h and libavutil/internal.h. -Fix a warning in cookdata_fixpoint.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20922 a1c6a512-1295-4272-9138-f99709370657
2009-05-12-Remove calls to av_log() and use DEBUGF/printf instead, thuse removing Mohamed Tarek
libavutil/log.[c/h] and libavutil/avutil.h. -Take necessary defines to bitstream.h from libavutil/intreadwrite.h to remove the latter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20918 a1c6a512-1295-4272-9138-f99709370657
2009-05-12Remove bytestream.h and and a related comment from cook.hMohamed Tarek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20917 a1c6a512-1295-4272-9138-f99709370657
2009-05-11-Took cook_random() from an old cook.c revision [6 mar 2007], which is a Mohamed Tarek
simple RNG, to eliminate the need for lfg.c/h. -Remove lfg.c/h and md5.c/h as they are no longer needed and use the more common form of my name in docs/COMMITTERS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20915 a1c6a512-1295-4272-9138-f99709370657
2009-05-11Patch by Mohamed Tarek from FS#10182 - remove avcodec.h as it is no longer ↵Dave Chapman
needed. Also remove -lm from Makefile.test for the same reason. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20909 a1c6a512-1295-4272-9138-f99709370657
2009-05-11Fix the $Id$ line broken by r20907.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20908 a1c6a512-1295-4272-9138-f99709370657
2009-05-10Commited too much really this time.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20905 a1c6a512-1295-4272-9138-f99709370657
2009-05-10Actually remove the unneeded files in the last commit.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20903 a1c6a512-1295-4272-9138-f99709370657
2009-05-10Patch by Mohamed Tarek from FS #10182. Remove floating point code (FFT, ↵Michael Giacomelli
MDCT, etc) from libcook. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20902 a1c6a512-1295-4272-9138-f99709370657
2009-05-10Patch by Mohamed Tarek from FS#10182 - convert codec to fixed-point using ↵Dave Chapman
patches submitted to the ffmpeg mailing list in 2007 by Ian Braithwaite. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20901 a1c6a512-1295-4272-9138-f99709370657
2009-05-09Patch by Mohamed Tarek from FS#10182: 1) Move the main() test program from ↵Dave Chapman
cook.c to a new main.c; 2) Move some common definitions from cook.c to cook.h. No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20898 a1c6a512-1295-4272-9138-f99709370657
2009-05-09Patch by Mohamed Tarek - add #define to protect against multiple inclusionDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20897 a1c6a512-1295-4272-9138-f99709370657
2009-05-09The first part of Mohamed Tarek's Google Summer of Code work to implement ↵Dave Chapman
RealAudio support in Rockbox. This is a self-contained Cook decoder using the original ffmpeg (still floating point) decoder and a new RM parser started by me in 2008 and continued by MT over the past few months. This is the equivalent of libcook.patch1 from FS#10182, but with further cleaning by both MT and me to minimise the differences to the original ffmpeg files. See README.rockbox for more details. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20883 a1c6a512-1295-4272-9138-f99709370657
2009-05-09Initial commit of the minimal set of ffmpeg (r18079) files required for Cook ↵Dave Chapman
(realaudio) decoding. These are the unmodified versions from ffmpeg, committed as a base for future changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20882 a1c6a512-1295-4272-9138-f99709370657
2009-05-08Check some previously unchecked return values in the standalone FLAC test ↵Dave Chapman
program - fixes some warnings spotted by Mohamed Tarek El Haddad (mt). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20875 a1c6a512-1295-4272-9138-f99709370657
2009-05-02Fix for noise after vorbis skipping introduced in r20783 - thanks to Aoyumi ↵Dave Hooper
and learman git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20843 a1c6a512-1295-4272-9138-f99709370657
2009-04-29Fix FS#10174 by correcting an oversimplification of the AAC window switching ↵Michael Giacomelli
code I introduced with the unified IMDCT library. Should significantly improve accuracy for all AAC files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20821 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Commit FS#9882 - make better use of iram at different quality encodings, ↵Dave Hooper
remove redundant memsets, implement doublebuffer if it will fit in iram to save a mempcy each frame, and some alignment fixes for coldfire git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20783 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Might as well enable SPC so that all codecs build on the Clip. Not yet real ↵Michael Giacomelli
time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20782 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Disable AAC-SBR, AAC-SSR, and AAC-PS on Sansa clip. Clean up warnings ↵Michael Giacomelli
introduced by this. Enable compiling the AAC codec on the Clip. Due to lack of memory for seek tables, files over 10 minutes long or so will probably fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20781 a1c6a512-1295-4272-9138-f99709370657