FastLED 3.9.15
Loading...
Searching...
No Matches
fl::JpegDecoder::Impl Class Reference

Detailed Description

Definition at line 37 of file jpeg.cpp.hpp.

#include <jpeg.cpp.hpp>

+ Collaboration diagram for fl::JpegDecoder::Impl:

Public Member Functions

 Impl (const JpegConfig &config)
 
 ~Impl () FL_NOEXCEPT=default
 
bool begin (fl::filebuf_ptr stream)
 
DecodeResult decode (fl::optional< fl::function< bool()> > should_yield)
 
void end ()
 
bool feedData (fl::span< const fl::u8 > data)
 
fl::size getBytesProcessed () const
 
Frame getCurrentFrame ()
 
fl::u16 getDecodedRows () const
 
Frame getPartialFrame ()
 
float getProgress () const
 
ProgressiveConfig getProgressiveConfig () const
 
JpegDecoder::State getState () const
 
bool hasError (fl::string *msg=nullptr) const
 
bool hasMoreFrames () const
 
bool hasPartialImage () const
 
bool isReady () const
 
bool needsMoreData () const
 
bool processChunk ()
 
void setProgressiveConfig (const ProgressiveConfig &config)
 

Private Member Functions

fl::u8 getScale () const
 
void setError (const fl::string &message)
 

Private Attributes

JpegConfig mConfig
 
fl::third_party::TJpgInstanceDecoderPtr mDriver
 
fl::string mErrorMessage
 
bool mHasError
 
float mProgress
 
JpegDecoder::State mState
 
ProgressiveConfig progressive_mConfig
 

The documentation for this class was generated from the following file: