blob: 805dc0cc0e33cbcb7fe99d487b37c11807e5c2d4 [file] [log] [blame]
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkWuffsCodec_DEFINED
#define SkWuffsCodec_DEFINED
#include "include/codec/SkCodec.h"
#include <cstddef>
#include <memory>
class SkStream;
// These functions' types match DecoderProc in SkCodec.cpp.
bool SkWuffsCodec_IsFormat(const void*, size_t);
std::unique_ptr<SkCodec> SkWuffsCodec_MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);
#endif // SkWuffsCodec_DEFINED