summaryrefslogtreecommitdiff
path: root/apps/codecs/libm4a/demux.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>
* Fix compiler warnings ('variable set ut not used') with GCC 4.6.0.Andree Buschmann2011-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29792 a1c6a512-1295-4272-9138-f99709370657
* Ensure proper termination of m4a lookup table.Andree Buschmann2011-04-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29774 a1c6a512-1295-4272-9138-f99709370657
* Minor speed optimization to m4a lookup table build up.Andree Buschmann2011-04-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29770 a1c6a512-1295-4272-9138-f99709370657
* Major rework of the m4a parser for aac/alac playback, seek and resume ↵Andree Buschmann2011-04-18
| | | | | | support. As a result the memory consumption was drastically reduced. This allows to play several files with long duration -- especially on low memory targets. The change builds a lookup table from m4a's sample_to_chunk[] and chunk_offset[] and completely removes the allocation of the large tables chunk_offset[] and sample_byte_size[]. To be able to remove reading and allocating sample_byte_offset[] the aac and alac decoder now buffer a fixed amount of bytes for each frame. The generated lookup table is used for seek/resume and skipping bytes in empty chunks (aac decoder only). The precision for seek/resume is somewhat lower but still equals 0.5 sec for the worst case. Fixes FS#8923. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29745 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11918: Add 2 more codec types to be able to differentiate between ↵Andree Buschmann2011-02-03
| | | | | | AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
* Make M4A demuxer more flexible when handling the stsd atom. Allows file ↵Magnus Holmgren2010-08-29
| | | | | | reported in the forum to play. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27938 a1c6a512-1295-4272-9138-f99709370657
* Add uppercase M4A file type to the mp4 parser. Technically Apple says to ↵Michael Giacomelli2010-08-14
| | | | | | use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27805 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
* Second part of FS#10832 by Juliusz Chroboczek. Ignore empty mdat chunks in ↵Michael Giacomelli2010-01-02
| | | | | | mp4 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24148 a1c6a512-1295-4272-9138-f99709370657
* Commit first part of FS#10832 by Juliusz Chroboczek. Allows playback of ↵Michael Giacomelli2010-01-02
| | | | | | unstreamable AAC/ALAC files by stepping through the file to find the index, potientially rebuffering. This is likely to impose a battery life hit on files which are unstreamable and not much smaller then the buffer, but should not impact streamable files at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24147 a1c6a512-1295-4272-9138-f99709370657
* Add support for the MP4 file type 'isom'. Based on FS#10790 with an ↵Magnus Holmgren2009-11-22
| | | | | | additional fix, making the sample file play. Also updated some debug prints. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23708 a1c6a512-1295-4272-9138-f99709370657
* Avoid possible memory corruptionNils Wallménius2009-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23666 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
* Make local functions static in codecs, where possible.Bertrik Sikken2008-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
* Remove the mallocs for the codecdata in the m4a parser and assume a maximum ↵Dave Chapman2007-12-01
| | | | | | size of 64 bytes (see comments in source). Also clean up the alac_set_info() function a little and make it alignment-safe. We still need to remove the seektable related mallocs. Please report if any AAC or ALAC files stop playing in Rockbox after this commit - but it is not expected to cause problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15861 a1c6a512-1295-4272-9138-f99709370657
* Cast some more to keep both 32 bit and 64 bit simulator platforms happy.Jens Arnold2007-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator builds, and some debugf() format strings.Jens Arnold2007-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
* Fix a couple of MP4 demuxing problems, preventing playback in a few cases. ↵Magnus Holmgren2007-01-30
| | | | | | All my test files now play properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12161 a1c6a512-1295-4272-9138-f99709370657
* AAC codec: accept M4B files.Magnus Holmgren2006-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11681 a1c6a512-1295-4272-9138-f99709370657
* Make the AAC (and ALAC) codec more flexible when dealing with the MP4 file ↵Magnus Holmgren2006-12-06
| | | | | | structure. Should fix some podcasts that don't play. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11680 a1c6a512-1295-4272-9138-f99709370657
* Remove some unneeded code that caused problems for enhanced AAC files.Magnus Holmgren2006-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11648 a1c6a512-1295-4272-9138-f99709370657
* Improve support for long MP4 files. Twice as long files can now play, and ↵Magnus Holmgren2006-11-08
| | | | | | for those that still are too long, exit with a codec failure rather than freeze Rockbox. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11471 a1c6a512-1295-4272-9138-f99709370657
* AAC codec: Improved MP4 file parsing. Should now handle most streamable ↵Magnus Holmgren2006-10-11
| | | | | | files. Also some code cleanup and policing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11187 a1c6a512-1295-4272-9138-f99709370657
* Make the m4a parser happier with Nero-encoded .mp4 files. This still needs ↵Dave Chapman2005-11-02
| | | | | | more work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7728 a1c6a512-1295-4272-9138-f99709370657
* Suppress compiler warningDave Chapman2005-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7708 a1c6a512-1295-4272-9138-f99709370657
* Add capability to parse AAC files in M4A.Dave Chapman2005-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7705 a1c6a512-1295-4272-9138-f99709370657
* Remove generic M4A parsing code from libalac and create a libm4a - so it can ↵Dave Chapman2005-10-29
be used by other codecs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7682 a1c6a512-1295-4272-9138-f99709370657