diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-01 23:24:23 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-01 23:24:23 +0000 |
| commit | 60d420938372477226184fb9012de7f6b4ea2d83 (patch) | |
| tree | 086926f469d87635a483bfff55ea50898bdd0e1c /apps/plugin.c | |
| parent | b22516f995ef4a448251b883b0737d4aa0abdb84 (diff) | |
| download | rockbox-60d420938372477226184fb9012de7f6b4ea2d83.zip rockbox-60d420938372477226184fb9012de7f6b4ea2d83.tar.gz rockbox-60d420938372477226184fb9012de7f6b4ea2d83.tar.bz2 rockbox-60d420938372477226184fb9012de7f6b4ea2d83.tar.xz | |
Add core JPEG reader, adapted from the JPEG plugin's decoder, with some changes to prevent include conflicts between the two decoders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20836 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index d1e9a79..7ebb2aa 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -643,6 +643,9 @@ static const struct plugin_api rockbox_api = { lcd_pal256_update_pal, #endif #endif +#if defined(HAVE_LCD_BITMAP) && LCD_DEPTH > 1 + read_jpeg_file, +#endif }; int plugin_load(const char* plugin, const void* parameter) |