diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-09 07:31:27 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-09 07:31:27 +0000 |
| commit | 91efc162564cd9c04677e2e38550cde21995b06e (patch) | |
| tree | c927cefc7f12a49396541dbac246dc76ca444c71 /apps/plugins/lib/pluginlib_bmp.c | |
| parent | 67695617a13e9f37f17e3718b03046f6d748a9e1 (diff) | |
| download | rockbox-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.c | 7 |
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 |