summaryrefslogtreecommitdiff
path: root/apps/plugins
AgeCommit message (Collapse)Author
2009-02-10Move screendump from apps to firmware, solving two nasty firmware-to-apps ↵Jens Arnold
calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19967 a1c6a512-1295-4272-9138-f99709370657
2009-02-09More compact screendump routines for core and greylib. The core routine ↵Jens Arnold
might be a little slower for vertically packed mono and greyscale displays, the greylib one should be faster in all cases. * Reduce stack usage of greyscale screendump on the Clip* Rename a macro in the bitmap LCD simulation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19959 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Xobox - clear display for all. Fixes problem on colour screens with one or ↵Marianne Arnold
both dimensions not being a multiple of 8 (e.g. the Nano's screen height) where parts of the statusbar or background image stayed on screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19958 a1c6a512-1295-4272-9138-f99709370657
2009-02-09make sure plugin.lds is not processed when building sims since it isn't used ↵Daniel Stenberg
for anything then! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19957 a1c6a512-1295-4272-9138-f99709370657
2009-02-09do the #error for unknown CPU in the cases we're not building a simDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19956 a1c6a512-1295-4272-9138-f99709370657
2009-02-09don't do #error if no CPU define was found since we don't set it on simulatorDaniel Stenberg
builds! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19955 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Onda VX747: commit some parts to get apps/ to compile (more will follow)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Put the display colours for monochrome and greyscale targets into the target ↵Jens Arnold
config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
2009-02-08align frontmost edge of slides with plane of displayAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19948 a1c6a512-1295-4272-9138-f99709370657
2009-02-08simplify zo calculation a bit, "zoom" the center margin value and add term ↵Andrew Mahone
for zo to offset calculation, so that margins are still correct when zooming git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19947 a1c6a512-1295-4272-9138-f99709370657
2009-02-07rewrite of pictureflow renderer with 3D projection, this will allow many ↵Andrew Mahone
possible tweaks in the future, such as moving only the center slide "closer", changing the angle of side slides, etc, while keeping the same meaning for the center margin and spacing settings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19942 a1c6a512-1295-4272-9138-f99709370657
2009-02-06use a table-free clz on coldfire, where it benchmarks a bit fasterAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19933 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Fix FS#2533, apple appearing late in the snake pluginThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19926 a1c6a512-1295-4272-9138-f99709370657
2009-02-05Fix a wrong check in lamp, spotted by DerPapstJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19925 a1c6a512-1295-4272-9138-f99709370657
2009-02-03Gigabeat S: Get remote keymaps up to snuff and working. Do a couple tweaks ↵Michael Sevakis
on main unit ones. Cleanup keymap file a bit. Fix main button scanner to not clobber remote button. Fix a bug in actions.c where 'LAST_ITEM_IN_LIST' didn't really terminate scanning immediately. It would do an additional call into get_context_map and silently pick up ACTION_STD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19909 a1c6a512-1295-4272-9138-f99709370657
2009-02-01Use LCD_HEIGHT to exclude pacbox from c200 builds instead of target name so ↵Marianne Arnold
that it also applies to the v2 c200s. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19898 a1c6a512-1295-4272-9138-f99709370657
2009-02-01Accept a quick patch from Alexander Levin to neaten up the #defines and ↵Jonathan Gordon
comments from my earlier commit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19897 a1c6a512-1295-4272-9138-f99709370657
2009-02-01Statusbar handling fixes. Jonathan Gordon
Fixes FS#9845 - %we/%wd wasnt working WPS no longer resets the viewportmanger more than needed (was doing it twice/draw before) screens can now enable/disable the statusbar easily ignoring the setting instead of needing special handling (fix for the radio screen coming soon) minor glitch introduced in this commit... the statusbar in the WPS might disappear for a fraction of a second when it is entered, I need to track this down... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19894 a1c6a512-1295-4272-9138-f99709370657
2009-01-30per Jens Arnold's suggestion:Andrew Mahone
use platform clz instruction only on ARMv5+, where we know it returns 32 for a 0 input, and remove the special case for 0 use binary search only to find most significant four bits, then use lookup table to add number of leading zeroes within those bits git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19888 a1c6a512-1295-4272-9138-f99709370657
2009-01-30correct clz in pictureflow.cAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19887 a1c6a512-1295-4272-9138-f99709370657
2009-01-30remove 64-bit math from fdiv in pictureflow.c, replacing it with limited ↵Andrew Mahone
pre-shifting of input values git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19886 a1c6a512-1295-4272-9138-f99709370657
2009-01-29pictureflow tweaks:Andrew Mahone
allow wider covers on landscape, bringing square covers closer to suggested size from pre-scaling pictureflow tweak defaults for center margin and cover spacing a little bit change default title display to bottom if LCD_HEIGHT <= 100 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19877 a1c6a512-1295-4272-9138-f99709370657
2009-01-29fix divide-by-zero error in pictureflow when selecting albumAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19876 a1c6a512-1295-4272-9138-f99709370657
2009-01-29MPEGPlayer: If valid start AND end timestamps for a stream are not found ↵Michael Sevakis
then neither are considered to be valid which marks the stream as invalid. Also, we do program streams, not transport streams-- use correct terminology in MPEG parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19875 a1c6a512-1295-4272-9138-f99709370657
2009-01-25fix mem* wrappers in UI on cygwin, by not building certain plugins on sim, ↵Andrew Mahone
rather than building empty ones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19856 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Philips HDD1630: fix yellowMark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19849 a1c6a512-1295-4272-9138-f99709370657
2009-01-24remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, ↵Andrew Mahone
and replace with pluginlib implementations in plugins/lib/gcc-support.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Plugins for the Philips HDD1630. The keymaps are largely untested on the ↵Mark Arigo
device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Add button map for the Clip.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19844 a1c6a512-1295-4272-9138-f99709370657
2009-01-24fix yellow - don't build pluginlib_albumart.c on non-bitmap targetsAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19840 a1c6a512-1295-4272-9138-f99709370657
2009-01-24fix red on mono hardware - add mem function wrappers to pictureflowAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19839 a1c6a512-1295-4272-9138-f99709370657
2009-01-24plugins/lib/feature_wrappers.h to provide easy access to some feature that ↵Andrew Mahone
may be in either API or pluginlib depending on target pictureflow modified to use feature wrappers, and built on all targets that have tagcache and are swcodec git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19837 a1c6a512-1295-4272-9138-f99709370657
2009-01-24fix for targets using greylib in pictureflow, they need to set drawmode for ↵Andrew Mahone
both normal and greylib drawing, so using MYLCD for that was inappropriate git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19836 a1c6a512-1295-4272-9138-f99709370657
2009-01-24albumart search in pluginlib when building without HAVE_ALBUMART (for later ↵Andrew Mahone
use by pictureflow) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19835 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Include divide-by-zero handling within plugins and codecs for ARM processors.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19834 a1c6a512-1295-4272-9138-f99709370657
2009-01-21replace DIV255 with an inline function, the macro version caused unneeded ↵Andrew Mahone
recalculations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19809 a1c6a512-1295-4272-9138-f99709370657
2009-01-20fix red on grayscale in pictureflowAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19803 a1c6a512-1295-4272-9138-f99709370657
2009-01-20scaler optimizations:Andrew Mahone
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-19port test_boost.c to global plugin APIAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19796 a1c6a512-1295-4272-9138-f99709370657
2009-01-18Fix TYPE_BOOL settings format string. Boolean settings should really use ↵Jens Arnold
'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-18use multiply-shift to scale reciprocals for rgb16 output, instead ofAndrew Mahone
multiply-divide git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19788 a1c6a512-1295-4272-9138-f99709370657
2009-01-17fixed euroconverter, missed in the configfile changeAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19787 a1c6a512-1295-4272-9138-f99709370657
2009-01-17unify pointers to value for configfile, and add TYPE_BOOL type, used byAndrew Mahone
pictureflow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
2009-01-17fix pictureflow, previous fix caused cache to never be marked as goodAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19785 a1c6a512-1295-4272-9138-f99709370657
2009-01-17fix yellow, but in the long run, configfile needs a TYPE_BOOL as a clean fix ↵Andrew Mahone
to this git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19783 a1c6a512-1295-4272-9138-f99709370657
2009-01-17return to transposed images in cache, via new output plugins, to saveAndrew Mahone
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-17remove unused fh from create_albumart_cacheAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19781 a1c6a512-1295-4272-9138-f99709370657
2009-01-17pictureflow configfile conversion:Andrew Mahone
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-17pictureflow cleanup:Andrew Mahone
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-16revert/fix parts of r19673, as it changed some e200 keymaps and introduces ↵Dominik Wenger
not-needed FIXME comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657