Commit graph

566 commits

Author SHA1 Message Date
Dave Bryant
85e03767f7 Reorganized encoder to allow compressing blocks in smaller chunks and
improved efficiency somewhat by looping through data in tighter passes.
Code is basically ready for an attempt at direct recording.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7088 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 23:14:41 +00:00
Linus Nielsen Feltzing
62c768c0db Recovered from my major brain failure and reverted to using the same load address for both H110 and H120/140
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:46:42 +00:00
Linus Nielsen Feltzing
2d25122431 H110 adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7071 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:08:59 +00:00
Daniel Stenberg
8493ccb285 Renamed the iriver h120 defines and configs to "h120"! Added initial support
for the h100 series.

Please re-run configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:31:13 +00:00
Linus Nielsen Feltzing
2cc64c4572 Chip8 works again on grayscale devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7053 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 09:48:30 +00:00
Daniel Stenberg
11d7cb9126 entry *entryarray is static in the C source so it can't be extern here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7050 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:07:05 +00:00
Jens Arnold
d7f9439353 Adapted remote LCD driver and player graphics library to the new bitmap function naming scheme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 00:05:29 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Linus Nielsen Feltzing
6b582c3b92 Patch #1232741 by Frederic Devernay - chip8 plugin now playable, and with SCHIP emulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7041 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 18:38:25 +00:00
Dave Bryant
febd9750f1 Created new viewer application to test WavPack encoding. Accepts .wav file
and generates lossless .wv with the same name. Runs at about 150% realtime
for now. Only problem is that folder display (and playlist?) do not get
updated when finished and since files don't show extensions it's a little
hard to tell which is which (wav is first by alpha).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7010 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 07:07:43 +00:00
Jens Arnold
d2456b44f7 Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack and rockboy headers to avoid clashes with rockbox headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 14:05:12 +00:00
Jens Arnold
3291ae6bfa A couple of optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:21:21 +00:00
Michiel Van Der Kolk
c735ed7914 First runtime database support, self repairing, only playcount works for now,
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:29:44 +00:00
Jens Arnold
c5bdca9b62 Use macros instead of multiple #ifdef to make the code more readable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6965 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 16:22:15 +00:00
Linus Nielsen Feltzing
c2577c8a47 Associated .nfo with the text viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6958 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 05:10:08 +00:00
Jens Arnold
93867305d5 Player graphics library extended and converted to new api. Please note that the player gfx bitmap format chas changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6956 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 21:07:00 +00:00
Linus Nielsen Feltzing
0ec1ad9951 vbrfix boosts the cpu frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6944 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:45:53 +00:00
Jens Arnold
848be81828 No need to included unused data in the archos builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6932 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:06:19 +00:00
Jens Arnold
305a7ce1a2 Enabled sectioned compilation for the plugin library, and linking with garbage collection for the plugins. The effect is that functions and data objects from one object file in the plugin library are included in the .elf individually, not as a whole. It makes maintaining larger plugin library packages easier, as it is no longer necessary to split the source files by function to avoid dead code to get included in the plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6931 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:04:22 +00:00
Jens Arnold
cc377d5d18 Made it working again...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6929 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 18:54:56 +00:00
Daniel Stenberg
1c56afad5d removed old codec leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6919 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:46:51 +00:00
Daniel Stenberg
ba64081228 adjusted for the h300 to make it do similar as the h100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6916 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:25:45 +00:00
Daniel Stenberg
3a78ab9a4f fix to enable plugins to build fine for h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6913 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:12:45 +00:00
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Jens Arnold
576908d36a Third part of graphics api rework. Some small but effective optimisations. Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 01:39:50 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Daniel Stenberg
2e88a90c0b Request the audio buffer _before_ using any iram. By doing it in this order,
the music has stopped when we use the plugin iram area - which is shared with
the codecs!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6904 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 21:19:40 +00:00
Jens Arnold
91f572c3b5 Iriver: Fix codec <-> plugin start address clash, leading to crashes when trying to run plugins while playing music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6903 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 21:12:11 +00:00
Daniel Stenberg
c9cb607a19 I bet nobody enters more than 100 letters in search strings, and since there
are 70 of these, we gain 10K in one single step.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6902 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 22:43:11 +00:00
Daniel Stenberg
a24017f4da Moved the codec and plugin buffer sizes to the config-*.h files instead of
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00
Jens Arnold
9ca433f7bb Don't try to compile the grayscale lib for unsupported configurations, saves compile time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6895 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 17:52:42 +00:00
Antoine Cellerier
2398b22549 * number of columns and rows can now be changed in menu
* remove trailing spaces


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6881 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:42:53 +00:00
Antoine Cellerier
59df31244a * use *rb->current_tick for srand
* don't truncate last column on players that have screens larger than
   the recorder's


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6879 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:12:56 +00:00
Antoine Cellerier
316eb6538e * fix some cursor bugs (patch 1222287)
* added call to srand (patch 1223090)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6876 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 19:35:29 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jörg Hohensohn
7bc6898e53 comment updated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6851 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 05:22:47 +00:00
Daniel Stenberg
d6cf3a0305 increase codec buffer size to fit the mpc codec properly (NOTE: the codec
loader does not detect when the full codec doesn't fit)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6827 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:34:11 +00:00
Daniel Stenberg
1dd672fe32 moved and renamed the codecs, gave the codecs a new extension (.codec),
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
Thom Johansen
714358a42c Initial linear interpolating resampler. This resampler really needs to be ripped out of the codec, and put into the playback system. Optimising probably wouldn't hurt either, currently it slows down playback quite a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6809 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:52:02 +00:00
Jörg Hohensohn
36e2393ef9 allow smaller .ucl, to test bootbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6796 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 05:54:47 +00:00
Daniel Stenberg
aee2425f66 CODECS lists the codec plugins, so that the Makefile knows what ones to
link to the special codec address


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6795 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 04:09:43 +00:00
Linus Nielsen Feltzing
ecf2f747ed Daniel's fix that loads codecs in their own memory space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 02:47:54 +00:00
Thom Johansen
cdcd651e7d Musepack files should play (poorly) now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6776 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 12:24:02 +00:00
Dave Chapman
defdf4b65d First attempt at seeking in FLAC files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6750 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 20:57:01 +00:00
Jonas Häggqvist
65e6a63026 The modifications are for all larger screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6723 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 13:56:54 +00:00
Tomas Salfischberger
2ed84ec2ca The synthVoice() function declaration was wrong (caused a warning). And because of that GCC didn't notice the error on line 390: synthVoice(currentVoice).
In revision 1.4 Steven made currentVoice global, so the function declaration should be: synthVoice(void), wich fixes a warning. And the call should be just synthVoice() wich fixes a hidden error.

Hope I saw this right... please correct me if this isn't the way you ment is Seven.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6708 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 16:17:11 +00:00
Miika Pekkarinen
6ab53ba458 Even more quiet audio initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6705 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 07:54:09 +00:00
Dave Chapman
24394b3316 Increase FILEBUF_CHUNKSIZE to 128K - fixes pauses in high-bitrate AC3s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6703 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 22:46:09 +00:00
Dave Chapman
789791e659 Configure CODEC_SET_FILEBUF_CHUNKSIZE - improves FLAC performance
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6701 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 17:48:30 +00:00
Miika Pekkarinen
d94cba6d0f Forward seeking fixed. Some comments added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6700 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 15:26:53 +00:00