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

Deterministic boot self-check results (the app's golden numbers). More...

#include <ez_scene.h>

Data Fields

uint32_t crc_1x
 Hash after the opening 1:1 render.
uint32_t crc_pan
 Hash after one right-pan step at 1:1.
uint32_t crc_2x
 Hash after zooming to 2x at a fixed point.
uint32_t crc_lens
 Hash after opening the 4x loupe.
uint32_t hits
 Tile-cache hits over the whole sequence.
uint32_t misses
 Tile-cache misses (decodes).
uint32_t evictions
 Tile-cache evictions.
uint16_t warmed
 Tiles warmed by the pan read-ahead.

Detailed Description

Deterministic boot self-check results (the app's golden numbers).

Four framebuffer hashes taken after four scripted viewport states, plus the tile cache's own counters. Because the render is pure integer these are identical on the unit-test host, in ra8_emulator and on silicon – which is what makes them a usable golden.

Invariant
All four hashes differ (each stage changes visible pixels).
Example:
ez_selftest_t st = {};
(void)ez_scene_selftest(&scene, &st);
ra8_err_t ez_scene_selftest(ez_scene_t *s, ez_selftest_t *out)
Drive the scene through the scripted boot self-check.
Definition ez_scene.c:861
Deterministic boot self-check results (the app's golden numbers).
Definition ez_scene.h:305
See also
ez_scene_selftest
Since
0.1.0

Definition at line 305 of file ez_scene.h.

Field Documentation

◆ crc_1x

uint32_t ez_selftest_t::crc_1x

Hash after the opening 1:1 render.

Definition at line 306 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_selftest_stages().

◆ crc_2x

uint32_t ez_selftest_t::crc_2x

Hash after zooming to 2x at a fixed point.

Definition at line 308 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_selftest_zoom().

◆ crc_lens

uint32_t ez_selftest_t::crc_lens

Hash after opening the 4x loupe.

Definition at line 309 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_selftest_lens().

◆ crc_pan

uint32_t ez_selftest_t::crc_pan

Hash after one right-pan step at 1:1.

Definition at line 307 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_selftest_pan().

◆ evictions

uint32_t ez_selftest_t::evictions

Tile-cache evictions.

Definition at line 312 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_scene_selftest().

◆ hits

uint32_t ez_selftest_t::hits

Tile-cache hits over the whole sequence.

Definition at line 310 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_scene_selftest().

◆ misses

uint32_t ez_selftest_t::misses

Tile-cache misses (decodes).

Definition at line 311 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_scene_selftest().

◆ warmed

uint16_t ez_selftest_t::warmed

Tiles warmed by the pan read-ahead.

Definition at line 313 of file ez_scene.h.

Referenced by ez_print_banner(), and ez_selftest_pan().


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