|
FastLED 3.9.15
|
Software GIF decoder implementation using libnsgif.
This decoder provides full animated GIF support through the FastLED IDecoder interface, enabling streaming decode of GIF animations with proper frame timing and disposal method handling.
Definition at line 42 of file software_decoder.h.
#include <software_decoder.h>
Inheritance diagram for fl::third_party::SoftwareGifDecoder:
Collaboration diagram for fl::third_party::SoftwareGifDecoder:Private Member Functions | |
| void | cleanupDecoder () FL_NOEXCEPT |
| fl::shared_ptr< fl::Frame > | convertBitmapToFrame (nsgif_bitmap_t *bitmap) FL_NOEXCEPT |
| bool | initializeDecoder () FL_NOEXCEPT |
| bool | loadMoreData () FL_NOEXCEPT |
| void | setError (const fl::string &message) FL_NOEXCEPT |
Static Private Member Functions | |
| static nsgif_bitmap_t * | bitmapCreate (int width, int height) FL_NOEXCEPT |
| static void | bitmapDestroy (nsgif_bitmap_t *bitmap) FL_NOEXCEPT |
| static fl::u8 * | bitmapGetBuffer (nsgif_bitmap_t *bitmap) FL_NOEXCEPT |
Private Attributes | |
| fl::shared_ptr< fl::Frame > | currentFrame_ |
| fl::u32 | currentFrameIndex_ |
| fl::vector< fl::u8 > | dataBuffer_ |
| bool | dataComplete_ |
| bool | endOfStream_ |
| fl::string | errorMessage_ |
| nsgif_t * | gif_ |
| bool | hasError_ |
| bool | ready_ |
| fl::filebuf_ptr | stream_ |
Static Private Attributes | |
| static nsgif_bitmap_cb_vt | bitmapCallbacks_ |