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

Baked minimal EPUB3 with a real PNG cover (cover-image manifest item). More...

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

Go to the source code of this file.

Enumerations

enum  : size_t { k_epub_cover_fixture_len = 1975U }
 Length of the baked cover EPUB blob, bytes. More...

Variables

static const uint8_t k_epub_cover_fixture [k_epub_cover_fixture_len]
 Baked cover-art EPUB3 byte stream.

Detailed Description

Baked minimal EPUB3 with a real PNG cover (cover-image manifest item).

A 96x144 four-band RGB PNG cover wrapped in a one-chapter EPUB3, byte-identical run to run. The ereader_cover gate opens it in memory (epub_open), extracts the cover (epub_get_cover_image), and decode+scale+blits it (ra8_img_decode_blit); the framebuffer hash in hil.conf pins the result. Generated by examples/ek_ra8d2/hw_pending/ ereader_cover/scripts/make_cover_fixture.py. Pure ASCII.

Definition in file epub_cover_fixture.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : size_t

Length of the baked cover EPUB blob, bytes.

Enumerator
k_epub_cover_fixture_len 

EPUB cover fixture length.

Definition at line 21 of file epub_cover_fixture.h.

Variable Documentation

◆ k_epub_cover_fixture

const uint8_t k_epub_cover_fixture[k_epub_cover_fixture_len]
static

Baked cover-art EPUB3 byte stream.

Definition at line 24 of file epub_cover_fixture.h.

Referenced by ec_render_cover_or_halt().