Rework albumart buffering internally to allow for mutliple albumart sizes.
commitc6b59ba8632895260e1ebb9cf4e54de336eddffc
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 16 Oct 2009 19:14:41 +0000 (16 19:14 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 16 Oct 2009 19:14:41 +0000 (16 19:14 +0000)
treee3c39a41ff160194dfd9ce617893e0367a6fdcc8
parentaf83f028785a21620c6e1c636d5626007163e611
Rework albumart buffering internally to allow for mutliple albumart sizes.

Playback now has a few albumart slots. Anything (most importantly: skins)  can obtain such a slot.
The slot has fields for the size which is passed to bufopen then to image_load to buffer the albumart with the proper size.
Currently there's 1 slot. We can increase it for remotes if we want. Custom statusbar will increase it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23209 a1c6a512-1295-4272-9138-f99709370657
13 files changed:
apps/buffering.c
apps/buffering.h
apps/gui/skin_engine/skin_display.c
apps/gui/skin_engine/skin_parser.c
apps/gui/skin_engine/skin_tokens.c
apps/gui/skin_engine/wps_internals.h
apps/gui/wps.c
apps/gui/wps.h
apps/playback.c
apps/playback.h
apps/plugin.h
apps/recorder/albumart.c
apps/recorder/albumart.h