summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
...
* Fix yellow.Mohamed Tarek2009-08-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22163 a1c6a512-1295-4272-9138-f99709370657
* Enhance seeking in a52_rm ; it was a bit choppy, and fix a bug ↵Mohamed Tarek2009-08-04
| | | | | | | | | (request_buffer was called after eos and gave a seg fault) by changing the the condition for the decoding loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22162 a1c6a512-1295-4272-9138-f99709370657
* Rename codecs/dnet.c to codecs/a52_rm.cMohamed Tarek2009-08-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22158 a1c6a512-1295-4272-9138-f99709370657
* Add support for AC3 audio in RM container.Mohamed Tarek2009-08-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22155 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
* Fix inaccurate time display for 44.1 (and 22.05) kHz MP3 audio tracks. Time ↵Magnus Holmgren2009-08-03
| | | | | | was off by about 0.2%. Doesn't sound much, but after one hour, that's 8 seconds. Also fix a problem when seeking to near the end of a file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22145 a1c6a512-1295-4272-9138-f99709370657
* Remove various ABS() definitions with a single one using typeof (if using ↵Thomas Martitz2009-08-03
| | | | | | gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
* Slight whitespace cleanup, add a const qualifier. No functional changesNils Wallménius2009-07-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22087 a1c6a512-1295-4272-9138-f99709370657
* Clean up a lot of old and ugly comments. Wrap some long lines. Remove ↵Michael Giacomelli2009-07-28
| | | | | | unneeded fixed point function. Move some fixed point math functions out of wmadeci. No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22077 a1c6a512-1295-4272-9138-f99709370657
* Change enum codecs in apps/codecs/librm/rm.h to follow the coding guidelines.Mohamed Tarek2009-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22067 a1c6a512-1295-4272-9138-f99709370657
* Change the naming scheme for codecs found in different containers.Mohamed Tarek2009-07-27
| | | | | | | Like changing AFMT_AAC to AFMT_MP4_AAC and AFMT_RAAC to AFMT_RM_AAC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22066 a1c6a512-1295-4272-9138-f99709370657
* Fix compilation of the standalone test program.Mohamed Tarek2009-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22064 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
* Adding support for playback of aac audio in rm container, with seeking.Mohamed Tarek2009-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22031 a1c6a512-1295-4272-9138-f99709370657
* Compile librm separately in preparation for addition of more codecs.Mohamed Tarek2009-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22028 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
* Commit FS#10458 by Christopher Williams - Fix incorrect AIFF and WAV ↵Michael Sevakis2009-07-23
| | | | | | encoding while recording in mono. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22014 a1c6a512-1295-4272-9138-f99709370657
* Commited the wrong thing, fix zeroing in cook.Michael Giacomelli2009-07-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21989 a1c6a512-1295-4272-9138-f99709370657
* Rearrange loop to avoid one branch per iteration.Michael Giacomelli2009-07-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21988 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
* Optimize overlap_math by only doing shifting if theres gain, and moving the ↵Michael Giacomelli2009-07-18
| | | | | | check for sign outside of the for loop. 3% speedup on PP5024. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21940 a1c6a512-1295-4272-9138-f99709370657
* Rearrange the MDCT library lookup tables so that codecs can access them. ↵Michael Giacomelli2009-07-17
| | | | | | Access them in cook. Remove old cook trig tables. Replace old 32x16 bit fixed point multiply code with faster ASM ARM/Coldfire versions using full 32 bit precision. Improves performance signficantly on PP5024 (~200% realtime for a 64k file) while saving a lot of memory and improving accuracy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21939 a1c6a512-1295-4272-9138-f99709370657
* Don't use ldrd/strd on ARMv5 since not all revisions support them and the ↵Jens Arnold2009-07-17
| | | | | | gain from using them is minimal (basically code size only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21916 a1c6a512-1295-4272-9138-f99709370657
* Remove a call to av_clip() which limits the PCM output of the decoder to 16-bit.Mohamed Tarek2009-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21911 a1c6a512-1295-4272-9138-f99709370657
* Remove an overlooked, unused float from struct COOKContext.Mohamed Tarek2009-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21909 a1c6a512-1295-4272-9138-f99709370657
* Collect encoder data chunks (usually < 1kB) before writing to disk. The ↵Antonius Hellmann2009-07-14
| | | | | | reduced number of ci->write() calls give a nice write speedup to the mp3 encoder. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21865 a1c6a512-1295-4272-9138-f99709370657
* Remove a function accidentally added back in r21841.Magnus Holmgren2009-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21853 a1c6a512-1295-4272-9138-f99709370657
* Fix cook on big endian targets. get_uint*be() is already endian agnostic due ↵Jens Arnold2009-07-13
| | | | | | | | | 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
* Import Vorbis seeking improvements from Tremor SVN.Magnus Holmgren2009-07-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21841 a1c6a512-1295-4272-9138-f99709370657
* Fix another file for r12 being a scratch register. Overlooked earlier ↵Jens Arnold2009-07-13
| | | | | | | | | 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
* 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
* Reorder some operands to increase frequency of multiply early termination on ↵Andrew Mahone2009-07-13
| | | | | | 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
* 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
* Some fixes for the standalone test program.Mohamed Tarek2009-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21807 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
* * ARM asm DSP and codec/plugin functions: Use r12 scratch register properlyJens Arnold2009-07-12
| | | | | | | | | * 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
* Fix type mismatch warnings and errors exposed when building with EABI toolchain.Andrew Mahone2009-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21769 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
* Previous commit didn't fix compiling on Cygwin, this one should.Maurus Cuelenaere2009-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21724 a1c6a512-1295-4272-9138-f99709370657
* Fix compiling on Cygwin hosts.Maurus Cuelenaere2009-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21722 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
* * FS#10411 - Fixed point math code is bloated by Jeffrey GoodeMaurus Cuelenaere2009-07-07
| | | | | | | * Set svn:keywords properties git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21701 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
* Take 2 at 'Consolidate all fixed point math routines in one library' ↵Maurus Cuelenaere2009-07-05
| | | | | | (FS#10400) by Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
* Revert "Consolidate all fixed point math routines in one library (FS#10400) ↵Maurus Cuelenaere2009-07-04
| | | | | | by Jeffrey Goode" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21635 a1c6a512-1295-4272-9138-f99709370657
* Consolidate all fixed point math routines in one library (FS#10400) by ↵Maurus Cuelenaere2009-07-04
| | | | | | Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21633 a1c6a512-1295-4272-9138-f99709370657
* Commit rest of fix in FS#9866. Don't parse Vorbis comments again in ↵Michael Giacomelli2009-06-30
| | | | | | 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
* Remove unused variable and assignment.Michael Giacomelli2009-06-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21304 a1c6a512-1295-4272-9138-f99709370657
* Move rm.[c/h] from libcook to librm. No functional changes.Mohamed Tarek2009-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21066 a1c6a512-1295-4272-9138-f99709370657