Commit graph

3620 commits

Author SHA1 Message Date
Dave Chapman
798a4f3533 Changes to make libfaad compile in Rockbox. Also remove compiler warnings, use some IRAM (IRAM usage needs reviewing) and drastically reduce the stack usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7700 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:33:27 +00:00
Dave Chapman
65de1cc6af Initial check-in of unmodified libfaad (part of the FAAD2 project). This is the last version of libfaad available under the GPL - the state of FAAD2 CVS at midnight on 2005-02-01
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7699 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 18:56:29 +00:00
Kevin Ferrare
b83dc3861e Corrected a small bug about status bar not refreshing the clock in menus on archos, added some H1x0 remote key bindings (thanks Stephan Wezel for the patch ! )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7698 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 18:38:48 +00:00
Thom Johansen
65fe5f144d Some more IBSS_ATTR changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7697 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 13:00:14 +00:00
Kevin Ferrare
162ab7baeb A small visual bug fixed with menus when in some cases the status bar was not redrawn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7695 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 23:54:12 +00:00
Kevin Ferrare
2b3695f538 oops a little warning in menu.c, fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7694 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:41:29 +00:00
Kevin Ferrare
db8415c99e Partial menus support on remote (only browsing is working, changing option isn't), corrected a bug in gui_list about scrollbar beeing displayed sometimes when it musn't
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7693 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:34:51 +00:00
Dave Chapman
fca6b63ef7 Fix bug with FLAC and ALAC output being half the correct volume. The DSP_SET_SAMPLE_DEPTH function expects needs clarifying or changing - it seems to expect one less than the number of bits in cases where the depth is greater than the native depth (16 bits).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7692 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:06:42 +00:00
Dave Chapman
29c7da9e69 Don't copy the data from the audio buffer - request_buffer() guarantees to always return up to GUARD_BUFSIZE bytes, even at the buffer wraparound point. This removes the need for the 32KB static input buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7691 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 21:04:32 +00:00
Dave Chapman
15a830bdba Skip ID3v2 tags at the start of a FLAC file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7689 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 15:07:40 +00:00
Miika Pekkarinen
a4c190f7d4 Increased the guard buffer size to support larger frame sizes used by
FLAC codec for example.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7688 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 09:30:14 +00:00
Miika Pekkarinen
b142a58124 Moved also the other mutex into a right place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7687 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 08:51:47 +00:00
Miika Pekkarinen
74528fc4a4 Added a missing mutex lock to the initial buffer filling code. That
fixes a problem with some FLAC files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7686 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 08:27:34 +00:00
Miika Pekkarinen
169c935c24 Optimizations to the FLAC-codec buffer requesting to eliminate the
need of extra copying.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7685 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 07:38:52 +00:00
Kevin Ferrare
a3ed62b36f Corrected a bug on archos with buttonbar which was erased when filetree refreshed (mistake introduced in 2005/10/29 commit; Changed some copyrights in the files (I hope this time will be the good one and the last one ! )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7684 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 01:24:35 +00:00
Dave Chapman
6934eaf225 Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7683 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 18:00:04 +00:00
Dave Chapman
45f9e5d7b0 Remove generic M4A parsing code from libalac and create a libm4a - so it can be used by other codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7682 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 17:12:52 +00:00
Kevin Ferrare
e75cbdd2a8 Some changes to the remote code : some one lines function turned into macros ; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 02:33:19 +00:00
Dave Chapman
dff9352430 Initial seeking support. This only seeks to the nearest point (before the target sample) in the seektable. NOTE: not all FLAC files have seektables - some front-ends have the skill to create FLAC files without them. You can add seek points every 10 seconds to a FLAC file with the command: metaflac --add-seekpoint=10s file.flac
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7680 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 01:39:07 +00:00
Kevin Ferrare
d452d26885 Changed some fn names, also corrected a bug with fonts and made the filetree work like the original one (stop on reaching list limits when pressing button)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7679 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 23:52:49 +00:00
Thom Johansen
6ff8463216 Enabled the FLAC EMAC optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7678 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 22:03:52 +00:00
Jens Arnold
eb87ad5e32 H1x0: Fixed the non-working Stop in the file browser. Ondios: Added the same feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7677 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 21:57:30 +00:00
Thom Johansen
c01b987cca Squeezed two very frequently used arrays in IRAM for a very nice performance boost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7676 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 20:21:58 +00:00
Dave Chapman
e12ab49b73 Add more useful error codes from decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7675 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 20:09:47 +00:00
Dave Chapman
55ebb9ffc3 Add gui directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7673 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 13:37:55 +00:00
Dave Chapman
d4bccf7f92 iso-8859-1 police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7672 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 13:18:11 +00:00
Kevin Ferrare
353c0f76db The wonderful starfield plugin huhuhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7670 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 01:31:03 +00:00
Linus Nielsen Feltzing
7d6b987892 Fixed Ondio and V2/FM compiling problems from the multiscreen patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7669 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:52:19 +00:00
Linus Nielsen Feltzing
530ff7de69 Ooops, forgot to commit these
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7668 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:17:15 +00:00
Dave Chapman
f1844c4166 1) Always enable the DSP. 2) Change codec to output one 32-bit array per 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
2005-10-28 00:11:28 +00:00
Linus Nielsen Feltzing
7da9477bc3 Initial multi screen support by Kévin Ferrare (Patch #1318081)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:00:00 +00:00
Dave Chapman
3efa91ed03 Should be referring to libffmpegFLAC, not libalac - how did this work in the past?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7665 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 17:04:57 +00:00
Dave Chapman
acf9f8455a Prevent compiler warning for LOGF builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7664 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 16:59:23 +00:00
Linus Nielsen Feltzing
dc9e201671 Support for a colon-separated path in APPEXTRA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Dave Chapman
d1dc0bd824 Zero the FLACContext during initialisation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7662 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 13:18:05 +00:00
Thom Johansen
5a4423fc23 Didn't mean to commit that...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7661 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:44:01 +00:00
Thom Johansen
292e4e90d7 Introduced usage of IBSS_ATTR and ICONST_ATTR in codec libraries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7660 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:39:01 +00:00
Thom Johansen
e6021381ef Introduced usage of IBSS_ATTR and ICONST_ATTR to codec plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7659 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:32:02 +00:00
Thom Johansen
c2628f3af9 Replaced jump table with a more efficient one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7658 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:00:24 +00:00
Thom Johansen
0b38c7dcbe Assembler optimised LPC routines for Coldfire. Will enable them when codec has seen further testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7657 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 00:33:38 +00:00
Dave Chapman
273d2e81f7 New FLAC decoder from the ffmpeg project
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7656 a1c6a512-1295-4272-9138-f99709370657
2005-10-26 12:35:58 +00:00
Miika Pekkarinen
bdf558ca53 Fixed the voice codec when no audio is playing. Now attenuating audio
instead of making the voice louder.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7653 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 21:07:35 +00:00
Thom Johansen
6f9a84c2b8 Removed unneeded xxx2wav files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7652 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 11:52:26 +00:00
Dave Chapman
533dbbef58 Fix downmixing problems in AC3/A52 decoder and small cleanup of unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7651 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 11:37:16 +00:00
Dave Chapman
1a82763d3a Seeking support for AC3/A52 files. We assume they are always CBR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7650 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 09:10:51 +00:00
Miika Pekkarinen
56bb45cfaf We reserved two bits instead of one bit for the new skipped attribute.
Fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7648 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 07:25:19 +00:00
Miika Pekkarinen
c52f7f1b5e iRiver: Fixed broken items skipping on playlist: Now skipping and
marking them as bad instead of deleting the entries from playlist.
Faster buffered track skipping and preventing glitches from previous
tracks (still something might occur though, please report them).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 06:40:45 +00:00
Jens Arnold
ddad7197ed H1x0: Slight optimisation of the grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7646 a1c6a512-1295-4272-9138-f99709370657
2005-10-20 19:56:32 +00:00
Miika Pekkarinen
4b2aa9830e Now correctly interrupting the dircache rebuilding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7645 a1c6a512-1295-4272-9138-f99709370657
2005-10-20 08:33:59 +00:00
Jens Arnold
abd9f83e92 Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00