diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-04 15:46:41 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-04 15:46:41 +0000 |
commit | 20f76d61ae58bd47b647d79e40beebbbe747e480 (patch) | |
tree | d37569a127b02fdd051c6a3da77c70ac2d72e8ab /apps/plugin.h | |
parent | dfb24d6ceee703361b8120d689d8d77cfc15830d (diff) | |
download | rockbox-20f76d61ae58bd47b647d79e40beebbbe747e480.tar.gz rockbox-20f76d61ae58bd47b647d79e40beebbbe747e480.zip |
Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow
gets overlay support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20851 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 19eb962588..72d71b6e93 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -805,7 +805,7 @@ struct plugin_api { | |||
805 | #endif | 805 | #endif |
806 | 806 | ||
807 | #ifdef HAVE_LCD_BITMAP | 807 | #ifdef HAVE_LCD_BITMAP |
808 | #if LCD_DEPTH > 1 | 808 | #ifdef HAVE_JPEG |
809 | int (*read_jpeg_file)(const char* filename, struct bitmap *bm, int maxsize, | 809 | int (*read_jpeg_file)(const char* filename, struct bitmap *bm, int maxsize, |
810 | int format, const struct custom_format *cformat); | 810 | int format, const struct custom_format *cformat); |
811 | int (*read_jpeg_fd)(int fd, struct bitmap *bm, int maxsize, | 811 | int (*read_jpeg_fd)(int fd, struct bitmap *bm, int maxsize, |