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

Identifies one decoded image tile. More...

#include <ra8_tile_cache.h>

Data Fields

uint32_t image_id
 Source image identifier.
uint16_t tile_x
 Tile column index (in tile units).
uint16_t tile_y
 Tile row index (in tile units).
uint16_t zoom
 Zoom / mip level (0 = native).
uint16_t reserved
 Reserved; keep zero (padding-free byte-wise key).

Detailed Description

Identifies one decoded image tile.

Compared byte-wise by the underlying ::ra8_keycache, so the struct must be fully initialised before use: zero-fill it (e.g. = {}) before setting the fields so the reserved padding never carries indeterminate bytes. The layout is padding-free (12 bytes).

Since
0.1.0

Definition at line 63 of file ra8_tile_cache.h.

Field Documentation

◆ image_id

uint32_t ra8_tile_key_t::image_id

Source image identifier.

Definition at line 64 of file ra8_tile_cache.h.

Referenced by internal_draw_band(), and internal_warm_band().

◆ reserved

uint16_t ra8_tile_key_t::reserved

Reserved; keep zero (padding-free byte-wise key).

Definition at line 68 of file ra8_tile_cache.h.

◆ tile_x

uint16_t ra8_tile_key_t::tile_x

Tile column index (in tile units).

Definition at line 65 of file ra8_tile_cache.h.

Referenced by ez_tile_decode(), internal_draw_band(), internal_warm_band(), longstrip_tile_decode(), mem_tile_decode(), mem_tile_touch(), and mg_tile_decode().

◆ tile_y

uint16_t ra8_tile_key_t::tile_y

Tile row index (in tile units).

Definition at line 66 of file ra8_tile_cache.h.

Referenced by ez_tile_decode(), internal_draw_band(), internal_warm_band(), longstrip_tile_decode(), ls_band_decode(), and mg_tile_decode().

◆ zoom

uint16_t ra8_tile_key_t::zoom

Zoom / mip level (0 = native).

Definition at line 67 of file ra8_tile_cache.h.

Referenced by internal_draw_band(), and internal_warm_band().


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