Add codecs to librbcodec.

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>
hm60x/hm801: Increase backlight frequency. This will remove background hiss.

Change-Id: I3b51dc5592c069745a62f21f6f9004c79a1f3985
Reviewed-on: http://gerrit.rockbox.org/225
Tested-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Fix red.

Change-Id: I4e132dfd8c4821715e123decbfb6b130903d6d4a
Voicefile: remove < and > from voice strings before speaking.

Some language files have the < and > characters the original string (like "<All
tracks>") has included in the voice strings. These characters cause the
generated wave file to not contain any samples with SAPI, causing an error when
Rockbox Utility tries to encode the file.

Since those characters don't make much sense in the voice string remove them
prior to speaking. Currently affected languages are basque, chinese-simp, and
russian, for which this fixes voicefile creation.

Change-Id: Iac7ccd7921ccfb5ddc33645239a1f8f7e639e5aa
Add missing basque and english-us languages.

Change-Id: I99767adb9231b25092bee976921a42a8e309599b
Check for bootloader file on device before copying.

QFile::copy() doesn't overwrite an already existing file. This can lead to
bootloader installation trying to place a new file on the player but failing to
do the actual copy if the file already exists. Since overwriting an already
existing file might be unexpected by the user error out in this case and notify
the user.

Change-Id: I5ffaf2f1344271ea2bad9e3232234826552385ec
MI4 bootloader: check for copy result.

As for BootloaderInstallFile check if copying the bootloader file to the player
did actually work or if an already present file caused the copy operation to
fail.

Change-Id: I2e889610b4cb9f57f73cffc473c6230be0d11e24
MPEGPlayer: Fixup typecasting for PCM buffer a bit.

Change-Id: I96cca97c1effe5fe2cf84271b123928ebe38e2a7
test_codec: Fix some problems with writing WAV with DSP

On big-endian architecture, DSP output must be coverted to little-
endian first. DSP output is also always interleaved stereo, 16 bit,
NATIVE_FREQUENCY and wavinfo should be correct for this.

Also, use standard clip_sample_16 already available.

Change-Id: Ifa7b9fc77f0573070c7e79f059dc3000c437c42e
Add a NO_INLINE attribute to gcc_extensions.

Will want later.

Change-Id: Ia1509e17f2346374305146ee98546c72f2f8a1ed
Add a more correct absolute difference function to dsp-util.

Differences between signed samples cover the entire unsigned 32-bit
range. "abs" will think any difference exceeding INT32_MAX is negative
which is not corrent. Test which argument is greater and subtract the
lesser from it, outputting unsigned difference.

Change-Id: I73a8e5e418d49ff73d1a7c98eeb4731946dcfe84
Adjust some typing in voice_thread.c. Constants are also counts, not sizes.

Change-Id: I05700f6c87c775e98f05323d2ab0550fad8befd7
Coldfire (m68k): Add macros for tpf.w/l instructions.

Better than inserting ".word 0x51fc/b". Assembler doesn't support
them but does the plain "tpf" without extension words as well as
"trapf".

Change-Id: I929c0ec84c6e76e0573ff6308634542fd8aee738
Oops, Shoulda been "int16_t" not "uint16_t".

Change-Id: Ic2a54e9f283acb1c362857a3f1422ed3c532249f
Consolidate compressor settings into a struct.

Doing that makes things cleaner for later on.

Change-Id: I4e279aa57ace16a348acc0fc09059592325ec95f
rk27xx: Do not turn off clocks in bootloader as this breaks OF loading

Change-Id: I8e2fb06e82f33c3cf841a125c13e56401c58b12d
rk27xx: Add failsafe mode to the bootloader

Change-Id: Iba8fdc50b3c71831a6f55d15779fee8d1f12cb4f
rbcodec refactoring: dsp_set_eq_coefs

dsp_set_eq_coefs now has parameters for the band settings, so it doesn't
need to access global_settings.

Change-Id: I29ac19fc353b15a79cb25f0e45132aef0881e4c9
Reviewed-on: http://gerrit.rockbox.org/138
Reviewed-by: Nils Wallménius <nils@rockbox.org>
Fix up some more type stuff in pcmbuf.c.

(Never seem to find it all at once :-)

Change-Id: I4b3d145c6d90be13f9afc8a72d8d87a92de88d88
Some whitespace correction in dsp_*.S

Change-Id: I6ee14c0adc9dd456c8a2d171952cbaedb3752428