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/bench_mem_jpeg.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/bench_mem_jpeg.c')
| -rw-r--r-- | apps/plugins/bench_mem_jpeg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/bench_mem_jpeg.c b/apps/plugins/bench_mem_jpeg.c index 958e520..cd7dea3 100644 --- a/apps/plugins/bench_mem_jpeg.c +++ b/apps/plugins/bench_mem_jpeg.c @@ -42,13 +42,14 @@ static void output_row_null(uint32_t row, void * row_in, } const struct custom_format format_null = { + .output_row_8 = output_row_null, #ifdef HAVE_LCD_COLOR - .output_row = { + .output_row_32 = { output_row_null, output_row_null }, #else - .output_row = output_row_null, + .output_row_32 = output_row_null, #endif .get_size = get_size_null }; |