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

Context for the real reflow <img> loader (epub_reflow_img_load). More...

#include <epub_img_tiles.h>

Collaboration diagram for epub_img_loader_t:

Data Fields

epub_book_tbook
 Book to resolve <img src> hrefs against.
uint8_t * scratch
 Caller-owned encoded-bytes scratch.
size_t scratch_cap
 Scratch capacity (bounded RAM ceiling).

Detailed Description

Context for the real reflow <img> loader (epub_reflow_img_load).

Binds an open book plus a caller-owned scratch buffer; the scratch capacity is the hard RAM ceiling on a single decoded <img> resource.

Invariant
book != NULL, scratch != NULL, scratch_cap > 0 while bound.
Since
0.1.0

Definition at line 129 of file epub_img_tiles.h.

Field Documentation

◆ book

epub_book_t* epub_img_loader_t::book

Book to resolve <img src> hrefs against.

Definition at line 130 of file epub_img_tiles.h.

◆ scratch

uint8_t* epub_img_loader_t::scratch

Caller-owned encoded-bytes scratch.

Definition at line 131 of file epub_img_tiles.h.

◆ scratch_cap

size_t epub_img_loader_t::scratch_cap

Scratch capacity (bounded RAM ceiling).

Definition at line 132 of file epub_img_tiles.h.


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