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

Caller-supplied storage + decoder for ra8_tile_cache_init. More...

#include <ra8_tile_cache.h>

Collaboration diagram for ra8_tile_cache_cfg_t:

Data Fields

uint8_t * cell_mem
 cell_count * cell_bytes of tile storage.
uint32_t cell_bytes
 Bytes per cell (max decoded tile).
uint32_t cell_count
 Number of cells.
ra8_keycache_cell_tmeta
 cell_count link-metadata entries.
ra8_tile_key_tkeys
 cell_count key-storage entries.
ra8_tile_dims_tdims
 cell_count dimension descriptors.
int32_t * buckets
 bucket_count hash-bucket heads.
uint32_t bucket_count
 Number of hash buckets (>= 1).
ra8_tile_decode_fn decode
 Decode-on-miss callback.
void * decode_ctx
 Opaque context passed to decode.

Detailed Description

Caller-supplied storage + decoder for ra8_tile_cache_init.

All arrays are caller-owned and must out-live the cache. meta, keys, and dims are parallel per-cell arrays (cell_count entries each); cell_mem holds the decoded tiles.

Since
0.1.0

Definition at line 142 of file ra8_tile_cache.h.

Field Documentation

◆ bucket_count

uint32_t ra8_tile_cache_cfg_t::bucket_count

Number of hash buckets (>= 1).

Definition at line 150 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ buckets

int32_t* ra8_tile_cache_cfg_t::buckets

bucket_count hash-bucket heads.

Definition at line 149 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ cell_bytes

uint32_t ra8_tile_cache_cfg_t::cell_bytes

Bytes per cell (max decoded tile).

Definition at line 144 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ cell_count

uint32_t ra8_tile_cache_cfg_t::cell_count

Number of cells.

Definition at line 145 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ cell_mem

uint8_t* ra8_tile_cache_cfg_t::cell_mem

cell_count * cell_bytes of tile storage.

Definition at line 143 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ decode

ra8_tile_decode_fn ra8_tile_cache_cfg_t::decode

Decode-on-miss callback.

Definition at line 151 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ decode_ctx

void* ra8_tile_cache_cfg_t::decode_ctx

Opaque context passed to decode.

Definition at line 152 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ dims

ra8_tile_dims_t* ra8_tile_cache_cfg_t::dims

cell_count dimension descriptors.

Definition at line 148 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ keys

ra8_tile_key_t* ra8_tile_cache_cfg_t::keys

cell_count key-storage entries.

Definition at line 147 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().

◆ meta

ra8_keycache_cell_t* ra8_tile_cache_cfg_t::meta

cell_count link-metadata entries.

Definition at line 146 of file ra8_tile_cache.h.

Referenced by ra8_tile_cache_init().


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