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

A pinned view of a cached tile returned by ra8_tile_cache_get. More...

#include <ra8_tile_cache.h>

Data Fields

const uint8_t * pixels
 Decoded tile pixels (cell payload).
uint16_t width
 Decoded tile width in pixels.
uint16_t height
 Decoded tile height in pixels.

Detailed Description

A pinned view of a cached tile returned by ra8_tile_cache_get.

pixels points into the cache cell and stays valid until the matching ra8_tile_cache_put. The pixel format and stride are an agreement between the caller and its decoder (e.g. RGB565, width*2 bytes/row).

Since
0.1.0

Definition at line 103 of file ra8_tile_cache.h.

Field Documentation

◆ height

uint16_t ra8_tile_t::height

Decoded tile height in pixels.

Definition at line 106 of file ra8_tile_cache.h.

Referenced by cm_ct_hash_tiles(), internal_draw_band(), and mg_blit_tile().

◆ pixels

const uint8_t* ra8_tile_t::pixels

Decoded tile pixels (cell payload).

Definition at line 104 of file ra8_tile_cache.h.

Referenced by cm_ct_hash_tiles(), internal_draw_band(), internal_warm_band(), mem_tile_touch(), mg_blit_tile(), and mg_render_page().

◆ width

uint16_t ra8_tile_t::width

Decoded tile width in pixels.

Definition at line 105 of file ra8_tile_cache.h.

Referenced by cm_ct_hash_tiles(), internal_draw_band(), and mg_blit_tile().


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