Commit graph

23623 commits

Author SHA1 Message Date
Frank Gevaerts
f615fb43d5 Turn the simulator background into a clickable area. i.e. you click on the play button to press play. It also maps mouse scrollwheel events to rockbox scrollwheel events. This facilitates testing because you don't have to move your hand between the mouse and keyboard.
Author: Fred Bauer
Flyspray: FS#11008



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24696 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 17:34:48 +00:00
Teruaki Kawashima
13035a48af scrollbar.c: Simplify code a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24694 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 13:38:30 +00:00
Teruaki Kawashima
d50c78c238 * surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in struct scrollinfo in scroll_engine.h.
* remove function prototypes which are not actualy defined.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24693 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 11:59:37 +00:00
Mohamed Tarek
2c25fa88a5 Add the Rockbox GNU header to some files in libatrac.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24692 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 10:35:22 +00:00
Jonathan Gordon
7aa6566c42 fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24691 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 05:31:22 +00:00
Jonathan Gordon
877d378710 Reuse the backdrop buffers if 2 skins use the same backdrop (on the same screen of course)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24690 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 05:24:27 +00:00
Mohamed Tarek
82f05895af Initial support for ATRAC3 streams in wav containers.
Current state :
- Playback and seeking are possible.
- We now support ATRAC3 in any of its possible containers (wav/at3, oma/aa3, and rm/ra).

TODO :
- Fix joint-stereo decoding for ATRAC3 - the decoder currently produces lots of glitches.
- Rename atrac3_oma.c since it works for both oma and wav containers.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24689 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 03:34:39 +00:00
Michael Chicoine
fd5f8f9873 updated German translation
Author: Kaspar Rothenfusser
Flyspray: FS #11018


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24687 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 02:53:20 +00:00
Mohamed Tarek
6e5dcaed29 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24684 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 02:00:28 +00:00
Mohamed Tarek
faec50d67b Fix a comment in OMA metadata parser. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24683 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 01:55:48 +00:00
Mohamed Tarek
2e314093c8 "Detach" ATRAC3 from RM. Since ATRAC3 isn't really specific to RM, it must not be obligatory to initialize the decoder through RMContext.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24682 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 01:47:22 +00:00
Mohamed Tarek
419e8aad78 Bump APIs' versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24681 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 01:39:37 +00:00
Mohamed Tarek
0070a01859 Add two extra fields to struct mp3entry, in preparation for making ATRAC3 more generic. (i.e, to avoid having to pass it RMContext even when the codec has nothing to do with rm.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24680 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 01:24:11 +00:00
Andree Buschmann
800e3d9a97 Major optimization of atrac3 codec for Coldfire targets. Moving several number cruncher arrays to IRAM. Decoder is sped up by +50% on h300, decoder now finally is realtime on Coldfire targets as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24677 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 22:38:01 +00:00
Andree Buschmann
86fc47c33a Minor atrac3 codec optimization. Refacturate requantization of spectral lines, unroll loops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24672 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 20:20:52 +00:00
Tomer Shalev
f38efac9e2 Brickmania: Fix continue message for Cowon D2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24671 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 19:52:29 +00:00
Jack Halpin
3a60a6aa23 Sansa Clip+: Implement button driver.
Initial button driver for clip+.  I've followed the steps the OF uses to read the buttons.
There is no hold button on the clip+ so for now calling button_hold() siply returns false.
The OF actually sets an additional flag for the 2nd read from D6 and not BUTTON_POWER as I have done here. 

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24669 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 19:29:47 +00:00
Andree Buschmann
51a8be1a0f Further optimization of atrac3 codec. Refacturate gainCompensateAndOverlap(), avoid multiplication if not needed, unroll loops. Speeds up codec by 1.1 MHz (+2%) on ARM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24668 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 16:11:49 +00:00
Andree Buschmann
ad1ba429b9 Minor speed up of atrac3 codec. Applying 2 bits fract part to scalefactors instead of brute force adding it to the full spectrum. Move decodeSpectrum() to IRAM. Speeds up codec by 1.2 MHz (+2%) on ARM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24667 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 13:14:43 +00:00
Teruaki Kawashima
9bea349382 onplay.c: optimize a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24666 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 13:04:09 +00:00
Andree Buschmann
57461d7c4f Work on atrac Joint Stereo mode. Correct calculation in getChannelWeights(), introduce lookup table and remove obsolete code. Optimize interpolation macro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24665 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 13:00:02 +00:00
Maurus Cuelenaere
651b55488e make veryclean: remove tools/iaudio_bl_flash.[ch]
These are generated files by the build; at least "make veryclean" should
remove them.

Author: Junio C Hamano
Flyspray: FS#10967

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24664 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 10:24:32 +00:00
Jens Arnold
b8eb272e48 libdemac: Add x86/x86_64 MMX asm for the filters. Not relevant for target but speeds up decoding on x86/x86_64 sims. Average speedup ranges from 25% for -c2000 to 3 times for -c5000; on Intel Atom it's even 45% for -c2000 to 6 times for -c5000.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24663 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 01:27:04 +00:00
Mohamed Tarek
1bef4c6650 revert last commit (r24660). There was a mistake in the location of the
shifts leading to a deteriorated sound quality for some samples.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24662 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 00:04:33 +00:00
Mohamed Tarek
b540be8f4b Fold a 2-bit shift into decodeSpectrum(), saves 1MHz on ARM, +2%
speedup.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24660 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 23:41:32 +00:00
Szymon Dziok
7074a64d8a Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 21:56:53 +00:00
Amaury Pouly
26c0e753d1 Rewrite dircache generation to take advantage for the FAT code. Reduce RAM usage by ~30Kb and binsize by at least several hundreds bytes. Also remove the directory depth limit of dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24657 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 19:09:52 +00:00
Tomer Shalev
e1d8c3ef7c Touchscreen: Update manual according to r24652
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24653 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 17:38:21 +00:00
Tomer Shalev
19a05cb4f9 Touchscreen: Pitch-screen and Quick-screen keymapping changes
- Quick-screen: Allow exit by pressing any corner
- Pitch-screen: Exit by pressing either of the top or bottom left corners
- Pitch-screen: Toggle mode by pressing either of the top or bottom right corners


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24652 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 17:32:47 +00:00
Tomer Shalev
7b5875ef5c Touchscreen: Change WPS key mappings
- Pressing top-right switches back and forth from WPS to last browsed directory
- Pressing top-left switches from WPS to Main Menu, and vice-versa
- Pressing center pauses
- Long pressing center stops


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24651 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 17:12:31 +00:00
Maurus Cuelenaere
5ea32cf05a WPS volume touchregion: fix reverse Y coordinate in portrait mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24649 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 15:31:19 +00:00
Andree Buschmann
f5a0d61a1b Further optimization and minor clean up of atrac codec: Unroll iqmf_dewindowing for non-ARM speeds up decoder by +10% on H300. Removed some non-used arrays. Codec is still not fully realtime on Coldfire targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24648 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 14:38:18 +00:00
Amaury Pouly
bb13650d66 Have tagcache_fill_tags also fill the length entry of the mp3entry structure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24647 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 12:45:59 +00:00
Teruaki Kawashima
f884068c6e onplay: move functions to a bit more logical order; some functions, some menu items which use the functions and then a callback function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24646 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 12:42:32 +00:00
Jonathan Gordon
1281b1c065 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24645 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 06:37:48 +00:00
Jonathan Gordon
1c2aa35371 FS#10984 - multifont! 2 major additions:
1) seperate UI font for the remote and main displays
2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins.

