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
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
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
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
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
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
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
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
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
remove create_bmp entirely, storing scaled covers as-is in cache
extend accuracy of fade_color and use it for reflection fading
fix rendering issues while working on renderer, it is slower now but
outside edge of cover no longer cuts off top of next cover if it would
be exposed
fix fsin to have real -1.0 - 1.0 range, and have correct zeroes
adjust center margin option range again, now 0-80, since negative
causes rendering glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19603 a1c6a512-1295-4272-9138-f99709370657
Resize can be turned off (on by default). This will not look good if
covers are larger than the desired size.
Album title config: show at top or bottom, or hide.
Center margin is actual distance, in pixels, between center slide and
adjacent slides. Defaults are now set to show three slides to each side.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19599 a1c6a512-1295-4272-9138-f99709370657
pictureflow, as well as several small fixes in the areas modified.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19598 a1c6a512-1295-4272-9138-f99709370657
pluginlib for use with greylib, and add source for a test scaled bmp
viewer using greylib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
- Get complete metadata for albums (closes FS#9606).
- Explicitly remove existing cache before creating new one (closes FS#9135).
- Resetting the selection variable upon re-entering tracklist mode (better fix for FS#8347).
- Use the system-wide HAVE_SCROLLWHEEL define rather than the local SCROLLWHEEL.
- Change a buffer to be of size MAX_PATH+1 rather than MAX_PATH. It's unclear whether this is needed or not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19408 a1c6a512-1295-4272-9138-f99709370657
- Always initialise artist and albumartist to NULL to avoid segfaults and other nastiness (closes FS#9266). Ideally they should be set to their actual values (would fix FS#9606), but this fix at least avoids some problems.
- Be a bit more precise in the error given when no albumart is found.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19404 a1c6a512-1295-4272-9138-f99709370657
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
fix FS#8347 and FS#8425 - track order is incorrrect
also:
center the track list in the screen, and show the track number if its available
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17781 a1c6a512-1295-4272-9138-f99709370657
* 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