diff options
author | Jiyong <jiyong.min@samsung.com> | 2023-12-26 10:55:00 +0900 |
---|---|---|
committer | Jiyong <jiyong.min@samsung.com> | 2023-12-26 11:08:07 +0900 |
commit | 3b773d382e34fcfc7c8995d8bd681a6ef0529b02 (patch) | |
tree | 2dd316dd1fb388662a34065d3e15b2298384fbfe /lib/extras/dec/gif.h | |
parent | 7fa2aaed0a5c855460b77fb1fedcc01591ff6470 (diff) | |
download | libjxl-upstream/0.9.0.tar.gz libjxl-upstream/0.9.0.tar.bz2 libjxl-upstream/0.9.0.zip |
Imported Upstream version 0.9.0upstream/0.9.0upstream
Change-Id: I60862786d19d92bb65425923bfeaa8ec236d8722
Diffstat (limited to 'lib/extras/dec/gif.h')
-rw-r--r-- | lib/extras/dec/gif.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/extras/dec/gif.h b/lib/extras/dec/gif.h index b359517..4d5be86 100644 --- a/lib/extras/dec/gif.h +++ b/lib/extras/dec/gif.h @@ -15,14 +15,19 @@ #include "lib/jxl/base/data_parallel.h" #include "lib/jxl/base/span.h" #include "lib/jxl/base/status.h" -#include "lib/jxl/codec_in_out.h" namespace jxl { + +struct SizeConstraints; + namespace extras { +bool CanDecodeGIF(); + // Decodes `bytes` into `ppf`. color_hints are ignored. Status DecodeImageGIF(Span<const uint8_t> bytes, const ColorHints& color_hints, - const SizeConstraints& constraints, PackedPixelFile* ppf); + PackedPixelFile* ppf, + const SizeConstraints* constraints = nullptr); } // namespace extras } // namespace jxl |