Code should always use FONT_UI+screen_number to get the correct user font


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 06:26:16 +00:00
Teruaki Kawashima
ed21ab1c8c keyboard: check length of the last line. avoid dividing by 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24643 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 05:00:41 +00:00
Mohamed Tarek
59d13ccf68 Set svn:keyword Id property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24642 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 03:20:29 +00:00
Mohamed Tarek
8722c6f2bb Make deceodeSpectrum() store the spectral coefficients of odd bands in reverse order, rather than having to reverse them in IMLT(). Also saves 0.11MHz, ~0.16% speedup on PP5024.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24641 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 01:59:14 +00:00
Alex Parker
ce1d2eda70 Rbutil now supports the Nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24638 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 22:07:40 +00:00
Andree Buschmann
35024bd54e Speed up atrac codec for ARM through simple loop unrolling. Saves 9 MHz on PP5022 (14% speed up).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24637 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 22:01:24 +00:00
Bertrik Sikken
b4fd5d852a Include dualboot.h in dualboot.c as an additional compile time sanity check
Author: Tobias Diedrich
Flyspray: FS #11009


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24636 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 18:53:29 +00:00
Maurus Cuelenaere
9ec0c1669c Touchscreen: fix scrollbar handling when it's on the right
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24635 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 15:53:10 +00:00
Szymon Dziok
841cffab5b Packard Bell Vibe 500: More plugin keymaps (second portion).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24634 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 15:46:34 +00:00
Maurus Cuelenaere
1251fa5766 Lua fscanf: use pointer of file descriptor instead of file descriptor itself to avoid 64-bit pointer<->int clash (aka fix yellow).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24633 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 14:51:38 +00:00
Maurus Cuelenaere
9bf28debd8 Fix FS#11007: Lua didn't parse negative numbers correct when reading from files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24632 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 14:41:00 +00:00
Teruaki Kawashima
4c658f74a7 keyboard: stretch dispalying of virtual keyboard to fit the screen width if possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24631 a1c6a512-1295-4272-9138-f99709370657
2010-02-13 13:10:32 +00:00
Dominik Riebeling
a583f7661f Update Rockbox Utility version to 1.2.5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24626 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 20:56:04 +00:00
Dominik Riebeling
4c9fc9cb7e Fix problems with platform retrieval.
- handle disabled platforms also for for variant and base groups.
- make variant detection more strict to prevent variants that are a substring
  of other variants to match. Happened e.g. for iriverh10 and iriverh100.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24625 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 20:38:17 +00:00
Dominik Riebeling
9a256c96f7 Rockbox Utility polish translation update.
Author: Daniel Kluz
Flyspray: FS#11003 

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24623 a1c6a512-1295-4272-9138-f99709370657
2010-02-12 19:01:16 +00:00