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

One container's headless self-check result (page 0 decode digest). More...

#include <sh_app.h>

Data Fields

bool ok
 true if page 0 opened + decoded successfully.
uint32_t pages
 Page count parsed from the archive.
int32_t w
 Blitted (fitted) page width in pixels.
int32_t h
 Blitted (fitted) page height in pixels.
uint32_t crc
 FNV-1a-32 over the decoded scratch framebuffer.

Detailed Description

One container's headless self-check result (page 0 decode digest).

Filled by sh_comic_selfcheck for the baked CBZ and CBR fixtures so the boot banner can pin the integrated comic decode + render path with a deterministic, toolchain-independent digest (integer decode).

Invariant
ok is true only when a page decoded and crc is meaningful.
Since
0.1.0

Definition at line 686 of file sh_app.h.

Field Documentation

◆ crc

uint32_t sh_comic_probe_t::crc

FNV-1a-32 over the decoded scratch framebuffer.

Definition at line 691 of file sh_app.h.

Referenced by sh_comic_append_banner(), and sh_comic_probe_blob().

◆ h

int32_t sh_comic_probe_t::h

Blitted (fitted) page height in pixels.

Definition at line 690 of file sh_app.h.

Referenced by sh_comic_probe_blob().

◆ ok

bool sh_comic_probe_t::ok

true if page 0 opened + decoded successfully.

Definition at line 687 of file sh_app.h.

Referenced by sh_comic_probe_blob().

◆ pages

uint32_t sh_comic_probe_t::pages

Page count parsed from the archive.

Definition at line 688 of file sh_app.h.

Referenced by sh_comic_probe_blob().

◆ w

int32_t sh_comic_probe_t::w

Blitted (fitted) page width in pixels.

Definition at line 689 of file sh_app.h.

Referenced by sh_comic_probe_blob().


The documentation for this struct was generated from the following file:
  • examples/ek_ra8d2/hil_needs_revalidation/ereader_shelf/inc/sh_app.h