#ifndef SkBmpDecoder_DEFINED
#define SkBmpDecoder_DEFINED
#include "include/codec/SkCodec.h"
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkAPI.h"
class SkData;
class SkStream;
#include <memory>
namespace SkBmpDecoder {
SK_API bool IsBmp(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