1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/rbcodec/codecs/demac
Vencislav Atanasov f040c4c9ec Rename CPU_S5L870X to CPU_S5L87XX
This is a preparation to introduce support for the following SoC models: S5L8720 (iPod Nano 4G, iPod Touch 2G), S5L8730 (iPod Nano 5G), S5L8723 (iPod Nano 6G) and S5L8740 (iPod Nano 7G)

The whole family consists of SoCs which are similar, running ARMv6 and Thumb2 instructions, but some peripherals are located at a different address.

No functional change is to be expected so far.

Change-Id: If1f7669c49cf110ccc52c5234cc42ffd6f2b4e80
2024-11-20 10:58:32 -05:00
..
libdemac Rename CPU_S5L870X to CPU_S5L87XX 2024-11-20 10:58:32 -05:00
COPYING Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
demac.c Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
libdemac.make Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
Makefile Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
README Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
wavwrite.c Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
wavwrite.h Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00

demac - a decoder for Monkey's Audio files.

Introduction

demac is an implementation in portable ANSI C of a decoder for the
Monkey's Audio lossless compression format.  It has the following
features:

  * Open source (GNU GPL)
  * Written in portable ANSI C
  * Designed for use on low memory and embedded devices.  All internal
    buffers are statically declared - the core library doesn't require 
    malloc/free.  This has the disadvantage that the library isn't 
    re-entrant.


Compatibility


libdemac is still in the early stages of development but has been
relatively well tested with v3.99 files at all compression levels.

v3.97 files have received less testing - 16-bit files seem to work,
but 24-bit files are causing problems in the range decoder.

Files earlier than v3.97 are not supported by libdemac, but support
might be added in the future.


Source Code

The source code in this directory is structured as follows:

demac/Makefile - Makefile for the standalone demac decoder
demac/demac.c - Simple standalone test program to decoder an APE file to WAV
demac/wavwrite.[ch] - Helper functions for demac.c
demac/libdemac/Makefile - A Makefile for use in Rockbox
demac/libdemac/*.[ch] - The main libdemac code


Latest Version

The latest version of demac and libdemac can always be found in the
"lib/rbcodec/codecs/demac/" directory in the Rockbox source.  You can check
this out from svn with the command:

svn co svn://svn.rockbox.org/rockbox/trunk/lib/rbcodec/codecs/demac demac

Or browse the source code online here:

http://svn.rockbox.org/viewvc.cgi/trunk/lib/rbcodec/codecs/demac



Acknowledgements

Thanks to Matt. T. Ashland for writing Monkey's Audio.  His website
can be found here: http://www.monkeysaudio.com


Copyright and license


libdemac is (C) 2007 Dave Chapman and is licensed under the GNU
GPL. See the COPYING file in this directory.

The exception is the majority of rangecoding.h, which is (C) 1997,
1998, 1999, 2000 Michael Schindler and is also licensed under the GPL.
See that source file for full details.