|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One comic tile reader: owned tile cache, atlas store, bound page. More...
#include <comic_tiles.h>
Data Fields | |
| ra8_tile_cache_t | cache |
| Owned tile cache (decode wired to this). | |
| jof_memstore_t | store |
| Atlas backing for the bound page. | |
| jof_info_t | info |
| Parsed geometry of the bound page. | |
| uint8_t * | scratch |
| Stored-tile staging for deflate atlases. | |
| uint32_t | scratch_cap |
| Capacity of scratch. | |
| uint32_t | epoch |
| Import counter; the tile-cache key id. | |
| bool | bound |
| True while a page atlas is imported. | |
One comic tile reader: owned tile cache, atlas store, bound page.
Caller-owned; zero-initialise before comic_tiles_init. Holds a ::ra8_tile_cache whose decode-on-miss reads + decodes one JOF tile through jof_read_tile() off store, the parsed geometry of the currently-bound page (info), the stored-tile staging buffer (scratch), and the epoch that namespaces the tile-cache key per import so a page turn cannot surface a stale tile.
Definition at line 156 of file comic_tiles.h.
| bool comic_tile_reader_t::bound |
True while a page atlas is imported.
Definition at line 163 of file comic_tiles.h.
| ra8_tile_cache_t comic_tile_reader_t::cache |
Owned tile cache (decode wired to this).
Definition at line 157 of file comic_tiles.h.
| uint32_t comic_tile_reader_t::epoch |
Import counter; the tile-cache key id.
Definition at line 162 of file comic_tiles.h.
| jof_info_t comic_tile_reader_t::info |
Parsed geometry of the bound page.
Definition at line 159 of file comic_tiles.h.
| uint8_t* comic_tile_reader_t::scratch |
Stored-tile staging for deflate atlases.
Definition at line 160 of file comic_tiles.h.
| uint32_t comic_tile_reader_t::scratch_cap |
Capacity of scratch.
Definition at line 161 of file comic_tiles.h.
| jof_memstore_t comic_tile_reader_t::store |
Atlas backing for the bound page.
Definition at line 158 of file comic_tiles.h.