|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Context binding a JOF atlas to a ::ra8_tile_cache decode-on-miss. More...
#include <longstrip.h>
Data Fields | |
| jof_pread_fn | pread |
| Atlas backing read seam. | |
| void * | pread_ctx |
| Context for pread. | |
| jof_info_t | info |
| Parsed atlas geometry. | |
| uint8_t * | scratch |
| Deflate staging (codec 1 only). | |
| uint32_t | scratch_cap |
| Capacity of scratch. | |
Context binding a JOF atlas to a ::ra8_tile_cache decode-on-miss.
Bind longstrip_tile_decode as the tile cache's decode and a pointer to this struct as its decode_ctx. The cache then pages any band in with one bounded JOF tile read. scratch is the deflate staging buffer required only for k_jof_codec_deflate atlases (size it with jof_stored_bound() over the band payload); a raw-codec atlas may leave it NULL / zero.
Definition at line 137 of file longstrip.h.
| jof_info_t longstrip_decode_ctx_t::info |
Parsed atlas geometry.
Definition at line 140 of file longstrip.h.
Referenced by internal_open_selected(), internal_seek(), internal_wire(), longstrip_tile_decode(), priv_viewer_open_jof(), priv_viewer_render_jof(), and priv_viewer_size_jof_tiles().
| jof_pread_fn longstrip_decode_ctx_t::pread |
Atlas backing read seam.
Definition at line 138 of file longstrip.h.
Referenced by longstrip_tile_decode(), and priv_viewer_open_jof().
| void* longstrip_decode_ctx_t::pread_ctx |
Context for pread.
Definition at line 139 of file longstrip.h.
Referenced by longstrip_tile_decode(), and priv_viewer_open_jof().
| uint8_t* longstrip_decode_ctx_t::scratch |
Deflate staging (codec 1 only).
Definition at line 141 of file longstrip.h.
Referenced by internal_wire(), and longstrip_tile_decode().
| uint32_t longstrip_decode_ctx_t::scratch_cap |
Capacity of scratch.
Definition at line 142 of file longstrip.h.
Referenced by internal_wire(), and longstrip_tile_decode().