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

Private Member Functions

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

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: