Linus Nielsen Feltzing
ce08cdb294
Patch FS#8857 by Justin Hannigan - Correct Gigabeat instructions for Bubbles
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17015 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 06:33:21 +00:00
Michael Sevakis
5d230524d5
Toss-in a Gigabeat S keymap for pegbox. #error for an unsupported map.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17004 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:25:21 +00:00
Nicolas Pennequin
fdb1028cb1
Really fix the red this time, I hope.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17003 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:04:00 +00:00
Nicolas Pennequin
6bef4f6549
Oops. Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17002 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:47:21 +00:00
Nicolas Pennequin
6aa36c66a3
Commit FS#8308 (Port of imlib2 based smooth scaling) by Jonas Hurrelmann. It could be made smaller by taking out some special cases, but I'm leaving them in for now because size isn't really a concern until we decide to move it into the core (if we ever do). test_resize now allows to choose between both resize methods for comparison. sliding_puzzle is made to use the smooth scaling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17001 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:30:50 +00:00
Jens Arnold
c368bc7505
Test plugin for greyscle library calibration.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16989 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 15:36:53 +00:00
Jens Arnold
df8749d6d7
Adapt the remaining plugins to put the greyscale isr on cop. Now they can be used while playing music without making the audio stutter. Needs the new SHAREDBSS_ATTR.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16987 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 13:59:31 +00:00
Michael Sevakis
05099149f1
Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 04:34:57 +00:00
Jens Arnold
1d8312f996
Fix occasional crashes on greylib exit (LCD controller confusion) when running on COP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16976 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 09:38:59 +00:00
Jens Arnold
8f560bc2b5
Greyscale library: Always use reconstructing inversion, because it's legal to use unbuffered drawing functions in buffered mode, meaning that the chunky buffer might not be in sync with what's displayed. Mpegplayer does this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16975 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 08:56:43 +00:00
Jens Arnold
32bd0f8ab1
Greyscale library: Optionally put the greyscale ISR on COP on portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 22:13:53 +00:00
Jens Arnold
ac9b92716a
Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 19:38:46 +00:00
Jens Arnold
3183b9e534
Greyscale library: Put the backlight status on 1st/2nd Gen into the flags, saving a separate global.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16964 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 19:14:19 +00:00
Robert Kukla
1b335ae961
pegbox stuff
...
- background colour fix for small colour targets
- button define fixes (no scroll wheel on ipod, no impossible combinations etc)
- collapsed two defines into one for easier assignment and documentation
- make levels wrap and make level-1 optional (for targets with few buttons)
- updated manual accordingly
- a couple more screenshots
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16963 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 17:54:29 +00:00
Robert Kukla
fc89f233c7
maybe that wasn't such a good idea
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16960 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 00:48:28 +00:00
Robert Kukla
f6f0c2f293
fixing red:
...
- add button defines for M3 & D2
- make screen dimension checking more strict in places
- correct button names
I'll have to think a bit about the best solution for ONDIO (and probably other) button combinations...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16959 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 00:33:59 +00:00
Robert Kukla
b411ce677d
FS#5725 - New Puzzle Game "PegBox"; with changes by myself:
...
- button definitions for m:robe 100 and sansa c200
- adapted graphics for m:robe 100
- use image size directly from auto-generated headers
- save data files in correct directory
- manual chapter (still missing most screenshots)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16957 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 22:43:39 +00:00
Jens Arnold
aae436d3b1
Make the measured LCD scanrates from the greylib known to the scanrate test plugin (and only that this time).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16940 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:48:42 +00:00
Jens Arnold
02580851ad
Revert... stupid svn doesn't complain when passing -m twice :(
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:45:23 +00:00
Jens Arnold
01a106dbfa
Make the measured LCD scanrates from the greylib known to the scanrate test plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:42:21 +00:00
Jens Arnold
5c87a98b97
Greyscale library: * Implement linearisation curve flipping for 1st/2nd Gen iPods (LCD is inverted when backlight is on, so the curve is also inverted). This needs a slight extension of is_backlight_on() functionality in the core. * Thorough recalibration of all reachable greyscale targets, and #ifdef cleanup. * Reduce on-target gamma a bit, because the displayable contrast range of a monochrome/greyscale isn't that high.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16936 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:16:14 +00:00
Michael Sevakis
d64c82776f
Place a limit on the estimate fudging when searching timestamps in mpegplayer. It doesn't have to be very much.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16907 a1c6a512-1295-4272-9138-f99709370657
2008-04-01 06:09:12 +00:00
Michael Sevakis
951cbdde7e
Oops. test_codec should be updated too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16875 a1c6a512-1295-4272-9138-f99709370657
2008-03-29 06:40:45 +00:00
Steve Bavin
135cc757bd
Revert my earlier const madness, we'll keep the parameter lists simple.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16863 a1c6a512-1295-4272-9138-f99709370657
2008-03-28 12:51:33 +00:00
Steve Bavin
c9df8fd87b
The const police raid playback.c, should be no change to behaviour.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16860 a1c6a512-1295-4272-9138-f99709370657
2008-03-28 11:24:24 +00:00
Jens Arnold
7ff853fc1b
Enable the greyscale library for ZXbot on M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16853 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 23:32:57 +00:00
Michael Sevakis
a92b9e65f7
Fix pointer warnings in test_codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16813 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 06:52:16 +00:00
Jonathan Gordon
5ca1539969
the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 03:35:24 +00:00
Michael Sevakis
af395f4db6
Do core interrupt masking in a less general fashion and save some instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 01:50:41 +00:00
Jens Arnold
40919d7db2
iAudio M3: Optimised LCD driver, with more/better assembly code. Speedup is ~80% when boosted, ~15% when unboosted. Also implemented grey phase blitting. * Adapted the greyscale library, and the plugins using it. * Fixed a bug in greyscale scroll down for vertically packed pixels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16809 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 23:21:36 +00:00
Jens Arnold
1f4bcc86da
Revert accidental tree commit. /me needs a smaller enter key...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:57:23 +00:00
Jens Arnold
9a7978aeab
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:43:08 +00:00
Michael Sevakis
27cf677339
Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 02:34:12 +00:00
Jens Arnold
395b785a79
The iAudio remote LCD internal scan direction is horizontal. Make test_scanrate usable on the M3 by adjusting to that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16778 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 01:03:02 +00:00
Jens Arnold
68a21689ae
Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 00:35:53 +00:00
Jens Arnold
408613ca22
Sliding puzzle: Fix graphics size and help text for M3. * Bubbles: Better (larger) emblems for M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16759 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 09:21:49 +00:00
Jens Arnold
00094511f4
Oooops, fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16758 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:42:32 +00:00
Jens Arnold
8bfefe9ce1
VU_meter: Fix help texts for most targets. * Blackjack: Add help text for M3. * Bubbles: Adjust a text and fix hold behaviour for M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16757 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:26:42 +00:00
Jens Arnold
ac5e4acea6
Enable plugin building for M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16755 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 01:01:21 +00:00
Jens Arnold
e03ef1ec23
LCd extension lib: Implement proper scrolling for 2 bit vertical interleaved LCD. Stops oscilloscope from crashing on M3. * A few small simplifications.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16754 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 00:28:16 +00:00
Rob Purchase
ad6cbbdd3c
Squash that yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16753 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 23:24:20 +00:00
Rob Purchase
554d7ed902
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 22:03:34 +00:00
Jens Arnold
106ac75ad8
Adapted most multi-source plugins to the iAudio M3 keypad and screen. Doom and mpegplayer are disabled because of the not yet implemented greyscale library, and zxbox used 2-bit greyscale for now. * Slight optimisation for the (currently unused except on M3) 2-bit greyscale code in zxbox. * Simplified button definitions in chessbox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16744 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:20:04 +00:00
Jens Arnold
036d8cc7e7
Properly disable unused bitmap in SOURCES.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16738 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:37:04 +00:00
Jens Arnold
29361abf74
Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:24:28 +00:00
Dave Chapman
e92d2c51ed
Add a general-purpose parse_list function to parse a string containing a delimited list of items and adapt the parse_image_load() function in the WPS parser to use it. This function will also be used to parse the upcoming WPS %V viewport tag, but I'm committing it separately as these changes are unrelated to the viewport implementation itself.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16728 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 13:41:35 +00:00
Robert Kukla
6e209443c5
- add button descriptions to the m:robe 100 manual for the majority of plugins
...
- add gigabeat button descriptions which were missing
- fix a few inconsistencies I noticed doing the above (mainly outstanding r13278 follow-ons)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16693 a1c6a512-1295-4272-9138-f99709370657
2008-03-18 09:24:35 +00:00
Robert Kukla
4071826c81
save clock plugin settings in correct directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16688 a1c6a512-1295-4272-9138-f99709370657
2008-03-17 22:27:25 +00:00
Jens Arnold
8a6291dd63
More iAudio M3 work. Target build compiles, but same problem regarding plugins as the simulator. Boots to the menu, but it can't be used yet because only main & remote Play button work. USB works.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16660 a1c6a512-1295-4272-9138-f99709370657
2008-03-14 08:54:54 +00:00
Jonathan Gordon
c194b388fa
pointers suck... spotted in IRC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16625 a1c6a512-1295-4272-9138-f99709370657
2008-03-11 09:16:44 +00:00
Jonathan Gordon
e009c0bbe1
fix FS#7619 - hopefully... - have to stop/start scrolling to change bitrate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16586 a1c6a512-1295-4272-9138-f99709370657
2008-03-09 03:01:29 +00:00
Jonathan Gordon
44047248ce
fix FS#8701 - metronome doesnt change back to ui font after drawing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16585 a1c6a512-1295-4272-9138-f99709370657
2008-03-09 02:36:17 +00:00
Jens Arnold
8c6920e343
Revert accidental tree commit. Sorry for that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:50:55 +00:00
Jens Arnold
d1ed7c37b1
No need to have \n here. panicf() won't output it anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:34:43 +00:00
Michael Sevakis
ae31160c1a
Fix fireworks adding another boost count on exit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16561 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 20:46:53 +00:00
Jens Arnold
7fd70582f0
Fix FS #7955 . Smart move must not be used on the remains stack. * Remove the special case for moving kings as is no longer necessary, and write the smart move in a slightly more elegant way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16555 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 13:51:03 +00:00
Robert Kukla
aafa321d31
m:robe 100: chessbox - make black pieces black and white pieces red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16545 a1c6a512-1295-4272-9138-f99709370657
2008-03-07 19:58:17 +00:00
Jens Arnold
6058e0cdb7
Minor cleanups mostly for consistency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16539 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 18:25:29 +00:00
Jens Arnold
37d43f49f4
Greyscale library: Assembler optimised update function for SH1 (Archos recorders, Ondios), giving ~50% speedup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16532 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 22:14:13 +00:00
Robert Kukla
5c5fef0068
m:robe 100: use correct bmp file for chessbox (needs make clean)
...
also use logical and operator in conditions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16494 a1c6a512-1295-4272-9138-f99709370657
2008-03-03 09:28:22 +00:00
Jens Arnold
8493f5bcf6
Greyscale library: Preparations for a gamma measurement plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 23:31:09 +00:00
Jens Arnold
e57806acaa
Fix svn properties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16483 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 17:07:02 +00:00
Jens Arnold
52e1f81599
Greyscale library: Assembler optimised update for coldfire, ~73% speedup when using IRAM, ~35% speedup without IRAM. Slight optimisation for other targets as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16482 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 17:05:00 +00:00
Jens Arnold
1509faf618
Use IRAM where appropriate when testing framerate, for more realistic results for the greyscale library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16481 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 16:57:14 +00:00
Robert Kukla
6b3a493dcd
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16476 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 10:37:02 +00:00
Robert Kukla
d3f9dae488
mrobe 100: fix graphics for flipit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16475 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 10:20:54 +00:00
Robert Kukla
5f1e1a5e5e
compile invadrox only for suitable targets (fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16470 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 23:18:32 +00:00
Robert Kukla
d6c8b57b50
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 22:55:09 +00:00
Jens Arnold
3a74611a90
FS #8635 by Andree Buschmann: Fix overflow in test_disk speed calculation. No precision is lost because filesize is always a multiple of (1<<8).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16428 a1c6a512-1295-4272-9138-f99709370657
2008-02-26 18:31:59 +00:00
Marianne Arnold
55259f526b
The fire plugin got slightly too big for the Archos plugin buffer with one of the recent changes again, so save some bytes by reducing FIRE_WIDTH slightly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16408 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 14:43:42 +00:00
Mark Arigo
d829075a00
Driver for the Synaptics touchpad on the m:robe 100 based on the 3-wire interface spec. Needs some tweaking as it's too sensitive with the default hardware settings. For now, the vertical strip is divided into up/select/down buttons. Also, redo the keymap (using the Gigabeat as a starting point), but it still needs a good bit of work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16400 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 04:12:16 +00:00
Will Robertson
8215b34fdb
Plugins now enabled and working for the Gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:23:02 +00:00
Miika Pekkarinen
37dc15b672
Added the checksum for H100/H110/H115 bootloader also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16254 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 15:32:55 +00:00
Miika Pekkarinen
698113d9db
Prepare for a new bootloader 7-pre4 release for iriver H100 series. Synced to work properly with SVN, and hopefully fixed remote detection problem and audio thump for some users. Also pure H100/H115 should be supported now. Actual bootloaders will be released separately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16252 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 15:06:09 +00:00
Jens Arnold
6f65afd0b7
sliding_puzzle improvements: * Use the UI font for numerals and 'moves' display when possible. * Center the numerals and the 'moves' display. * Use a simple line separator. * Use black text on white background for greyscale targets. * Simplify the code a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16207 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 14:34:37 +00:00
Marianne Arnold
dce2ef805c
Small improvements to sliding puzzle. (1) Don't draw the 'Moves' box at fixed size, and display 'Moves:' and number of moves on one line for square and portrait screens. (2) Use 4x4 spots on Archos too, to make the spots look square on the Archos display - change the default 80x64 image accordingly. (3) Replace the 110x110 images with 108x108 so that the width is evenly divisible by 4 (number of spots) as mentioned in the comment. (4) Make the greyscale images look a little less broken, could be even better though. -- The code could be made simpler and more flexible but one step at a time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16200 a1c6a512-1295-4272-9138-f99709370657
2008-02-02 12:10:42 +00:00
Michael Sevakis
f90cbcb652
mpegplayer: Use the core DSP to process audio. Removes the sample rate restriction on audio and any mpeg audio samplerate may be used. Use the global sound settings for audio output with the option to force any one of the processing stages off. All are forced off by default. I didn't personally care to fully duplicate the Sound Settings menu which would have been needed since using the core one would affect settings globally and exactly the same configuration probably isn't desired since the CPU load for video playback is much greater. Rebalance the threading to compensate with some expense to buffering speed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16194 a1c6a512-1295-4272-9138-f99709370657
2008-02-01 02:25:15 +00:00
Jonas Häggqvist
d5f372aa5c
Use the .h bitmap headers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16192 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 21:05:32 +00:00
Jonas Häggqvist
2dd3ea0b5d
Use the right type for the remote logo. Thanks to amiconn for spotting and explaining on IRC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16191 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 20:42:28 +00:00
Jonas Häggqvist
0750d3c75b
Balance my ifs and endifs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16190 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 19:48:36 +00:00
Jonas Häggqvist
4cd37d5ba4
Use nicer logos in the logo plugin, plus use the bitmap build system magic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16189 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 19:28:51 +00:00
Marianne Arnold
cdc933f40f
Sliding_puzzle: rearrange the default bitmap definitions and add two more sizes of the bitmap (fixes issues on Nano and small H10). The 'Moves' box is still not fully visible on the latter, I plan to work on it but thought the fix was worth an own commit already. Also let the plugin retrieve the image width and height from the bitmap.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16188 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 18:08:22 +00:00
Jonas Häggqvist
644ed7c278
Set proper svn:keywords
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16187 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 17:34:48 +00:00
Michael Sevakis
3f4fd4d6a0
Now that headphone plug pause/resume should be better behaved, support it in mpegplayer too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16179 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 21:45:15 +00:00
Marcoen Hirschberg
762ec6ec33
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16176 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 00:46:31 +00:00
Marcoen Hirschberg
11298701dd
add support for the gigabeat remote control in mpegplayer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16175 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 00:18:29 +00:00
Michael Sevakis
9ef02a5fec
mpegplayer: End of data would not be detected correctly if mpeg parser was in a sync state.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16174 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 00:06:36 +00:00
Michael Sevakis
e4bb2bbb05
mpegplayer: make sure 'floating' videos are even-aligned on color displays or else clipping the image could have dead lines while the WVS is shown. Throw in a couple misc cleanups to vo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16172 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 15:15:50 +00:00
Michael Sevakis
f8709ac7e2
H10 20GB: Assembly YUV blitting and dithering.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16171 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 14:24:09 +00:00
Nicolas Pennequin
9542471f7d
* Add mktccboot to svn:ignore for tools/
...
* Rename the resize_test plugin to test_resize for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16170 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 01:34:23 +00:00
Nicolas Pennequin
988d4e8e3b
Fix the errors and warnings from the previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16169 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 00:37:24 +00:00
Nicolas Pennequin
02f1839bfe
Accept FS#7218 by Dave Hooper: Bitmap version of the sliding puzzle game.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16168 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 00:16:06 +00:00
Nils Wallménius
5677b4cfd7
Oops, forgot to change some #ifdefs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16156 a1c6a512-1295-4272-9138-f99709370657
2008-01-24 17:49:06 +00:00
Nils Wallménius
60baa54eed
Make jpegviewer remember the slideshow timeout, fixes FS#8461, slight simplification of the menu code by making the slideshow timeout a regular int setting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16155 a1c6a512-1295-4272-9138-f99709370657
2008-01-24 17:32:28 +00:00
Kevin Ferrare
ebe5acfb9d
Fixed the problems on the new version of the fire plugin (so repush it), added new actions to the pluginlib_actions to fix the keymaps on the Sansa e200 for the clock and fire plugins. Also slightly simplified the metronome plugin's key mapping with those new actions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16148 a1c6a512-1295-4272-9138-f99709370657
2008-01-23 08:25:04 +00:00
Rob Purchase
fa85aa8d97
D2 simulator build (plugins not built yet)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16146 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 22:48:36 +00:00
Marianne Arnold
dae719dff7
Revert today's fire commits because it crashed all the targets I could test with (OndioFM, M5, C250). The plugin action conversion also caused problems (e.g. in a c200 sim which was working) I couldn't control flame type and movement and couldn't exit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16142 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 12:44:24 +00:00
Michael Sevakis
8b4ecfaa4d
Oops. Only build mpegplayer bitmaps for SWCODEC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16141 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 12:11:10 +00:00
Kevin Ferrare
73afc47c05
A commit without a single warning is not really fun
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16139 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 08:18:38 +00:00
Kevin Ferrare
eb93be2dd9
Fire plugin : initializes palettes with a function instead of storing them in static arrays, changed the color LCD's palette to make it look nicer, switched the button API to the action API, reorganized code a little bit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16138 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 08:02:31 +00:00
Robert Kukla
7da7e7bdd2
add timer registration for mrobe100 lcd to greyscale lib (fix yellow)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16137 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 04:16:28 +00:00
Dave Chapman
d7d073ac1b
Reverse the behaviour of the scrollwheel (i.e. fwd/clockwise is down, back/anti-clockwise is up) in the text viewer for the Sansa. This was accidentally changed in r16045
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16096 a1c6a512-1295-4272-9138-f99709370657
2008-01-17 11:29:14 +00:00
Michael Sevakis
93ddef33b6
mpegplayer: fix a small mistake in validating the start time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16095 a1c6a512-1295-4272-9138-f99709370657
2008-01-16 02:43:42 +00:00
Michael Sevakis
0ae0e1d271
libmpeg2: Change a couple style points for consistency and some spacing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16094 a1c6a512-1295-4272-9138-f99709370657
2008-01-16 01:43:31 +00:00
Michael Sevakis
0c7f2372d5
libmpeg2: Decode only Y on grayscale targets. The chroma skip code is probably less than optimal since it's basically the decoding code with minimum reading of the bitstream but it does the trick for now and gets some more FPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16093 a1c6a512-1295-4272-9138-f99709370657
2008-01-16 01:22:56 +00:00
Rob Purchase
47ea030e2e
Initial Cowon D2 commit:
...
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 22:04:48 +00:00
Steve Bavin
feefc90a2a
Change wording of date options to clarify; previously English format was not the format used in England.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16088 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 13:21:05 +00:00
Jens Arnold
fa7eb56c84
Greyscale library: * Defer application of lcd linearisation + gamma in buffered mode to the actual update. This simplifies the update function (grey_update() and grey_update_rect() now are just calls to grey_ub_gray_bitmap_part()), and makes DRMODE_COMPLEMENT work properly. * Make the simulator version work and behave more similar to the target version.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16080 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 18:39:09 +00:00
Marianne Arnold
071c2ac339
Reenable metronome on Archos targets which got lost during the big change to it in last summer and fix a warning (wrong data type). The plugin button action system causes problems with the Ondio controls (tapping and playing conflict, even though there are exceptions defined) and it's only halfway usable, probably this applies to the Player as well but couldn't test. It is still better than nothing and e.g. metronome is not completely controllable on c200 too where it is also enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16079 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 18:27:54 +00:00
Marianne Arnold
9956c25540
Midiplay: more consistent button mapping on c200 - use the volume buttons to adjust volume (BTN_UP/DOWN), making it possible to use the 'Play' button for play/pause.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16077 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 14:52:31 +00:00
Jens Arnold
66ad9b1c08
Greyscale test plugin: Add missing button definitions for M5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16073 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 12:30:11 +00:00
Jens Arnold
f4f90c2283
Oops, looks like I overlooked a leftover from the old graylib...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16068 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 00:38:03 +00:00
Jens Arnold
c6b5d5531b
The old grayscale library is now officially dead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16067 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 00:21:45 +00:00
Jens Arnold
a72499a125
Greyscale library: Plugins can now put the management structure in IRAM for higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 00:11:43 +00:00
Michael Sevakis
29775f7bab
mpegplayer: A) Replace 'Start Menu' option with 'Resume Settings' 1) Start menu - Always show the start menu 2) Start menu if not completed - show the start menu if playback was interrupted before finishing (equivalent to the previous 'Resume No/Yes' screen) 3) Resume automatically - Always resume immediately with no prompting 4) Play from beginning - Always play file from the beginning. B) Do everything possible at this time to ensure USB connection and power down preserve the resume time. C) Add Settings menu to start menu D) Small OSD erasure drawing tweak.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16061 a1c6a512-1295-4272-9138-f99709370657
2008-01-12 05:45:38 +00:00
Robert Kukla
fc13290a82
I didn't mean to commit the autostart.c entry.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16057 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 22:03:49 +00:00
Robert Kukla
7d961d390a
m:robe 100:
...
- adjust lcd_grey_phase_blit() parameter to recent change
- detection of external power
- compilation of plugins - need to be enabled individually in SOURCES/SUBDIRS
(use autostart.rock as test plugin with limited interaction via BUTTON_POWER)
also
- move autostart.rock to apps dir where it is expected
- set missing svn:keywords for various files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16056 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 21:48:01 +00:00
Jens Arnold
753b65737f
Greyscale mpegplayer: * Use uncached greyscale buffers on dual core targets, removing the need for special cache handling. * Make the OSD properly disappear when viewing a widescreen or small video.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16052 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 00:46:09 +00:00
Jens Arnold
59f0e7023c
Fix warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16051 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 23:01:11 +00:00
Jens Arnold
df5c3e15e8
Greyscale library: * Introduced some extra macros dealing with block size, allowing to write some parts with less #ifdefing. * Optimised grey_update_rect() for horizontally packed LCDs, and unbuffered scrolling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16050 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 22:51:33 +00:00
Michael Sevakis
ea5d196c7b
Fully clone the gray_show(false) procedure without the forced lcd update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16048 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 19:38:38 +00:00
Jonathan Gordon
94e5e1a1a9
woops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16046 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:21:57 +00:00
Jonathan Gordon
81ba146706
Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:08:31 +00:00
Jens Arnold
6a56c14e17
Greyscale library: Changed the internal data format once more (separated pixel values and phases), allowing for further optimisation of drawing, scrolling etc. * Optimised grey phase blitting in the core reduces CPU load on all architectures, most significantly on coldfire. Previous version was too slow to keep up at 45MHz, leading to unwanted graininess (update frequency was halved). Also fixed screendump on 2bpp targets with vertical pixel packing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16043 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 23:48:26 +00:00
Michael Sevakis
75380fd27d
mpegplayer on grayscale targets: use greylib to display all text and graphics with the video images.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16042 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 22:19:25 +00:00
Marianne Arnold
0d8fd456cd
E200: Restore the scroll wheel support in brickmania that got lost in the previous changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16040 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 21:06:42 +00:00
Linus Nielsen Feltzing
741f5b24b3
Prevent idle poweroff in the MPEG player plugin. Also save the settings when receiving SYS_POWEROFF and SYS_USB_CONNECTED. Fixes FS#8439 and FS#8388.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16033 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 14:26:19 +00:00
Linus Nielsen Feltzing
d86a9cac5c
Reduce stack usage in the vbrfix plugin. Fixes FS#8402.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16031 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 12:39:06 +00:00
Dave Chapman
3646c31367
Add the viewport functions to the screens API, including a new getfont() function to return the font used by the current viewport. A change to the screens API makes the plugin API incompatible, so we bump version and sort. Also commit the test_viewports plugin (not built by default). This is some more of FS#8385.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16022 a1c6a512-1295-4272-9138-f99709370657
2008-01-08 01:22:14 +00:00
Jens Arnold
54aeadaa6b
FPS Test plugin: add greyscale library performance measurement.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16020 a1c6a512-1295-4272-9138-f99709370657
2008-01-08 00:06:54 +00:00
Michael Sevakis
2a8f39820b
mpegplayer: Fix a bitflag value. Add some commenting to the WVS code to help readability.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16017 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 17:27:08 +00:00
Michael Sevakis
0e98d7e315
mpegplayer: Misc seeking tweaks 1) Consolidate some code amongst functions. 2) Be sure times retured from stream_get_seek_time are never before the start of the movie 3) Stop PCM when clearing it so the current audio being sent to the audio device is also cleared.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16014 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 14:58:23 +00:00
Jens Arnold
a8b80b63db
Gah, e200 sets CONFIG_LCD to LCD_X5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16011 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 00:01:32 +00:00
Jens Arnold
c46ee42bb1
Forgot to commit the adaption of 'fire' to the new greylib.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16010 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 00:01:26 +00:00
Jens Arnold
dbe24fcbac
Doom LCD update: * Speed up the C versions slightly (colour and greyscale). * Fix the ASM version for H300 (caused line flicker, probably since buffered LCD writes were enabled). Slightly slower, but still ~8% faster than plain C. Removed the C version of this ASM because of the same problem (was only there for reference). * Added ASM optimised version for X5 (~8.5% faster).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16009 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 23:48:30 +00:00
Jens Arnold
2aa0c4c66b
Doom: Keep the light on during gameplay.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16004 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 14:05:55 +00:00
Jens Arnold
4ddfdc807c
Fix chessbox and rockboy for archos (overlays were broken by yesterday's plugin binsize reduction commit).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16000 a1c6a512-1295-4272-9138-f99709370657
2008-01-05 12:45:12 +00:00
Jens Arnold
feb5b15e9b
All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 23:42:38 +00:00
Jens Arnold
d3586837fa
Stop wasting binary size + ram for several plugins. Plugins are supposed to be linked with --gc-sections, in case they use plugin library elements.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15997 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 21:07:05 +00:00
Michael Sevakis
c898630279
mpegplayer seek tweak: Have video keep the time and duration of the last decoded frame up to date at all times. Make sure streams that have reported and EOS condition are placed back on active list when seeking which it seems is the cause of a video glitch where the initial frame may be presented after a seek but video playback wouldn't restart. Set logical seek time to video start in the parser after after initial load.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15995 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 20:36:15 +00:00
Michael Sevakis
dff0deb48c
Ok...really fix the red. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15993 a1c6a512-1295-4272-9138-f99709370657
2008-01-03 17:51:25 +00:00
Michael Sevakis
d9a895599e
Fix some warnings/errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15992 a1c6a512-1295-4272-9138-f99709370657
2008-01-03 17:30:50 +00:00
Michael Sevakis
a5fc3f4df4
Initial WVS for mpegplayer. Adjusts to the user's preferred font and uses FF/RW preferences set for playback. Picked a random color for the base WVS color but it could be configured. Some engine tweaks to accomodate it since certain nescessities are clearer now. Fix a clipped YUV output bug in the SIM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15991 a1c6a512-1295-4272-9138-f99709370657
2008-01-03 17:14:28 +00:00
Stepan Moskovchenko
21abf6579f
Oops, fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15988 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 07:44:03 +00:00
Stepan Moskovchenko
111049105b
MIDI player: print out track names, copyright info, song names, etc during load time. This includes
...
lyrics... maybe we should print those while the song is playing?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15987 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 07:09:17 +00:00
Stepan Moskovchenko
0f8c77b306
MIDI player: fix a very unlikely (but possible) file descriptor leak.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15986 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 06:40:15 +00:00
Stepan Moskovchenko
59acdc336b
MIDI player: Allow pause and seeking during pause. Print out the play/pause/seek position in seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15985 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 06:35:59 +00:00
Marianne Arnold
2e5f8f5c06
Brickmania for Sansa c200 and the small H10 with new graphics. While at it reduce the number of necessary per screen definition by letting the plugin retrieve the bitmap heights and widths from the file, therefore 'clean up' some graphics e.g. the menu items one, also make some backgrounds a bit nicer. Rearrange bitmaps/native/SOURCES and rename some graphics to reduce the number of duplicated bitmaps which only had a different name e.g. the ball - and tweak the gameover bitmap (on colour displays it uses transparency, and adapt the already existing mono bitmap to be usable). There might be minor differences in the 'looks' for existing ports but almost not noticeable with the exception that the gameover graphic is now centered. Introduce an alternative left and right key for c200 (volume up/down) for easier control. Manual update will follow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15981 a1c6a512-1295-4272-9138-f99709370657
2007-12-30 14:56:51 +00:00
Michael Sevakis
282c9d6e1b
mpegplayer: Whoa. Left out a buffer wrap calculation when reading elementary streams.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15980 a1c6a512-1295-4272-9138-f99709370657
2007-12-30 00:19:43 +00:00
Michael Sevakis
3b1f61a1ff
mpegplayer loose ends: Move gray_release to the exit routine where it should be. All gray handling is on CPU except frame rendering.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15979 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 22:12:10 +00:00
Michael Sevakis
b08409ee40
Fix some DEBUGF warnings for sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15978 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 20:06:42 +00:00
Michael Sevakis
a222f27c4a
mpegplayer: Make playback engine fully seekable and frame-accurate and split into logical parts. Be sure to have all current features work. Actual UI for seeking will be added soon. Recommended GOP size is about 15-30 frames depending on target or seeking can be slow with really long GOPs (nature of MPEG video). More refined encoding recommendations for a particular player should be posted soon.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15977 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 19:46:35 +00:00
Nicolas Pennequin
0918990a93
PictureFlow improvements:
...
* Track listing when selecting an album. Press select to go back to album view. Playing tracks from the list isn't implemented yet
* Added a "zoom" setting
Code changes:
* Switched to a state machine approach
* Some inlining and const changes
* Various optimizations and cosmetic tweaks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15941 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 02:18:54 +00:00
Nicolas Pennequin
a2aec46f04
Fix the crashes observed on the H10 5GB during the caching process. It was a classic case of out of bounds access after resizing, more visible on the H10 because it has a small screen size and we use the screen size as buffer size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15939 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 01:22:35 +00:00
Magnus Holmgren
c21f59090e
FS#7954: Free resources when speed testing a folder. Also simplify the error handling code a little.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15934 a1c6a512-1295-4272-9138-f99709370657
2007-12-15 13:54:58 +00:00
Nicolas Pennequin
a7d08774dc
PictureFlow fixes and improvements:
...
* Reduced popping effect (FS#8303)
* Scale the empty slide to average album width
* Introduced some visual settings
* Fix FS#8298 but make the criteria a screen height of less than 100 px so that only the c200 gets 50x50 slides
The scaling code is added as a lib function with a basic test plugin that's not compiled by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15913 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 18:54:50 +00:00
Jonas Häggqvist
7ab63e3f1b
Fixed a few typos spotted on IRC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15910 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 09:50:36 +00:00
Nicolas Pennequin
c16470bf04
A couple fixes:
...
* The menu was being drawn with the wrong colour if entered while the album name was being faded
* Display an error message if no albums have been found (which indicates that the database isn't initialised)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15909 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 00:32:08 +00:00
Nicolas Pennequin
16be6567b6
PictureFlow improvements by Jonas Hurrelmann:
...
* Scrolling and fading album titles
* Better support for small displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15908 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 21:07:06 +00:00
Nicolas Pennequin
f0ecbf4506
Fix a file descriptor leak
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15906 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 15:58:02 +00:00
Nicolas Pennequin
34c2c1b7f6
PictureFlow improvements:
...
* Fix a keymap problem on the c200, hopefully won't affect other targets
* Remove the 100x100 limitation (limit is now the screen size)
* Add an option in the settings menu to clear the cache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15905 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 14:43:58 +00:00
Nicolas Pennequin
90ce826903
Initial commit of the PictureFlow plugin, a nice visualization for album covers.
...
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me.
On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657
2007-12-09 18:48:02 +00:00
Dave Chapman
06c405620c
Remove X11/win32 simulator rules
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15893 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 22:34:37 +00:00
Michael Sevakis
2b5f979d75
Reformat and code police (tabs, trailing whitespace, annoying overuse of parentheses, etc.) in libmpeg2 so I can stomach working on it. Don't call IDCT functions through pointers - I don't feel like extracting that change just for relevance sake.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15892 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 13:00:31 +00:00
Jens Arnold
bf2a33485f
Fix some plugins not using the helper functions for the new backlight timeout handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 23:55:58 +00:00
Jonas Häggqvist
00d0a3a661
Only compile Matrix on non-mono targets, rather than all bitmap targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15831 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:43:28 +00:00
Jonas Häggqvist
a8f900384b
On second thoughts, let's compile Matrix for all non-mono bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15829 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:28:00 +00:00
Jonas Häggqvist
7034237dbb
Only compile Matrix for colour targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15825 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:59:31 +00:00
Jonas Häggqvist
450ed5273a
Matrix demo plugin for colour targets. Ported from Ipodlinux who ported it from cmatrix for Linux. Closes FS#7920.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15824 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:52 +00:00
Marianne Arnold
5979d78988
Fix backlight timeout in 'keep backlight running' plugins (related to yesterday's settings rework by Jens, fix also by him).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15809 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 09:59:45 +00:00
Marcoen Hirschberg
b3f155d6a1
don't show the scrollbar after turning it off in the menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15775 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 15:42:08 +00:00
Marcoen Hirschberg
73d514f1c1
remove debug leftover
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15771 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:47:26 +00:00
Marcoen Hirschberg
f8232e738f
use the plugin buffer instead of the static one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15770 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:11 +00:00
Marcoen Hirschberg
3f6461acfc
rearrange the initialization a bit. also fixes the disappearing scrollbar.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15769 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:09 +00:00
Dave Chapman
14ac7cafc8
0 is also a valid file descriptor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15749 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 00:32:50 +00:00
Björn Stenberg
e2e287d80e
Removed annoying splash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15746 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 23:36:30 +00:00
Robert Kukla
d87b037efe
consolidate the 3 file_exists() functions into one; use the version that explicitly uses dircache; give dir_exists() the same treatment for consistency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 21:28:27 +00:00
Paul Louden
a14aface6b
Okay. Really fix the red. It's a little ugly at this point, and clearly
...
I shouldn't be coding in whatever my mental state is. But the intent was
not to remove the use of Select for pausing in Mpegplayer, for those who
like it. The ugliness can be removed if we want to go back to a single
pause button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15736 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 06:09:17 +00:00
Paul Louden
0ffe935d32
Fix my rampant making of mistakes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15735 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 06:04:44 +00:00
Paul Louden
ad97b0437f
Allow use of either A or Select to pause in mpegplayer. This means you
...
can pause it the same way you pause music, but I've not removed the old
button since mpegplayer currently has plenty of buttons, and not many
functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15734 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 05:49:00 +00:00
Paul Louden
31bf5cc8e5
Oops. Was thinking _TREE_ not _STD_, so no changes to the text editor
...
after all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15708 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 02:11:13 +00:00
Paul Louden
92b6ee91fa
Fix keymapping inconsistencies generated by my previous keymap change,
...
this touches the FM Radio, Recording, and Text Editors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15706 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 01:59:06 +00:00
Marcoen Hirschberg
852cf58f36
access memcpy through the plugin api..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15702 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 21:14:42 +00:00
Marcoen Hirschberg
2b30bf9eac
check separately if the preferences and the bookmark need to be saved
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15701 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 20:51:42 +00:00
Marcoen Hirschberg
77af93b2cd
write a correct bookmark file when the viewer loads so we can safely skip the write on exit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15700 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 20:51:38 +00:00
Marcoen Hirschberg
cb62c97054
prevent useless file reads
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15695 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:46:39 +00:00
Marcoen Hirschberg
4c62c00f99
don't save the viewer position if it hasn't changed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15689 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:02:45 +00:00
Stepan Moskovchenko
7f1fbe4af2
MIDI: Increase percision of synthesizer by a factor of 4 - makes certain parts (guitar bends, mostly)
...
sound more natural. Also, completely rearrange the order of operations in the delta computation. Had to
use long longs. Probably not a good idea for speed, but the order can be optimized more later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15652 a1c6a512-1295-4272-9138-f99709370657
2007-11-17 06:39:02 +00:00
Adam Gashlin
8e5a39c58b
High score list needed to be redrawn on return from hold, put it in a seperate function to avoid duplicating code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15634 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 09:29:34 +00:00
Nils Wallménius
65331f1749
Revert some changes that broke looping in midiplayer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15631 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 21:20:29 +00:00
Dave Chapman
a0f3443eab
Remove some stray ^Ms
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15605 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 22:10:36 +00:00
Dave Chapman
d911481687
Remove unused x11 and win32 simulator rules
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15602 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 20:45:22 +00:00
Nils Wallménius
0fd4c2e455
Rearrange logic in the synthVoice loop to do less tests and remove need of a struct member for a small speedup, move some memory lookups out of the loop for a small speedup, further cosmetic changes to the synthVoice function. Change isUsed to a bool for clearer logic and also a tiny speedup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15563 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 01:02:45 +00:00
Karl Kurbjun
d3c0a7f169
Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:12:54 +00:00
Karl Kurbjun
5db6b51759
Get the user timer working properly consequentially fixing doom without a hack.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15510 a1c6a512-1295-4272-9138-f99709370657
2007-11-07 05:30:31 +00:00
Stepan Moskovchenko
bdfe87c0f1
MIDI: Make seeking neater by moving it into another file. Will be more useful later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15467 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 05:35:10 +00:00
Stepan Moskovchenko
3be1ca0281
MIDI: Improve seeking (especially near the end of the file) by disabling playback during the seek. Next
...
step is to prevent delta value calculation during seeking, and just recompute the current deltas once
seeking is over.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15426 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 06:31:33 +00:00
Stéphane Doyon
775279b63e
Fix warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15421 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:59:24 +00:00
Stepan Moskovchenko
cd963d84ca
MIDI: Allow seeking forward and backward using the left/right keys. Currently seeks in 5 second
...
increments, but this can be set to any amount. Also implemented a counter for playing time, which can
pretty easily be used to determine the length of the file, in seconds, before playing it. The time
isn't displayed anywhere right now, but all this can be useful if this thing is turned into a codec, or
at least gets a nice UI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15418 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 04:09:38 +00:00
Jonathan Gordon
d2066fe68b
set the iriver h100 and h300 keys correctly (fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15406 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 07:09:46 +00:00