summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/pluginlib_bmp.c
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-05-09 07:31:27 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-05-09 07:31:27 +0000
commit91efc162564cd9c04677e2e38550cde21995b06e (patch)
treec927cefc7f12a49396541dbac246dc76ca444c71 /apps/plugins/lib/pluginlib_bmp.c
parent67695617a13e9f37f17e3718b03046f6d748a9e1 (diff)
downloadrockbox-91efc162564cd9c04677e2e38550cde21995b06e.zip
rockbox-91efc162564cd9c04677e2e38550cde21995b06e.tar.gz
rockbox-91efc162564cd9c04677e2e38550cde21995b06e.tar.bz2
rockbox-91efc162564cd9c04677e2e38550cde21995b06e.tar.xz
Split 8-bit-to-native conversion in bmp.c into a function, add support for plugging unscaled output in BMP and JPEG loaders, use output_row_8_native in JPEG decoder when possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/pluginlib_bmp.c')
-rw-r--r--apps/plugins/lib/pluginlib_bmp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/plugins/lib/pluginlib_bmp.c b/apps/plugins/lib/pluginlib_bmp.c
index 110e534..6b1a542 100644
--- a/apps/plugins/lib/pluginlib_bmp.c
+++ b/apps/plugins/lib/pluginlib_bmp.c
@@ -124,14 +124,7 @@ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst)
#endif /* LCD_DEPTH > 1 */
-#ifndef HAVE_BMP_SCALING
#include "wrappers.h"
/* import the core bmp loader */
#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