summaryrefslogtreecommitdiff
path: root/apps/codecs/libcook/cook.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>
* cook: fix incorrect memset size argumentBertrik Sikken2012-04-22
| | | | Change-Id: I927380cd789c1a86ac2d4d6af667c6f39cf933d9
* Submit FS#12115: Use more IRAM in cook codec for several targets. Speeds up ↵Andree Buschmann2011-05-22
| | | | | | PP5022 and MCF5250 by ~3% and S5L87.0x by ~4%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29913 a1c6a512-1295-4272-9138-f99709370657
* Set up EMAC mode in cook, fixing whitenois when transitioning from a codec ↵Nils Wallménius2010-05-14
| | | | | | using different emac mode.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26016 a1c6a512-1295-4272-9138-f99709370657
* Optimization for cook codec. Rework sample output to be able to use highly ↵Andree Buschmann2010-02-21
| | | | | | optimized dsp routines. Moved some functions to iram. Speeds up codec by 1.3 MHz on PP5022. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24815 a1c6a512-1295-4272-9138-f99709370657
* Merge from branches/mdctexp - faster ifft+imdct in codec libDave Hooper2010-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24712 a1c6a512-1295-4272-9138-f99709370657
* Fix red: av_log2 undefined for ARM_ARCH <= 4, missing codeclib.h includes.Andrew Mahone2009-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23869 a1c6a512-1295-4272-9138-f99709370657
* Factor out bytestream reading functions needed in rm parsers/codecs.Mohamed Tarek2009-08-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22308 a1c6a512-1295-4272-9138-f99709370657
* Approx 10% speedup in cook on files tested: Remove some inner loops in ↵Dave Hooper2009-07-26
| | | | | | favour of memcpy/memset/vect_add calls; remove multiplication from index arithmetic in loops in favour of pointer arithmetic; make use of the MULT31, MULT31_SHIFT15 and CLIP_TO_15 implementations from codelib instead of having their own implementations in cook git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22055 a1c6a512-1295-4272-9138-f99709370657
* Remove a divide in the cook's init function. Harmless but might as well ↵Michael Giacomelli2009-07-24
| | | | | | drop it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22019 a1c6a512-1295-4272-9138-f99709370657
* Generic codec-extradata parsing, in preparation for addition of AAC/RM.Mohamed Tarek2009-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21941 a1c6a512-1295-4272-9138-f99709370657
* Adding support for rm playback. Only cook codec is supported for now and no ↵Mohamed Tarek2009-07-06
| | | | | | seeking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
* -Remove all dynamic allocations, hence remove cook_decode_close() which was ↵Mohamed Tarek2009-05-12
| | | | | | | | | | | | | | 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
* -Remove calls to av_log() and use DEBUGF/printf instead, thuse removing Mohamed Tarek2009-05-12
| | | | | | | | | | 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
* -Took cook_random() from an old cook.c revision [6 mar 2007], which is a Mohamed Tarek2009-05-11
| | | | | | | | | 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
* Patch by Mohamed Tarek from FS #10182. Remove floating point code (FFT, ↵Michael Giacomelli2009-05-10
| | | | | | MDCT, etc) from libcook. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20902 a1c6a512-1295-4272-9138-f99709370657
* Patch by Mohamed Tarek from FS#10182 - convert codec to fixed-point using ↵Dave Chapman2009-05-10
| | | | | | 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
* Patch by Mohamed Tarek from FS#10182: 1) Move the main() test program from ↵Dave Chapman2009-05-09
| | | | | | 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
* The first part of Mohamed Tarek's Google Summer of Code work to implement ↵Dave Chapman2009-05-09
| | | | | | 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
* Initial commit of the minimal set of ffmpeg (r18079) files required for Cook ↵Dave Chapman2009-05-09
(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