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

Baked BMP + GIF test images for the ereader_imgfmt gate. More...

#include <stddef.h>
#include <stdint.h>
Include dependency graph for imgfmt_fixtures.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_bmp_len = 3654U }
 Length of the baked BMP image, bytes. More...
enum  : size_t { k_gif_len = 161U }
 Length of the baked GIF image, bytes. More...

Variables

static const uint8_t k_bmp [k_bmp_len]
 Baked 40x30 four-quadrant BMP image.
static const uint8_t k_gif [k_gif_len]
 Baked 40x30 four-quadrant GIF image.

Detailed Description

Baked BMP + GIF test images for the ereader_imgfmt gate.

The two stb_image formats (STBI_ONLY_BMP / STBI_ONLY_GIF) that had no example. Each is a 40x30 four-quadrant image, byte-identical run to run. Generated by examples/ek_ra8d2/hw_validated/hil/ereader_imgfmt/scripts/ make_imgfmt_fixtures.py. Pure ASCII, 16 bytes per row.

Definition in file imgfmt_fixtures.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : size_t

Length of the baked GIF image, bytes.

Enumerator
k_gif_len 

Gif length.

Definition at line 258 of file imgfmt_fixtures.h.

◆ anonymous enum

anonymous enum : size_t

Length of the baked BMP image, bytes.

Enumerator
k_bmp_len 

Bmp length.

Definition at line 19 of file imgfmt_fixtures.h.

Variable Documentation

◆ k_bmp

const uint8_t k_bmp[k_bmp_len]
static

Baked 40x30 four-quadrant BMP image.

Definition at line 24 of file imgfmt_fixtures.h.

Referenced by main().

◆ k_gif

const uint8_t k_gif[k_gif_len]
static
Initial value:
= {
0x47, 0x49, 0x46, 0x38, 0x37, 0x61, 0x28, 0x00, 0x1E, 0x00, 0x81, 0x00, 0x00, 0xD0, 0xA0, 0x18,
0x18, 0x90, 0x30, 0xC0, 0x10, 0x20, 0x20, 0x40, 0xC0, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00,
0x1E, 0x00, 0x40, 0x08, 0x7A, 0x00, 0x05, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x08, 0x09,
0x06, 0x58, 0xC8, 0xB0, 0xA1, 0xC3, 0x87, 0x10, 0x23, 0x36, 0x1C, 0x40, 0xB1, 0xA2, 0xC5, 0x8B,
0x18, 0x33, 0x6A, 0xB4, 0x08, 0xA0, 0xA3, 0xC7, 0x8F, 0x20, 0x43, 0x8A, 0x1C, 0xF9, 0x31, 0xA1,
0xC9, 0x93, 0x26, 0x25, 0xAA, 0x5C, 0xA9, 0x72, 0xA3, 0xCB, 0x97, 0x2E, 0x49, 0xCA, 0x9C, 0x29,
0x13, 0xA5, 0xCD, 0x9B, 0x38, 0x73, 0xA6, 0x64, 0xC9, 0xB3, 0x27, 0xCC, 0x9F, 0x40, 0x83, 0x0A,
0x8D, 0x49, 0xB3, 0xA8, 0xD1, 0xA3, 0x48, 0x49, 0xEA, 0x5C, 0xCA, 0xB4, 0xA9, 0xD3, 0xA7, 0x03,
0x7B, 0x4A, 0x9D, 0x4A, 0xB5, 0xAA, 0xD5, 0xAB, 0x58, 0xAF, 0x0E, 0xDD, 0xCA, 0xB5, 0xAB, 0xD7,
0xAF, 0x15, 0x93, 0x8A, 0x1D, 0x4B, 0xB6, 0xAC, 0xD9, 0xB3, 0x68, 0xD3, 0xCE, 0x0C, 0x08, 0x00,
0x3B,
}

Baked 40x30 four-quadrant GIF image.

Definition at line 263 of file imgfmt_fixtures.h.

Referenced by main().