commit | 1ca4d249701d0e5005864c669538e2d4ec171010 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Nov 25 15:08:08 2020 -0500 |
committer | Leon Scroggins <scroggo@google.com> | Wed Dec 02 20:28:35 2020 +0000 |
tree | d5d568da4043f3f8712c3a7d360890596cf52221 | |
parent | b89e0a4edd6c0158b24730845e0e498969e22a16 [diff] |
Call fillIn() to appropriately fill in a FrameInfo Bug: b/160984428 Change-Id: I7e326ca0536799b2a72422c21faa78e83961e84f Reviewed-on: https://skia-review.googlesource.com/c/libgifcodec/+/339829 Reviewed-by: Nigel Tao <nigeltao@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
libgifcodec is based on a fork of libgif made by Chromium. It was copied into Skia with https://codereview.chromium.org/2045293002, as https://skia.googlesource.com/skia/+/19b91531e912283d237435d94516575b28713cba.
The header file SkGifCodec.h
exposes two functions:
bool SkGifCodec::IsGif(const void*, size_t);
std::unique_ptr<SkCodec> SkGifCodec::MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);
Which can be used by Skia's SkCodec::MakeFromStream
to implement GIF Decoding.
See LICENSE.md
for the license information.