diff options
| author | Bryan Siepert <bsiepert@gmail.com> | 2019-02-23 10:58:46 -0800 |
|---|---|---|
| committer | Bryan Siepert <bsiepert@gmail.com> | 2019-02-23 10:58:46 -0800 |
| commit | b81072e7501045bfa5e8e5b74631dfe01327af2b (patch) | |
| tree | f7c1fb76cf75b5b384af64021eb65f7b6562584e /shared-module/displayio/OnDiskBitmap.h | |
| parent | 6a8f7356411e91c6a50a802cd1e9607e2d44ef74 (diff) | |
(fork rebuild) Initial support for 16bpp 555&565 and 8bpp grayscale bitmaps
Diffstat (limited to 'shared-module/displayio/OnDiskBitmap.h')
| -rw-r--r-- | shared-module/displayio/OnDiskBitmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-module/displayio/OnDiskBitmap.h b/shared-module/displayio/OnDiskBitmap.h index 31d6c9550..2102863d6 100644 --- a/shared-module/displayio/OnDiskBitmap.h +++ b/shared-module/displayio/OnDiskBitmap.h @@ -40,6 +40,11 @@ typedef struct { uint16_t height; uint16_t data_offset; uint16_t stride; + uint32_t r_bitmask; + uint32_t g_bitmask; + uint32_t b_bitmask; + bool bitfield_compressed; + bool grayscale; pyb_file_obj_t* file; uint8_t bytes_per_pixel; } displayio_ondiskbitmap_t; |
