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

Tile-cache paging of JOF atlases + a real reflow img loader (#231). More...

Go to the source code of this file.

Typedefs

typedef int epub_img_tiles_unused_translation_unit_t

Detailed Description

Tile-cache paging of JOF atlases + a real reflow img loader (#231).

Implements ::epub_tile_binder (pages JOF tile atlases through ::ra8_tile_cache, decode-on-demand keyed by image_id + tile, bounded RAM) and epub_reflow_img_load (resolves an <img src> href to encoded bytes in a caller-owned bounded scratch). Atlas sources are either stored archive entries (windowed with epub_entry_pread) or external pread seams (SDRAM/SD stores filled by the import path in epub_img_import.c). Tile decode itself is jof_read_tile() – one bounded read plus one bounded inflate per miss.

Guarded on __has_include: the pure epub core (and epub-only apps that never pull in ra8_mem/jof) still link with this TU empty.

[Ring 4 / EPUB] {World: NS}

Definition in file epub_img_tiles.c.

Typedef Documentation

◆ epub_img_tiles_unused_translation_unit_t

Definition at line 509 of file epub_img_tiles.c.