#ifndef SkGifDecoder_DEFINED
#define SkGifDecoder_DEFINED
#include "include/codec/SkCodec.h"
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkAPI.h"
class SkData;
class SkStream;
#include <memory>
namespace SkGifDecoder {
SK_API bool IsGif(const void*, size_t);
SK_API std::unique_ptr<SkCodec> Decode(std::unique_ptr<SkStream>,
SkCodec::Result*,
SkCodecs::DecodeContext = nullptr);
SK_API std::unique_ptr<SkCodec> Decode(sk_sp<SkData>,
SkCodec::Result*,
SkCodecs::DecodeContext = nullptr);
inline constexpr SkCodecs::Decoder Decoder() { … }
}
#endif