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/recorder/bmp.h | |
parent | 67695617a13e9f37f17e3718b03046f6d748a9e1 (diff) | |
download | rockbox-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/recorder/bmp.h')
-rw-r--r-- | apps/recorder/bmp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/bmp.h b/apps/recorder/bmp.h index c570a3d6bd..6437e42d26 100644 --- a/apps/recorder/bmp.h +++ b/apps/recorder/bmp.h | |||
@@ -212,4 +212,8 @@ int read_bmp_fd(int fd, | |||
212 | int format, | 212 | int format, |
213 | const struct custom_format *cformat); | 213 | const struct custom_format *cformat); |
214 | 214 | ||
215 | #if LCD_DEPTH > 1 | ||
216 | void output_row_8_native(uint32_t row, void * row_in, | ||
217 | struct scaler_context *ctx); | ||
218 | #endif | ||
215 | #endif | 219 | #endif |