rockbox/apps/codecs/libtremor
Thomas Martitz 35e8b1429a Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #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
2010-06-21 16:53:00 +00:00
..
asm_arm.h ARMv6 vector mutiplication asm, speeds up vorbis decoding about 0.1MHz on gigabeat S. 2010-06-17 16:49:39 +00:00
asm_mcf5249.h Delete some duplicate inline asm macros since they now live in the codeclib. 2010-06-17 16:01:20 +00:00
backends.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
bitwise.c Commit FS#9915 by Sei Aoyumi. Adds hints to help GCC better optimize vorbis decoding. Gives a minor speed increase. 2009-02-17 17:01:09 +00:00
block.c Merge from branches/mdctexp - faster ifft+imdct in codec lib 2010-02-17 00:49:53 +00:00
CHANGELOG Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
codebook.c Simplify special case function, speedup of about 0.2MHz on both coldfire and pp decoding the files in the test set 2010-05-12 22:41:17 +00:00
codebook.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
codec_internal.h Merge from branches/mdctexp - faster ifft+imdct in codec lib 2010-02-17 00:49:53 +00:00
config-tremor.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
config_types.h Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
COPYING Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
ctype.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
floor0.c Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
floor1.c Remove inline asm that hasn't been useful for years, no speed difference 2009-12-10 21:43:59 +00:00
framing.c Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
info.c Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
ivorbiscodec.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
ivorbisfile.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
libtremor.make Simplify makefile 2010-03-09 03:20:14 +00:00
lsp_lookup.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
mapping0.c Correction to clobber lists of several codec's inline assembly. 2010-05-29 15:00:10 +00:00
misc.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
ogg.h Commit FS#9915 by Sei Aoyumi. Adds hints to help GCC better optimize vorbis decoding. Gives a minor speed increase. 2009-02-17 17:01:09 +00:00
oggmalloc.c FS#10466: Introduce a real malloc for tremor. 2009-08-29 12:23:40 +00:00
os.h Fix warning on new gcc for checking value or truth of undefined _WIN32 and MIPS. 2009-11-20 02:51:10 +00:00
os_types.h FS#10466: Introduce a real malloc for tremor. 2009-08-29 12:23:40 +00:00
README Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
README.rockbox Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
registry.c Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
registry.h Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
res012.c Commit FS#9882 - make better use of iram at different quality encodings, remove redundant memsets, implement doublebuffer if it will fit in iram to save a mempcy each frame, and some alignment fixes for coldfire 2009-04-25 11:25:13 +00:00
sharedbook.c Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
SOURCES Codec lib directories renamed, except for demac. 2008-11-05 13:30:58 +00:00
synthesis.c Remove leftover unused buffer from the mdctexp branch 2010-03-04 06:31:34 +00:00
vorbisfile.c Add STATICIRAM_NOT_MDCT as a workaround for the gcc bug where static functions are not long called. This is currently only an issue on the Nano2G (S5L8701 CPU) which is the only ARM target with enough IRAM for these functions. Also add multiple-inclusion protection for config-tremor.h. All plugins and codecs now compile cleanly for the Nano2G. 2009-10-04 08:49:23 +00:00
window.c Commit FS#9882 - make better use of iram at different quality encodings, remove redundant memsets, implement doublebuffer if it will fit in iram to save a mempcy each frame, and some alignment fixes for coldfire 2009-04-25 11:25:13 +00:00
window.h Fix broken whitespace after r24862 2010-03-05 09:48:07 +00:00
window_lookup.h Commit FS#9882 - make better use of iram at different quality encodings, remove redundant memsets, implement doublebuffer if it will fit in iram to save a mempcy each frame, and some alignment fixes for coldfire 2009-04-25 11:25:13 +00:00

This README covers the Ogg Vorbis 'Tremor' integer playback codec
source as of date 2002 09 02, version 1.0.0.

                            ******

The C source in this package will build on any ANSI C compiler and
function completely and properly on any platform.  The included build
system assumes GNU build system and make tools (m4, automake,
autoconf, libtool and gmake).  GCC is not required, although GCC is
the most tested compiler.  To build using GNU tools, type in the
source directory:

./autogen.sh
make

Currently, the source implements playback in pure C on all platforms
except ARM, where a [currently] small amount of assembly (see
asm_arm.h) is used to implement 64 bit math operations and fast LSP
computation.  If building on ARM without the benefit of GNU build
system tools, be sure that '_ARM_ASSEM_' is #defined by the build
system if this assembly is desired, else the resulting library will
use whatever 64 bit math builtins the compiler implements.

No math library is required by this source.  No floating point
operations are used at any point in either setup or decode.  This
decoder library will properly decode any past, current or future
Vorbis I file or stream.

                           ********

The build system produces a static and [when supported by the OS]
dynamic library named 'libvorbisidec'.  This library exposes an API
nearly identical to the BSD reference library's 'libvorbisfile',
including all the features familiar to users of vorbisfile.  This API
is similar enough that the proper header file to include is named
'ivorbisfile.h' [included in the source build directory].  Lower level
libvorbis-style headers and structures are in 'ivorbiscodec.h'
[included in the source build directory]. A simple example program,
ivorbisfile_example.c, can be built with 'make example'.

                           ********

Detailed Tremor API Documentation begins at doc/index.html

Monty
xiph.org