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

One registered atlas image (private to the binder; treat as opaque). More...

#include <epub_img_tiles.h>

Collaboration diagram for epub_tile_source_t:

Data Fields

epub_book_tbook
 Owning book, or NULL for external atlas.
char path [k_epub_max_path_len]
 Entry path (book-backed only).
jof_pread_fn pread
 External atlas read seam, or NULL.
void * pread_ctx
 Context for pread.
uint64_t total_size
 Atlas byte length (backing size).
uint32_t image_id
 Tile-cache key namespace for this image.
jof_info_t info
 Parsed + validated atlas geometry.

Detailed Description

One registered atlas image (private to the binder; treat as opaque).

Book-backed sources (book != NULL) read tiles off a stored archive entry at path; external sources read through their own pread seam (pread/pread_ctx).

Invariant
Exactly one of book or pread is non-NULL while registered.
Since
0.1.0

Definition at line 88 of file epub_img_tiles.h.

Field Documentation

◆ book

epub_book_t* epub_tile_source_t::book

Owning book, or NULL for external atlas.

Definition at line 89 of file epub_img_tiles.h.

◆ image_id

uint32_t epub_tile_source_t::image_id

Tile-cache key namespace for this image.

Definition at line 94 of file epub_img_tiles.h.

◆ info

jof_info_t epub_tile_source_t::info

Parsed + validated atlas geometry.

Definition at line 95 of file epub_img_tiles.h.

◆ path

char epub_tile_source_t::path[k_epub_max_path_len]

Entry path (book-backed only).

Definition at line 90 of file epub_img_tiles.h.

◆ pread

jof_pread_fn epub_tile_source_t::pread

External atlas read seam, or NULL.

Definition at line 91 of file epub_img_tiles.h.

◆ pread_ctx

void* epub_tile_source_t::pread_ctx

Context for pread.

Definition at line 92 of file epub_img_tiles.h.

◆ total_size

uint64_t epub_tile_source_t::total_size

Atlas byte length (backing size).

Definition at line 93 of file epub_img_tiles.h.


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