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.tar.gz
rockbox-91efc162564cd9c04677e2e38550cde21995b06e.zip
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 110e534be0..6b1a54291c 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)
124 124
125#endif /* LCD_DEPTH > 1 */ 125#endif /* LCD_DEPTH > 1 */
126 126
127#ifndef HAVE_BMP_SCALING
128#include "wrappers.h" 127#include "wrappers.h"
129 128
130/* import the core bmp loader */ 129/* import the core bmp loader */
131#include "recorder/bmp.c" 130#include "recorder/bmp.c"
132#else
133/* the full 16x16 Bayer dither matrix may be calculated quickly with this table
134*/
135const unsigned char dither_table[16] =
136 { 0,192, 48,240, 12,204, 60,252, 3,195, 51,243, 15,207, 63,255 };
137#endif