mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
|
@ -124,14 +124,7 @@ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst)
|
|||
|
||||
#endif /* LCD_DEPTH > 1 */
|
||||
|
||||
#ifndef HAVE_BMP_SCALING
|
||||
#include "wrappers.h"
|
||||
|
||||
/* import the core bmp loader */
|
||||
#include "recorder/bmp.c"
|
||||
#else
|
||||
/* the full 16x16 Bayer dither matrix may be calculated quickly with this table
|
||||
*/
|
||||
const unsigned char dither_table[16] =
|
||||
{ 0,192, 48,240, 12,204, 60,252, 3,195, 51,243, 15,207, 63,255 };
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue