From 91efc162564cd9c04677e2e38550cde21995b06e Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Sat, 9 May 2009 07:31:27 +0000 Subject: 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 --- apps/plugins/bench_mem_jpeg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/plugins/bench_mem_jpeg.c') diff --git a/apps/plugins/bench_mem_jpeg.c b/apps/plugins/bench_mem_jpeg.c index 958e5208e8..cd7dea356e 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 }; -- cgit v1.2.3