mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
dfb24d6cee
commit
20f76d61ae
46 changed files with 318 additions and 79 deletions
|
@ -122,10 +122,16 @@ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst)
|
|||
}
|
||||
}
|
||||
|
||||
#else /* LCD_DEPTH == 1 */
|
||||
#endif /* LCD_DEPTH > 1 */
|
||||
|
||||
#ifndef HAVE_BMP_SCALING
|
||||
#include "wrappers.h"
|
||||
|
||||
/* import the core bmp loader */
|
||||
#include "../../recorder/bmp.c"
|
||||
|
||||
#include "recorder/bmp.c"
|
||||
#else
|
||||
/* the full 16x16 Bayer dither matrix may be calculated quickly with this table
|
||||
*/
|
||||
const unsigned char dither_table[16] =
|
||||
{ 0,192, 48,240, 12,204, 60,252, 3,195, 51,243, 15,207, 63,255 };
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue