rockbox/apps/codecs/libatrac
Nils Wallménius b086458e4e FS#12231
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
2011-08-18 16:33:41 +00:00
..
atrac3.c FS#12140 by Sean Bartell, Make various codec stuff static. 2011-06-01 10:28:26 +00:00
atrac3.h
atrac3_arm.S
atrac3_armv5e.S
atrac3data.h
atrac3data_fixed.h
fixp_math.h
libatrac.make FS#12231 2011-08-18 16:33:41 +00:00
README.rockbox
SOURCES

Library: libatrac
Imported by : Mohamed Tarek
Import date : 10-August-2009

LICENSING INFORMATION

ffmpeg is licensed under the Lesser GNU General Public License.

IMPORT DETAILS

The decoder is based on ffmpeg-svn r18110 : Mar 21 2009.
Some changes were done on in order to use static VLC tables
according to this commit :
http://git.ffmpeg.org/?p=ffmpeg;a=commit;h=4c20cf13a166577d93f5b2b0abb4609c60104d33

The decoder had been modified to use fixed-point arithmetic.

TESTING

The test program should compile in any Unix-like environment using the
command "make -f Makefile.test".

For ARM targets add -DCPU_ARM to CFLAGS in Makefile.test to make use of 
the asm ARM optimisations in rockbox's mdct library.

For Big-endian targets, change -D"ROCKBOX_LITTLE_ENDIAN=1" 
to -D"ROCKBOX_BIG_ENDIAN=1" in Makefile.test.

Running "./atractest file.rm" will decode the audio data to a WAV file
called "output.wav" in the current directory.