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

Baked demo manga page for the ereader_manga viewer. More...

#include <stdint.h>
Include dependency graph for mg_page_fixture.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const uint8_t k_mg_png []
 Baked 19680-byte 1536x2048 grayscale PNG page.
static const uint32_t k_mg_png_len = (uint32_t)sizeof(k_mg_png)
 Length of k_mg_png in bytes.

Detailed Description

Baked demo manga page for the ereader_manga viewer.

@generated by scripts/gen/gen_manga_page_fixture.py – do not edit by hand.

One 1536x2048 8-bit grayscale PNG, larger than the 1024x600 panel, laid out as a 6x8 grid of 256px tiles. Each tile is a distinct solid gray with a black inner frame and a big blocky "C<col>R<row>" label, so panning the viewport across the page visibly changes which labels are on screen. The page is the source jof_produce() transcodes into a JOF atlas at boot; it decodes to identical pixels on host, ra8_emulator and silicon.

Regenerate: python3 scripts/gen/gen_manga_page_fixture.py

Definition in file mg_page_fixture.h.

Variable Documentation

◆ k_mg_png

const uint8_t k_mg_png[]
static

Baked 19680-byte 1536x2048 grayscale PNG page.

Definition at line 24 of file mg_page_fixture.h.

Referenced by mg_build_atlas().

◆ k_mg_png_len

const uint32_t k_mg_png_len = (uint32_t)sizeof(k_mg_png)
static

Length of k_mg_png in bytes.

Definition at line 1258 of file mg_page_fixture.h.

Referenced by mg_build_atlas().