forked from len0rd/rockbox
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
This commit is contained in:
parent
67695617a1
commit
91efc16256
9 changed files with 242 additions and 128 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue