forked from len0rd/rockbox
View Album Art from WPS context menu
Add ability to imageviewer to view current track embedded/folder album art Add "View Album Art" WPS context menu item Change-Id: I49caebd38e5e3e2910d418bbeaa5e51da0e6bd93
This commit is contained in:
parent
c1bcebd998
commit
55a5bfe740
10 changed files with 166 additions and 31 deletions
|
|
@ -96,8 +96,10 @@ static void scaled_dequantization_and_idct(void)
|
|||
}
|
||||
|
||||
static int load_image(char *filename, struct image_info *info,
|
||||
unsigned char *buf, ssize_t *buf_size)
|
||||
unsigned char *buf, ssize_t *buf_size,
|
||||
int offset, int filesize)
|
||||
{
|
||||
(void)filesize;
|
||||
int status;
|
||||
struct JPEGD *p_jpg = &jpg;
|
||||
|
||||
|
|
@ -110,6 +112,10 @@ static int load_image(char *filename, struct image_info *info,
|
|||
{
|
||||
return PLUGIN_ERROR;
|
||||
}
|
||||
if (offset)
|
||||
{
|
||||
POS(offset);
|
||||
}
|
||||
|
||||
if (!iv->running_slideshow)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue