|
FastLED 3.9.15
|
#include <jpeg.h>
Inheritance diagram for fl::JpegDecoder:
Collaboration diagram for fl::JpegDecoder:Classes | |
| class | Impl |
Public Types | |
| enum class | State { NotStarted , HeaderParsed , Decoding , Complete , Error } |
| using | YieldFunction = fl::function<bool()> |
Public Member Functions | |
| JpegDecoder (const JpegConfig &config) | |
| ~JpegDecoder () FL_NOEXCEPT override | |
| bool | begin (fl::filebuf_ptr stream) override |
| DecodeResult | decode () override |
| DecodeResult | decode (fl::optional< fl::function< bool()> > should_yield) |
| void | end () override |
| bool | feedData (fl::span< const fl::u8 > data) |
| fl::size | getBytesProcessed () const |
| Frame | getCurrentFrame () override |
| fl::u16 | getDecodedRows () const |
| Frame | getPartialFrame () |
| float | getProgress () const |
| ProgressiveConfig | getProgressiveConfig () const |
| State | getState () const |
| bool | hasError (fl::string *msg=nullptr) const override |
| bool | hasMoreFrames () const override |
| bool | hasPartialImage () const |
| bool | isReady () const override |
| bool | needsMoreData () const |
| void | setProgressiveConfig (const ProgressiveConfig &config) |
Public Member Functions inherited from fl::IDecoder | |
| virtual | ~IDecoder () FL_NOEXCEPT=default |
| virtual int | getAudioSampleRate () const |
| virtual fl::u32 | getCurrentFrameIndex () const |
| virtual fl::u32 | getFrameCount () const |
| virtual bool | hasAudio () const |
| virtual bool | seek (fl::u32 frameIndex) |
| virtual void | setAudioCallback (AudioFrameCallback callback) |
Static Public Member Functions | |
| static bool | NeverYeildUntilDone () |
Private Attributes | |
| fl::unique_ptr< Impl > | mImpl |