1840{
1841 fl::u32 next = *frame;
1842
1843 do {
1848
1851 }
1852
1853 if (
delay !=
nullptr) {
1855 }
1856
1858
1859 *frame = next;
1861}
@ NSGIF_ERR_END_OF_DATA
Unexpected end of GIF source data.
@ NSGIF_ERR_FRAME_DISPLAY
The current frame cannot be displayed.
static fl::u32 nsgif__frame_next(const nsgif_t *gif, bool partial, fl::u32 frame) FL_NOEXCEPT
nsgif_frame * frames
decoded frames
bool display
whether the frame should be displayed/animated
fl::u32 delay
delay (in cs) before animating the frame
struct nsgif_frame_info info
bool data_complete
Whether all the GIF data has been supplied, or if there may be more to come.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
#define NSGIF_FRAME_INVALID
Internal flag that a frame is invalid/unprocessed.