|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Exclusive caller-owned scratch used by one raster conversion. More...
#include <ra8_rabook_raster.h>
Data Fields | |
| ra8_img_arena_t * | stb_arena |
| JPEG/PNG/GIF/BMP decoder arena. | |
| ra8_webp_arena_t * | webp_arena |
| WebP decoder scratch arena. | |
| uint8_t * | rgba |
| WebP RGBA frame storage. | |
| size_t | rgba_cap |
Capacity of rgba in bytes. | |
| uint8_t * | gray |
| Downscaled grayscale storage. | |
| size_t | gray_cap |
Capacity of gray in bytes. | |
Exclusive caller-owned scratch used by one raster conversion.
stb_image draws transient allocations from stb_arena. WebP decodes into rgba using webp_arena. gray is used only when a decoded source must be downscaled; the encoded payload is written to the separate output supplied to ra8_rabook_raster_encode.
rgba, gray, codec arena backing stores, source, and encoded destination do not overlap while a conversion is active. Definition at line 45 of file ra8_rabook_raster.h.
| uint8_t* ra8_rabook_raster_workspace_t::gray |
Downscaled grayscale storage.
Definition at line 50 of file ra8_rabook_raster.h.
Referenced by internal_scale().
| size_t ra8_rabook_raster_workspace_t::gray_cap |
Capacity of gray in bytes.
Definition at line 51 of file ra8_rabook_raster.h.
Referenced by internal_scale().
| uint8_t* ra8_rabook_raster_workspace_t::rgba |
WebP RGBA frame storage.
Definition at line 48 of file ra8_rabook_raster.h.
Referenced by internal_decode_webp().
| size_t ra8_rabook_raster_workspace_t::rgba_cap |
Capacity of rgba in bytes.
Definition at line 49 of file ra8_rabook_raster.h.
Referenced by internal_decode_webp().
| ra8_img_arena_t* ra8_rabook_raster_workspace_t::stb_arena |
JPEG/PNG/GIF/BMP decoder arena.
Definition at line 46 of file ra8_rabook_raster.h.
Referenced by internal_decode_stb().
| ra8_webp_arena_t* ra8_rabook_raster_workspace_t::webp_arena |
WebP decoder scratch arena.
Definition at line 47 of file ra8_rabook_raster.h.
Referenced by internal_decode_webp().