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

Decode-on-miss context bound into the tile cache (DIP seam). More...

#include <mg_reader.h>

Collaboration diagram for mg_tile_src_t:

Data Fields

const jof_info_tinfo
 Parsed atlas geometry.
jof_pread_fn pread
 Atlas positioned-read seam.
void * pread_ctx
 Context for pread.
uint8_t * scratch
 Deflate stored-stream staging.
uint32_t scratch_cap
 Capacity of scratch.

Detailed Description

Decode-on-miss context bound into the tile cache (DIP seam).

Holds everything mg_tile_decode needs to page one tile out of the produced JOF atlas: the parsed geometry, the atlas positioned-read seam, and a scratch staging buffer for the deflate tile codec. The pointed-at objects must out-live the cache.

Since
0.1.0

Definition at line 101 of file mg_reader.h.

Field Documentation

◆ info

const jof_info_t* mg_tile_src_t::info

Parsed atlas geometry.

Definition at line 102 of file mg_reader.h.

Referenced by mg_tile_decode().

◆ pread

jof_pread_fn mg_tile_src_t::pread

Atlas positioned-read seam.

Definition at line 103 of file mg_reader.h.

Referenced by mg_tile_decode().

◆ pread_ctx

void* mg_tile_src_t::pread_ctx

Context for pread.

Definition at line 104 of file mg_reader.h.

Referenced by mg_tile_decode().

◆ scratch

uint8_t* mg_tile_src_t::scratch

Deflate stored-stream staging.

Definition at line 105 of file mg_reader.h.

Referenced by mg_tile_decode().

◆ scratch_cap

uint32_t mg_tile_src_t::scratch_cap

Capacity of scratch.

Definition at line 106 of file mg_reader.h.

Referenced by mg_tile_decode().


The documentation for this struct was generated from the following file:
  • examples/ek_ra8d2/hw_pending/ereader_manga/inc/mg_reader.h