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/resize.h | |
| 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/recorder/resize.h')
| -rw-r--r-- | apps/recorder/resize.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/recorder/resize.h b/apps/recorder/resize.h index f7cda15..2964fcd 100644 --- a/apps/recorder/resize.h +++ b/apps/recorder/resize.h @@ -150,19 +150,17 @@ struct scaler_context { #endif struct custom_format { + void (*output_row_8)(uint32_t,void*, struct scaler_context*); #if defined(HAVE_LCD_COLOR) - void (*output_row[2])(uint32_t,void*,struct scaler_context*); + void (*output_row_32[2])(uint32_t,void*, struct scaler_context*); #else - void (*output_row)(uint32_t,void*,struct scaler_context*); + void (*output_row_32)(uint32_t,void*, struct scaler_context*); #endif unsigned int (*get_size)(struct bitmap *bm); }; struct rowset; -void output_row_native(uint32_t row, void * row_in, - struct scaler_context *ctx); - extern const struct custom_format format_native; int recalc_dimension(struct dim *dst, struct dim *src); |