| 234 | } |
| 235 | |
| 236 | DecodeResult JpegDecoder::decode() { |
| 237 | return mImpl->decode(fl::nullopt); // No callback - process to completion |
| 238 | } |
| 239 | |
| 240 | DecodeResult JpegDecoder::decode(fl::optional<fl::function<bool()>> should_yield) { |
| 241 | return mImpl->decode(should_yield); |