119 Frame* frame, fl::u32 timeout_ms,
120 float* progress_out =
nullptr,
124 Frame* frame, fl::u32 max_time_per_chunk_ms = 4,
static bool decodeWithTimeout(const JpegConfig &config, fl::span< const fl::u8 > data, Frame *frame, fl::u32 timeout_ms, float *progress_out=nullptr, fl::string *error_message=nullptr) FL_NO_EXCEPT
static bool decode(const JpegConfig &config, fl::span< const fl::u8 > data, Frame *frame, fl::string *error_message=nullptr) FL_NO_EXCEPT
static bool isSupported() FL_NO_EXCEPT
static bool decodeStream(const JpegConfig &config, fl::filebuf_ptr input_stream, Frame *frame, fl::u32 max_time_per_chunk_ms=4, fl::function< bool(float)> progress_callback={}) FL_NO_EXCEPT
static JpegInfo parseInfo(fl::span< const fl::u8 > data, fl::string *error_message=nullptr) FL_NO_EXCEPT
static JpegDecoderPtr createDecoder(const JpegConfig &config) FL_NO_EXCEPT
bool needsMoreData() const FL_NO_EXCEPT
fl::unique_ptr< Impl > mImpl
fl::u16 getDecodedRows() const FL_NO_EXCEPT
bool isReady() const FL_NO_EXCEPT override
JpegDecoder(const JpegConfig &config) FL_NO_EXCEPT
Frame getPartialFrame() FL_NO_EXCEPT
void end() FL_NO_EXCEPT override
fl::size getBytesProcessed() const FL_NO_EXCEPT
DecodeResult decode() FL_NO_EXCEPT override
static bool NeverYeildUntilDone() FL_NO_EXCEPT
bool begin(fl::filebuf_ptr stream) FL_NO_EXCEPT override
ProgressiveConfig getProgressiveConfig() const FL_NO_EXCEPT
void setProgressiveConfig(const ProgressiveConfig &config) FL_NO_EXCEPT
Frame getCurrentFrame() FL_NO_EXCEPT override
State getState() const FL_NO_EXCEPT
bool feedData(fl::span< const fl::u8 > data) FL_NO_EXCEPT
bool hasMoreFrames() const FL_NO_EXCEPT override
float getProgress() const FL_NO_EXCEPT
fl::function< bool()> YieldFunction
~JpegDecoder() FL_NO_EXCEPT override
bool hasError(fl::string *msg=nullptr) const FL_NO_EXCEPT override
bool hasPartialImage() const FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
fl::shared_ptr< filebuf > filebuf_ptr
fl::shared_ptr< JpegDecoder > JpegDecoderPtr
Base definition for an LED controller.
JpegConfig() FL_NO_EXCEPT=default
JpegInfo() FL_NO_EXCEPT=default
fl::u8 bits_per_component
fl::u16 max_mcus_per_tick
bool yield_on_row_complete
fl::size input_buffer_size
ProgressiveConfig() FL_NO_EXCEPT=default
fl::u32 max_time_per_tick_ms