610{
618
623 data, transparency_index,
624 frame_data, colour_table);
625 } else {
628 data, transparency_index,
629 frame_data, colour_table);
630 }
631
633
635 }
636
637 return ret;
638}
static nsgif_error nsgif__decode_simple(struct nsgif *gif, fl::u32 height, fl::u32 offset_y, const fl::u8 *data, fl::u32 transparency_index, fl::u32 *frame_data, fl::u32 *colour_table) FL_NOEXCEPT
nsgif_error
LibNSGIF return codes.
@ NSGIF_ERR_END_OF_DATA
Unexpected end of GIF source data.
static nsgif_error nsgif__decode_complex(struct nsgif *gif, fl::u32 width, fl::u32 height, fl::u32 offset_x, fl::u32 offset_y, fl::u32 interlace, const fl::u8 *data, fl::u32 transparency_index, fl::u32 *frame_data, fl::u32 *colour_table) FL_NOEXCEPT
nsgif_rect_t rect
Frame's redraw rectangle.
fl::u32 rowspan
Row span of frame_image in pixels.
fl::u32 * colour_table
current colour table
fl::u32 y0
y co-ordinate of redraw rectangle, top
fl::u32 width
width of GIF (may increase during decoding)
bool interlaced
whether the frame is interlaced
fl::u32 transparency_index
the index designating a transparent pixel
fl::u32 x1
x co-ordinate of redraw rectangle, right
fl::u32 y1
y co-ordinate of redraw rectangle, bottom
fl::u32 x0
x co-ordinate of redraw rectangle, left
struct nsgif_frame_info info
bool data_complete
Whether all the GIF data has been supplied, or if there may be more to come.