Michael Sevakis
da76a34694
Use bus reset detection for all ARC OTG devices. Remove conflict from LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
2009-01-22 22:05:04 +00:00
Bertrik Sikken
ae351903a6
Commit stable parts of FS#9611 - Sansa Clip radio code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19813 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 20:51:43 +00:00
Michael Giacomelli
e1b01d4608
Remove floor0 stuff from IRAM. Results in a tiny speed decrease for files encoded with 6+ year old versions of the Xiph encoder, but saves IRAM which can be better used elsewhere. Thanks Nils Wallmenius in FS#7832 for the idea.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19811 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 18:22:46 +00:00
Andrew Mahone
5d3fd5d5ce
replace DIV255 with an inline function, the macro version caused unneeded recalculations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19809 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 05:10:16 +00:00
Andrew Mahone
9f08068ecf
fix test for SH in resize.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19804 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 18:23:50 +00:00
Andrew Mahone
8e9e6635a1
fix red on grayscale in pictureflow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19803 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 17:56:59 +00:00
Andrew Mahone
1b13299769
scaler optimizations:
...
on sh, use 8.24 fixed-point C math for final division in scaler
on coldfire, use 8.32 fixed-point via emac
on other architectures, use 8.32 fixed-point C math
use shift-and-add to divide when adjusting scale factors in pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19802 a1c6a512-1295-4272-9138-f99709370657
2009-01-20 17:24:49 +00:00
Andrew Mahone
cef6399c4c
port test_boost.c to global plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19796 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 01:19:02 +00:00
Jens Arnold
da367f4bd4
Fix TYPE_BOOL settings format string. Boolean settings should really use 'on'/'off', but this is currently impossible due to the fixed field width requirement introduced in r15052.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19790 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 17:06:29 +00:00
Andrew Mahone
5ad02f701b
use multiply-shift to scale reciprocals for rgb16 output, instead of
...
multiply-divide
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19788 a1c6a512-1295-4272-9138-f99709370657
2009-01-18 02:45:22 +00:00
Andrew Mahone
0229ec679b
fixed euroconverter, missed in the configfile change
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19787 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 23:08:35 +00:00
Andrew Mahone
0b41f0599f
unify pointers to value for configfile, and add TYPE_BOOL type, used by
...
pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 22:53:12 +00:00
Andrew Mahone
2fecb713ea
fix pictureflow, previous fix caused cache to never be marked as good
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19785 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 20:53:35 +00:00
Andrew Mahone
44ab8a63ea
fix yellow, but in the long run, configfile needs a TYPE_BOOL as a clean fix to this
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19783 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 10:58:21 +00:00
Andrew Mahone
6b32a2d9cd
return to transposed images in cache, via new output plugins, to save
...
multiplies in render_slide
fix empty slide regen on cache version change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19782 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 09:42:26 +00:00
Andrew Mahone
4541ae9b5c
remove unused fh from create_albumart_cache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19781 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 07:25:49 +00:00
Andrew Mahone
313eaf8e37
pictureflow configfile conversion:
...
settings use configfile from pluginlib
cache version is stored in config file, so that changes to the cache
file format can trigger rebuild automatically
cache version is set to 0 to flag cache as needing rebuild
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19780 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 07:13:11 +00:00
Andrew Mahone
56376e6a42
pictureflow cleanup:
...
remove some old, unused #defines
split DISPLAY_SIZE into DISPLAY_WIDTH and DISPLAY_HEIGHT
scale DISPLAY_WIDTH to compensate for pixel aspect ratio
use new DISPLAY_HEIGHT where appropriate, instead of calculating based
on LCD size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19779 a1c6a512-1295-4272-9138-f99709370657
2009-01-17 07:12:59 +00:00
Dominik Wenger
15013562dc
revert/fix parts of r19673, as it changed some e200 keymaps and introduces not-needed FIXME comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 15:35:05 +00:00
Andrew Mahone
e6bf9f9ff8
fix pluginlib_resize.c for global plugin API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19777 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:49:11 +00:00
Andrew Mahone
23d9812273
loader-initialized global plugin API:
...
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api
the loader uses this pointer to initialize rb before calling entry_point
entry_point is no longer passed a pointer to the plugin API
all plugins, and pluginlib functions, are modified to refer to the
global rb
pluginlib functions which only served to copy the API pointer are
removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Andrew Mahone
35677cbc54
fix bug causing pictureflow to write one column past left side of screen, resulting in a stripe of rightmost slide appearing on the left side of the screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19775 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 08:18:14 +00:00
Jonathan Gordon
4544531585
redraw the lists once before going into the button loop to make things look more responsive
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19773 a1c6a512-1295-4272-9138-f99709370657
2009-01-15 06:24:58 +00:00
Andrew Mahone
6e54d94908
reduce pictureflow's fade_color by one multiply, and a few shifts, while still maintaining reasonable quality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19770 a1c6a512-1295-4272-9138-f99709370657
2009-01-14 08:15:35 +00:00
Björn Stenberg
3bfb9d44ae
A simple boost test plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19767 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 22:52:18 +00:00
Andrew Mahone
de4f8c9f64
use plugin buffer for greylib overlay in test_greylib_bitmap_scale
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19765 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 17:10:07 +00:00
Michael Sevakis
6da8b4eb49
USB retweaking: Take out the USB_REQUEST/RELEASE_DISK scheme and simply ask the USB core whether or not any drivers require exclusive access at the moment of connect. Doing anthing else just produces nasty effects on Windows because it expects some communication just for enabling the PHY and not allowing it to mount volumes if a thread doesn't ack causes annoying error message boxes. Make behavior of each USB type identical from the system perspective. Some miscellaneous changes (simplify, ata->storage naming, define only used USB_* enums values were possible).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19762 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 16:27:35 +00:00
Björn Stenberg
30414d56c9
Reverting parts of r19760 that was mistakenly committed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19761 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 14:56:20 +00:00
Björn Stenberg
7bc29086ec
Minor Clip button changes: UP|REPEAT no longer goes to wps. Volume adjustment activated in list + tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19760 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 14:51:44 +00:00
Andrew Mahone
738a5643ad
support pixel aspect ratio compensation in recalc_dimension, with PAR defined as 1:1 by default, and set to 4:5 for archos bitmap targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19759 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 14:41:29 +00:00
Andrew Mahone
2fbf09752d
remove align_buffer from firmare/general.c, replacing with ALIGN_BUFFER macro, and replace all uses of it (only resize.c in core, and pictureflow and mpegplayer plugins), remove it from plugin_api,
...
and remove wrapper for it from plugin.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19758 a1c6a512-1295-4272-9138-f99709370657
2009-01-13 13:48:26 +00:00
Björn Stenberg
52320b83c0
Added missing dependencies for codeclib and pluginlib. This required renaming some files that have twins in other places.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19756 a1c6a512-1295-4272-9138-f99709370657
2009-01-12 21:56:46 +00:00
Jonathan Gordon
40ca3a4ccc
fix the statusbar on the archos player... a more proper fix is probably to surround global_Settings.statusbar with #ifdef HAVE_LCD_BITMAP... maybe..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19753 a1c6a512-1295-4272-9138-f99709370657
2009-01-12 09:05:59 +00:00
Björn Stenberg
53a76de82b
Increased default watermark from 3 to 5 seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19751 a1c6a512-1295-4272-9138-f99709370657
2009-01-11 23:21:31 +00:00
Björn Stenberg
ec5db6ed27
Bumped codec API version and min version. This should have been done in r19743 but was forgotten.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19750 a1c6a512-1295-4272-9138-f99709370657
2009-01-11 22:41:39 +00:00
Michael Sevakis
7d7969114d
c200v1/e200v1: Add battery charging. This should be usable on v2 players but those should be evaluated for current, endpoint voltage and whether or not accurate battery readings may always be obtained (which determines algorithm setup and behavior).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19748 a1c6a512-1295-4272-9138-f99709370657
2009-01-11 10:07:22 +00:00
Jonathan Gordon
b84fe020a5
use the playback PLAYBACK_EVENT_TRACK_CHANGE instead of the WPS to keep track of the current track (for follow playlist)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19747 a1c6a512-1295-4272-9138-f99709370657
2009-01-11 04:03:17 +00:00
Björn Stenberg
ff498519d0
Red build fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19744 a1c6a512-1295-4272-9138-f99709370657
2009-01-10 21:38:56 +00:00
Björn Stenberg
6427d127aa
Calculate watermark from bitrate and harddisk spinup time.
...
Use a smaller PCM buffer on targets with 2MB or less ram.
(FS#9703)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19743 a1c6a512-1295-4272-9138-f99709370657
2009-01-10 21:10:56 +00:00
Jonathan Gordon
12b8f8de89
fix FS#9772 - the statusbars were not working correclty on multi screen targets in the WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19742 a1c6a512-1295-4272-9138-f99709370657
2009-01-10 13:16:24 +00:00
Dominik Riebeling
36d8b7eebf
Fix Quickscreen ACTION_QS_DOWNINV button to reverse direction of down entry which was broken with r17315.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19733 a1c6a512-1295-4272-9138-f99709370657
2009-01-09 11:07:26 +00:00
Jonathan Gordon
04dcf117a1
revert part of r19705 which caused fS#9773
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19732 a1c6a512-1295-4272-9138-f99709370657
2009-01-09 04:46:28 +00:00
Adam Gashlin
222080e0ee
19421 missed a few commas in robotfindskitten
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19731 a1c6a512-1295-4272-9138-f99709370657
2009-01-09 01:16:19 +00:00
Jens Arnold
759bede3bc
Fix test_codec for r19704 (prefix removed from plugin API).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19729 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 22:37:51 +00:00
Björn Stenberg
19e3b6fb8b
Fix cygwin sim build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19728 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 20:54:36 +00:00
Jonas Häggqvist
2a9b1fd3d9
Language updates:
...
- Brazilian Portuguese by Adilson Xavier (FS#9762).
- Walloon by Stéphane Quertinmont (FS#9748, FS#9756).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19727 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 20:26:11 +00:00
Marianne Arnold
f5ab7c028e
Commit patch by JdGordon to fix FS#9531 (which applied to all targets) - correctly resume shuffled playlists.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19723 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 16:22:09 +00:00
Jonathan Gordon
23825fdb43
revert r19638 which was just bad...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19720 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 12:32:35 +00:00
Andrew Mahone
32d9752dcc
remove unneeded LCD_DEPTH test in lib/resize.h, add some comments explaining the core-file imports
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19715 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 08:32:05 +00:00
Andrew Mahone
07e982df8a
cleanup for core-file-in-pluginlib compilation:
...
wrapper C files in pluginlib renamed to the same name as the core files they
wrap
pluginlib-only init functions for resize and bmp moved into the wrapper files,
and declared in the associated header files
API() macro removed entirely, in favor of a core-only header file that
redefines core function names to use a plugin_api pointer
some unnecessary uses of PLUGIN in apps/recorder/bmp.c removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19712 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 02:49:23 +00:00