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

Import-time transcode knobs: tile geometry, budget caps, work arena and the destination store. More...

#include <epub_img_tiles.h>

Collaboration diagram for epub_atlas_import_cfg_t:

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()).
epub_atlas_store_t store
 Destination atlas store.

Detailed Description

Import-time transcode knobs: tile geometry, budget caps, work arena and the destination store.

Mirrors the producer configuration (jof_produce.h) minus the source, which the import path streams from the archive entry itself. Size work with jof_work_bytes() over the same caps. webp_work is the optional whole-frame arena for WebP manifest images (size it with jof_webp_work_bytes()); leave it NULL to fail-closed reject WebP entries the way JPEG/PNG-only importers always did.

Invariant
tile_w/tile_h non-zero; work covers work_cap.
webp_work is NULL, or it covers webp_work_cap.
See also
epub_tile_binder_import()
Since
0.1.0

Definition at line 174 of file epub_img_tiles.h.

Field Documentation

◆ codec

uint8_t epub_atlas_import_cfg_t::codec

jof_codec_t member.

Definition at line 177 of file epub_img_tiles.h.

◆ max_height

uint16_t epub_atlas_import_cfg_t::max_height

Height budget cap (0 = format cap).

Definition at line 179 of file epub_img_tiles.h.

◆ max_width

uint16_t epub_atlas_import_cfg_t::max_width

Width budget cap (0 = format cap).

Definition at line 178 of file epub_img_tiles.h.

◆ store

epub_atlas_store_t epub_atlas_import_cfg_t::store

Destination atlas store.

Definition at line 184 of file epub_img_tiles.h.

◆ tile_h

uint16_t epub_atlas_import_cfg_t::tile_h

Tile height, pixels (>= 1).

Definition at line 176 of file epub_img_tiles.h.

◆ tile_w

uint16_t epub_atlas_import_cfg_t::tile_w

Tile width, pixels (>= 1).

Definition at line 175 of file epub_img_tiles.h.

◆ webp_work

uint8_t* epub_atlas_import_cfg_t::webp_work

WebP whole-frame arena, or NULL to reject WebP.

Definition at line 182 of file epub_img_tiles.h.

◆ webp_work_cap

size_t epub_atlas_import_cfg_t::webp_work_cap

WebP arena size (jof_webp_work_bytes()).

Definition at line 183 of file epub_img_tiles.h.

◆ work_cap

size_t epub_atlas_import_cfg_t::work_cap

Arena size (jof_work_bytes()).

Definition at line 181 of file epub_img_tiles.h.


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