summaryrefslogtreecommitdiff
path: root/apps/codecs/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>
* Commit work started in FS#12153 to put timing/position information in PCMMichael Sevakis2011-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | buffer chunks. * Samples and position indication is closely associated with audio data instead of compensating by a latency constant. Alleviates problems with using the elapsed as a track indicator where it could be off by several steps. * Timing is accurate throughout track even if resampling for pitch shift, whereas before it updated during transition latency at the normal 1:1 rate. * Simpler PCM buffer with a constant chunk size, no linked lists. In converting crossfade, a minor change was made to not change the WPS until the fade-in of the incoming track, whereas before it would change upon the start of the fade-out of the outgoing track possibly having the WPS change with far too much lead time. Codec changes are to set elapsed times *before* writing next PCM frame because time and position data last set are saved in the next committed PCM chunk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30366 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12164 by Sean Bartell with minor changes by myself. Fixes possible ↵Andree Buschmann2011-06-24
| | | | | | decoding corruption of RealAudio files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30060 a1c6a512-1295-4272-9138-f99709370657
* 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
* Having a default weak codec_main symbol doesn't seem to be working out for ↵Michael Sevakis2011-04-27
| | | | | | compiling the sim under cygwin in at least some cases. Just implement it explicitly in all cases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29789 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#12069 - Playback rework - first stages. Gives as thorough as ↵Michael Sevakis2011-04-27
| | | | | | possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
* Enforce that codecs wait for their metadata in a proper-ish and consistent ↵Michael Sevakis2011-02-20
| | | | | | manner. Sort of a halfway patch; best would be to give them an internal copy of the current track information which lasts unaltered by playback until a track switch or unload. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29348 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
* 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
* Set svn:keywords property.Mohamed Tarek2009-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23660 a1c6a512-1295-4272-9138-f99709370657
* Handle mid-track resumes in RM.Mohamed Tarek2009-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23659 a1c6a512-1295-4272-9138-f99709370657
* Move the DATA_HEADER_SIZE define to codecs/librm/rm.h and add a define Mohamed Tarek2009-08-04
| | | | | | | for PACKET_HEADER_SIZE. No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22152 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
* Modified the code for seeking to speed it up a bit. Instead of searching Mohamed Tarek2009-07-13
| | | | | | | | | | 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
* Put COOKContext struct into IRAM. Speeds up decoding by 6MHz on PP5024 at ↵Michael Giacomelli2009-07-13
| | | | | | the cost of 30.5 kbytes of IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21833 a1c6a512-1295-4272-9138-f99709370657
* Add seeking support in cook codec.Mohamed Tarek2009-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21806 a1c6a512-1295-4272-9138-f99709370657
* Add the ability to seek to the start of the track.Mohamed Tarek2009-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21728 a1c6a512-1295-4272-9138-f99709370657
* Try at fixing 'cast to/from pointer to/from integer of different size' warningsMaurus Cuelenaere2009-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21719 a1c6a512-1295-4272-9138-f99709370657
* Cook codec: make sure the RMContext get aligned correctly, or we won't be ↵Maurus Cuelenaere2009-07-08
| | | | | | able to find it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21717 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