ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
epub_tile_binder_t Struct Reference

Binds up to k_epub_tile_max_sources images to one tile cache. More...

#include <epub_img_tiles.h>

Collaboration diagram for epub_tile_binder_t:

Data Fields

ra8_tile_cache_t cache
 Owned tile cache (decode wired to the binder).
epub_tile_source_t sources [k_epub_tile_max_sources]
 Registered images.
uint8_t source_count
 Registered image count.
uint8_t * scratch
 Stored-tile staging for deflate atlases.
uint32_t scratch_cap
 Capacity of scratch.

Detailed Description

Binds up to k_epub_tile_max_sources images to one tile cache.

Owns a ::ra8_tile_cache whose decode-on-miss reads + decodes one JOF tile through jof_read_tile(). Caller-owned; zero-initialise before epub_tile_binder_init().

Invariant
Every valid sources[i] has a distinct image_id.
Since
0.1.0

Definition at line 109 of file epub_img_tiles.h.

Field Documentation

◆ cache

ra8_tile_cache_t epub_tile_binder_t::cache

Owned tile cache (decode wired to the binder).

Definition at line 110 of file epub_img_tiles.h.

◆ scratch

uint8_t* epub_tile_binder_t::scratch

Stored-tile staging for deflate atlases.

Definition at line 115 of file epub_img_tiles.h.

◆ scratch_cap

uint32_t epub_tile_binder_t::scratch_cap

Capacity of scratch.

Definition at line 116 of file epub_img_tiles.h.

◆ source_count

uint8_t epub_tile_binder_t::source_count

Registered image count.

Definition at line 114 of file epub_img_tiles.h.

◆ sources

epub_tile_source_t epub_tile_binder_t::sources[k_epub_tile_max_sources]

Registered images.

Definition at line 112 of file epub_img_tiles.h.


The documentation for this struct was generated from the following file: