|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Import-time transcode knobs, work arena, and destination atlas store. More...
#include <comic_tiles.h>
Data Fields | |
| uint16_t | tile_w |
| Tile width, pixels (>= 1). | |
| uint16_t | tile_h |
| Tile height, pixels (>= 1). | |
| uint8_t | codec |
| jof_codec_t member. | |
| uint16_t | max_width |
| Width budget cap (0 = format cap). | |
| uint16_t | max_height |
| Height budget cap (0 = format cap). | |
| size_t | work_cap |
| Arena size (jof_work_bytes()). | |
| uint8_t * | webp_work |
| WebP whole-frame arena, or NULL to reject WebP. | |
| size_t | webp_work_cap |
| WebP arena size (jof_webp_work_bytes()). | |
| uint8_t * | atlas |
| Atlas memstore backing (out-lives tile fetch). | |
| size_t | atlas_cap |
Capacity of atlas in bytes. | |
Import-time transcode knobs, work arena, and destination atlas store.
Mirrors the producer configuration (jof_produce.h) minus the source (the import path streams the caller's encoded page bytes). Size work with jof_work_bytes() over the same caps and tile geometry. webp_work is the optional whole-frame arena for WebP pages (jof_webp_work_bytes()); leave it NULL to fail-closed reject WebP pages exactly as a JPEG/PNG-only reader always did. atlas is the append-only memstore backing the produced JOF atlas lives in and is paged from; it must out-live every tile fetch.
Definition at line 126 of file comic_tiles.h.
| uint8_t* comic_tiles_import_cfg_t::atlas |
Atlas memstore backing (out-lives tile fetch).
Definition at line 136 of file comic_tiles.h.
| size_t comic_tiles_import_cfg_t::atlas_cap |
Capacity of atlas in bytes.
Definition at line 137 of file comic_tiles.h.
| uint8_t comic_tiles_import_cfg_t::codec |
jof_codec_t member.
Definition at line 129 of file comic_tiles.h.
| uint16_t comic_tiles_import_cfg_t::max_height |
Height budget cap (0 = format cap).
Definition at line 131 of file comic_tiles.h.
| uint16_t comic_tiles_import_cfg_t::max_width |
Width budget cap (0 = format cap).
Definition at line 130 of file comic_tiles.h.
| uint16_t comic_tiles_import_cfg_t::tile_h |
Tile height, pixels (>= 1).
Definition at line 128 of file comic_tiles.h.
| uint16_t comic_tiles_import_cfg_t::tile_w |
Tile width, pixels (>= 1).
Definition at line 127 of file comic_tiles.h.
| uint8_t* comic_tiles_import_cfg_t::webp_work |
WebP whole-frame arena, or NULL to reject WebP.
Definition at line 134 of file comic_tiles.h.
| size_t comic_tiles_import_cfg_t::webp_work_cap |
WebP arena size (jof_webp_work_bytes()).
Definition at line 135 of file comic_tiles.h.
| size_t comic_tiles_import_cfg_t::work_cap |
Arena size (jof_work_bytes()).
Definition at line 133 of file comic_tiles.h.