|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Pull adapter that replays the sniffed head bytes, then delegates. More...
#include <jof_internal.h>
Data Fields | |
| const uint8_t * | head |
| Sniffed bytes to replay. | |
| size_t | head_len |
| Sniffed byte count. | |
| size_t | pos |
| Replay cursor. | |
| jof_pull_fn | inner |
| Real source. | |
| void * | inner_ctx |
| Context for the source. | |
Pull adapter that replays the sniffed head bytes, then delegates.
The producer must peek the source magic before choosing a decoder, but every decoder expects the stream from byte 0; this adapter serves the peeked bytes first, then transparently delegates to the inner source. Shared so the WebP arm can pull its whole compressed source through the same replay as the streaming decoders.
Definition at line 192 of file jof_internal.h.
| const uint8_t* jof_prefix_pull_t::head |
Sniffed bytes to replay.
Definition at line 193 of file jof_internal.h.
Referenced by priv_jof_prefix_pull().
| size_t jof_prefix_pull_t::head_len |
Sniffed byte count.
Definition at line 194 of file jof_internal.h.
Referenced by priv_jof_prefix_pull().
| jof_pull_fn jof_prefix_pull_t::inner |
| void* jof_prefix_pull_t::inner_ctx |
Context for the source.
Definition at line 197 of file jof_internal.h.
Referenced by priv_jof_prefix_pull().
| size_t jof_prefix_pull_t::pos |