From 20f76d61ae58bd47b647d79e40beebbbe747e480 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Mon, 4 May 2009 15:46:41 +0000 Subject: 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 --- firmware/export/config-c200.h | 6 ++++++ firmware/export/config-c200v2.h | 6 ++++++ firmware/export/config-cowond2.h | 6 ++++++ firmware/export/config-e200.h | 6 ++++++ firmware/export/config-e200v2.h | 6 ++++++ firmware/export/config-fuze.h | 6 ++++++ firmware/export/config-gigabeat-s.h | 6 ++++++ firmware/export/config-gigabeat.h | 6 ++++++ firmware/export/config-h10.h | 6 ++++++ firmware/export/config-h100.h | 6 ++++++ firmware/export/config-h10_5gb.h | 6 ++++++ firmware/export/config-h120.h | 6 ++++++ firmware/export/config-h300.h | 6 ++++++ firmware/export/config-hdd1630.h | 6 ++++++ firmware/export/config-iaudio7.h | 6 ++++++ firmware/export/config-iaudiom3.h | 6 ++++++ firmware/export/config-iaudiom5.h | 6 ++++++ firmware/export/config-iaudiox5.h | 6 ++++++ firmware/export/config-ipod1g2g.h | 6 ++++++ firmware/export/config-ipod3g.h | 6 ++++++ firmware/export/config-ipod4g.h | 6 ++++++ firmware/export/config-ipodcolor.h | 6 ++++++ firmware/export/config-ipodmini.h | 6 ++++++ firmware/export/config-ipodmini2g.h | 6 ++++++ firmware/export/config-ipodnano.h | 6 ++++++ firmware/export/config-ipodvideo.h | 6 ++++++ firmware/export/config-lyre_proto1.h | 6 ++++++ firmware/export/config-meizu-m3.h | 6 ++++++ firmware/export/config-meizu-m6sl.h | 6 ++++++ firmware/export/config-meizu-m6sp.h | 6 ++++++ firmware/export/config-mrobe500.h | 6 ++++++ firmware/export/config-ondavx747.h | 6 ++++++ firmware/export/config-sa9200.h | 6 ++++++ 33 files changed, 198 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h index ed16fb0473..5c2b37dd19 100644 --- a/firmware/export/config-c200.h +++ b/firmware/export/config-c200.h @@ -29,6 +29,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have a light associated with the buttons */ #define HAVE_BUTTON_LIGHT diff --git a/firmware/export/config-c200v2.h b/firmware/export/config-c200v2.h index 1e58573a9c..b47ba73610 100644 --- a/firmware/export/config-c200v2.h +++ b/firmware/export/config-c200v2.h @@ -31,6 +31,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have a light associated with the buttons */ #define HAVE_BUTTON_LIGHT diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h index 85e46f9b30..bef4bf4992 100644 --- a/firmware/export/config-cowond2.h +++ b/firmware/export/config-cowond2.h @@ -41,6 +41,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index fd481d9e63..59ac564c01 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h @@ -29,6 +29,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have a light associated with the buttons */ #define HAVE_BUTTON_LIGHT diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h index dbd3b0c0ee..9ee8572fbd 100644 --- a/firmware/export/config-e200v2.h +++ b/firmware/export/config-e200v2.h @@ -31,6 +31,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have a light associated with the buttons */ #define HAVE_BUTTON_LIGHT diff --git a/firmware/export/config-fuze.h b/firmware/export/config-fuze.h index 4cef71ed58..4f943580a7 100644 --- a/firmware/export/config-fuze.h +++ b/firmware/export/config-fuze.h @@ -35,6 +35,12 @@ #ifndef BOOTLOADER/* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have a light associated with the buttons */ #define HAVE_BUTTON_LIGHT diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h index 17ee39352c..d122edbf74 100644 --- a/firmware/export/config-gigabeat-s.h +++ b/firmware/export/config-gigabeat-s.h @@ -23,6 +23,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h index 72b8c3d79d..a6ec25d34f 100644 --- a/firmware/export/config-gigabeat.h +++ b/firmware/export/config-gigabeat.h @@ -22,6 +22,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index 011c1316de..04a61238bf 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h @@ -34,6 +34,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 1a3c75ebf8..e860538ec6 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h @@ -23,6 +23,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can flip your LCD */ #define HAVE_LCD_FLIP diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h index ef53e02ab4..806ce0cdc3 100644 --- a/firmware/export/config-h10_5gb.h +++ b/firmware/export/config-h10_5gb.h @@ -34,6 +34,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index bb8e1f7184..b772a36323 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h @@ -18,6 +18,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can flip your LCD */ #define HAVE_LCD_FLIP diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index e6e07e0bbc..91f54f5479 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h @@ -21,6 +21,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can flip your LCD */ #define HAVE_LCD_FLIP diff --git a/firmware/export/config-hdd1630.h b/firmware/export/config-hdd1630.h index 9b33f6a08e..d588b3bb60 100755 --- a/firmware/export/config-hdd1630.h +++ b/firmware/export/config-hdd1630.h @@ -35,6 +35,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-iaudio7.h b/firmware/export/config-iaudio7.h index 601ff5491f..8886b18633 100644 --- a/firmware/export/config-iaudio7.h +++ b/firmware/export/config-iaudio7.h @@ -42,6 +42,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-iaudiom3.h b/firmware/export/config-iaudiom3.h index a09be04c17..5eb7fb891b 100644 --- a/firmware/export/config-iaudiom3.h +++ b/firmware/export/config-iaudiom3.h @@ -30,6 +30,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can flip your LCD */ #define HAVE_LCD_FLIP diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h index d186895b45..0df8414fe9 100644 --- a/firmware/export/config-iaudiom5.h +++ b/firmware/export/config-iaudiom5.h @@ -30,6 +30,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can flip your LCD */ #define HAVE_LCD_FLIP diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index 218e1657dd..e048ebefb9 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -36,6 +36,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h index b4acd38b5b..e642dfd930 100644 --- a/firmware/export/config-ipod1g2g.h +++ b/firmware/export/config-ipod1g2g.h @@ -30,6 +30,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h index 57773750f2..c13070a805 100644 --- a/firmware/export/config-ipod3g.h +++ b/firmware/export/config-ipod3g.h @@ -31,6 +31,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h index 7cbe2145f2..599c4c254e 100644 --- a/firmware/export/config-ipod4g.h +++ b/firmware/export/config-ipod4g.h @@ -32,6 +32,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h index adb0f0ba1c..11edc9893f 100644 --- a/firmware/export/config-ipodcolor.h +++ b/firmware/export/config-ipodcolor.h @@ -35,6 +35,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index 76c81bd86d..d4fdc2eb2a 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.h @@ -30,6 +30,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h index 3f37ce940f..c6a0cfa368 100644 --- a/firmware/export/config-ipodmini2g.h +++ b/firmware/export/config-ipodmini2g.h @@ -30,6 +30,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 7947997ee0..bd6228b6ff 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -35,6 +35,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index e115f2d786..bd93f8fb36 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -37,6 +37,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN /* define this if you have access to the pitchscreen */ diff --git a/firmware/export/config-lyre_proto1.h b/firmware/export/config-lyre_proto1.h index 58a9350bb9..d157f5be2d 100644 --- a/firmware/export/config-lyre_proto1.h +++ b/firmware/export/config-lyre_proto1.h @@ -52,6 +52,12 @@ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + #define CONFIG_KEYPAD LYRE_PROTO1_PAD /* Define this if you do software codec */ diff --git a/firmware/export/config-meizu-m3.h b/firmware/export/config-meizu-m3.h index 74fe9fd990..2ad20550d0 100644 --- a/firmware/export/config-meizu-m3.h +++ b/firmware/export/config-meizu-m3.h @@ -33,6 +33,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ //#define HAVE_LCD_INVERT diff --git a/firmware/export/config-meizu-m6sl.h b/firmware/export/config-meizu-m6sl.h index b7b50c6dd2..a8e387150d 100644 --- a/firmware/export/config-meizu-m6sl.h +++ b/firmware/export/config-meizu-m6sl.h @@ -33,6 +33,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ //#define HAVE_LCD_INVERT diff --git a/firmware/export/config-meizu-m6sp.h b/firmware/export/config-meizu-m6sp.h index 993c535a92..2325b479b1 100644 --- a/firmware/export/config-meizu-m6sp.h +++ b/firmware/export/config-meizu-m6sp.h @@ -33,6 +33,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you can invert the colours on your LCD */ //#define HAVE_LCD_INVERT diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h index f8f3502152..f9e8d9ebf6 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h @@ -44,6 +44,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h index e47a8c1702..176a35f4e9 100644 --- a/firmware/export/config-ondavx747.h +++ b/firmware/export/config-ondavx747.h @@ -54,6 +54,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h index cbe92bb99c..e35c27e15e 100755 --- a/firmware/export/config-sa9200.h +++ b/firmware/export/config-sa9200.h @@ -18,6 +18,12 @@ /* define this if you want album art for this target */ #define HAVE_ALBUMART +/* define this to enable bitmap scaling */ +#define HAVE_BMP_SCALING + +/* define this to enable JPEG decoding */ +#define HAVE_JPEG + /* define this if you have a light associated with the buttons */ #define HAVE_BUTTON_LIGHT -- cgit v1.2.3