summaryrefslogtreecommitdiff
path: root/apps/codecs/libalac (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>
* FS#12231Nils Wallménius2011-08-18
| | | | | | | | | | | | | | | | | Centralize the selection of codec compilation flags to codec.make to avoid having to duplicate the per cpu selection logic and the build rule in the individual codec lib make files and make tweaking easier. The two special cases, libmad and libspeex were left alone. I plan to introduce a var for arm generation so that appropriate flags can be selected per generation as benchmarking results have shown that different arm arches might have different optimal flags. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30330 a1c6a512-1295-4272-9138-f99709370657
* FS#12141 by Sean BartellNils Wallménius2011-06-02
| | | | | | | | | | | Some of these were found with http://www.samba.org/junkcode/#findstatic. Changes of note: * The old MDCT has been removed. * Makefile.test files that create test programs for libatrac, libcook, and libffmpegFLAC have been removed, as they don't work. My project will have a replacement that works with all codecs. * I've tried not to remove anything useful. CLIP_TO_15 was removed from libtremor because there's another copy (also commented) in codeclib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29945 a1c6a512-1295-4272-9138-f99709370657
* FS#12140 by Sean Bartell, Make various codec stuff static.Nils Wallménius2011-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow.Andree Buschmann2011-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29725 a1c6a512-1295-4272-9138-f99709370657
* Refactor alac decoder as preparation for upcoming m4a changes. The alac ↵Andree Buschmann2011-04-16
| | | | | | decoder does not need to use get_sample_info() to gather frame size or the number of consumed bytes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29724 a1c6a512-1295-4272-9138-f99709370657
* Switch coldfire builds over to new toolchain using gcc 4.5.2 and binutils 2.20.1Nils Wallménius2011-01-12
| | | | | | | Retune codec compiler optimizations with new compiler. Overall speedup with aac and flac getting big speedups. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29042 a1c6a512-1295-4272-9138-f99709370657
* FS#11454 Tuning of codec compiler optionsNils Wallménius2010-07-18
| | | | | | | | | | | | | | | | | | | Tested with h300 and sansa c200v1 h300 speedups: a52: 2% cook: 9-17% aac: 0.5% vorbis: 0.5% wma: 6-12% c200v1 speedups: alac: 1.5% wma 3-4% wavpack 2% git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27486 a1c6a512-1295-4272-9138-f99709370657
* FS #10690: Add support for 24 bit ALAC files based on libalac 0.2.0Tom Ross2010-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24475 a1c6a512-1295-4272-9138-f99709370657
* Extend av_log2 in codeclib into a generic for scanning for set bits, which ↵Andrew Mahone2009-12-09
| | | | | | can provide either log2 or leading-zero-count output, and can force mapping 0 input to 0 output if needed (otherwise 0 input produces undefined result). Replace av_log2 in lib/codeclib.h, floor_log2 and wl_min_lzc in libfaad/common.c and common.h, and count_leading_zeros in libalac/alac.c with macros using bs_generic. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23903 a1c6a512-1295-4272-9138-f99709370657
* Use clz instruction to count leading zeroes on armv5+, gives about 2% ↵Nils Wallménius2009-11-29
| | | | | | speedup with one sample on the Gigabeat S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23781 a1c6a512-1295-4272-9138-f99709370657
* Cosmetic fix: remove duplicate semicolonsBertrik Sikken2009-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
* Silence warning from 'ar' if the archive had to be created.Jens Arnold2009-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
* Stop hiding errors by redirecting stderr to /dev/null. If we really need to ↵Daniel Stenberg2009-02-23
| | | | | | do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
* Added 'keywords' and 'eol-style' properties.Björn Stenberg2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
* Remove .a files before running ar, to avoid problems with renamed files ↵Björn Stenberg2008-11-20
| | | | | | remaining in the library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19160 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
* Added macros controlling what goes to IRAM on different targets.Tomasz Malesinski2006-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11483 a1c6a512-1295-4272-9138-f99709370657
* Update several codec Makefiles so that the codec libs build again on ↵Magnus Holmgren2006-10-30
| | | | | | Coldfire targets, after the recent move of system-related things to the target tree. (Note to admins: make errors aren't detected on the CVS build page. :)) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11401 a1c6a512-1295-4272-9138-f99709370657
* Next step of Makefile tuning: * Use 'make' internal commands for printing ↵Jens Arnold2006-10-27
| | | | | | messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
* Consistent style of 'make' messages. Always use ranlib after ar.Jens Arnold2006-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
* Convert to use common internal sample format.Thom Johansen2006-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8681 a1c6a512-1295-4272-9138-f99709370657
* A better count_leading_zeros() function, courtesy of Jens ArnoldDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8577 a1c6a512-1295-4272-9138-f99709370657
* Optimised C version of count_leading_zeros() taken from alac-0.1.1. This ↵Dave Chapman2006-02-03
| | | | | | makes ALAC very close to realtime on the ipod (just the very occasional skip during disk reading - it is realtime when the disk is sleeping). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8545 a1c6a512-1295-4272-9138-f99709370657
* Codec makefile cleanup: remove redundant things, don't generate dependency ↵Magnus Holmgren2005-12-05
| | | | | | files when cleaning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8154 a1c6a512-1295-4272-9138-f99709370657
* Move code into IRAM and explicitly inline some functions (gcc was inlining ↵Dave Chapman2005-11-03
| | | | | | them anyway, but this way is better) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7741 a1c6a512-1295-4272-9138-f99709370657
* OopsDave Chapman2005-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7683 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
* 1) Always enable the DSP. 2) Change codec to output one 32-bit array per ↵Dave Chapman2005-10-28
| | | | | | channel containing samples left-shifted to 28-bits (instead of 16-bit interleaved samples). 3) Remove the two 16KB internal predicterror_buffer arrays (we use the output arrays instead) 4) Small internal rearrangement of the code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7667 a1c6a512-1295-4272-9138-f99709370657
* Support for a colon-separated path in APPEXTRALinus Nielsen Feltzing2005-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
* Introduced usage of IBSS_ATTR and ICONST_ATTR in codec libraries.Thom Johansen2005-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7660 a1c6a512-1295-4272-9138-f99709370657
* Add yield() calls inside the monolithic ALAC decode_frame() function - ↵Dave Chapman2005-09-24
| | | | | | improves responsiveness of UI during ALAC decoding git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7557 a1c6a512-1295-4272-9138-f99709370657
* Cascade errors back down to qtmovie_read() and correctly return an error on ↵Dave Chapman2005-09-24
| | | | | | invalid ALAC files - should prevent crashes when attempting to play AAC files using ALAC decoder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7556 a1c6a512-1295-4272-9138-f99709370657
* Workaround for ALAC files that previousy wouldn't play. Libalac now skips ↵Jonas Häggqvist2005-09-24
| | | | | | unknown chunk IDs. Time display and seeking is broken for those files (the ones that played before still work). Patch by Alyssa Milburn. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7552 a1c6a512-1295-4272-9138-f99709370657
* First Rockbox version of ALAC decoder - porting to work in Rockbox ↵Dave Chapman2005-09-22
| | | | | | environment and some simple (but significant) optimisations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7544 a1c6a512-1295-4272-9138-f99709370657
* Initial (unmodified - for reference) import of David Hammerton's Apple ↵Dave Chapman2005-09-22
Lossless (ALAC) decoder from http://crazney.net/programs/itunes/alac.html git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7541 a1c6a512-1295-4272-9138-f99709370657