commit | d06d2a6d42baf6c0c91cacc28df2542a911d05fe | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Feb 05 14:41:29 2020 -0500 |
committer | Mike Klein <mtklein@google.com> | Wed Feb 05 20:12:02 2020 +0000 |
tree | 0b8c30f98a8b2e801fd9dbe2687d2d3bfc48daf5 | |
parent | 38d9c73f49b861bb4a9829371ac311544b120023 [diff] |
Stop using Skia's custom min function Change-Id: I0644ec5966cbedd015764e797f53713e4cdaa89e Reviewed-on: https://skia-review.googlesource.com/c/libgifcodec/+/268900 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@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.