forked from len0rd/rockbox
Add read_<image>_fd functions to plugin API, add feature_wrappers.h handling for them, and add read_image.[ch] wrapper for reading image files with automatic type detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
75f2629778
commit
3d4c68bb06
6 changed files with 105 additions and 5 deletions
|
@ -643,8 +643,12 @@ static const struct plugin_api rockbox_api = {
|
|||
lcd_pal256_update_pal,
|
||||
#endif
|
||||
#endif
|
||||
#if defined(HAVE_LCD_BITMAP) && LCD_DEPTH > 1
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#if LCD_DEPTH > 1
|
||||
read_jpeg_file,
|
||||
read_jpeg_fd,
|
||||
#endif
|
||||
read_bmp_fd,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue