blob: 373c89c13170bdf7ba27a7055c8a56bb986bc045 [file] [log] [blame]
Leon Scroggins IIIe93ec682018-10-26 09:25:51 -04001/*
2 * Copyright 2018 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkWuffsCodec_DEFINED
9#define SkWuffsCodec_DEFINED
10
Mike Kleinc0bd9f92019-04-23 12:05:21 -050011#include "include/codec/SkCodec.h"
Leon Scroggins IIIe93ec682018-10-26 09:25:51 -040012
13// These functions' types match DecoderProc in SkCodec.cpp.
14bool SkWuffsCodec_IsFormat(const void*, size_t);
15std::unique_ptr<SkCodec> SkWuffsCodec_MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);
16
17#endif // SkWuffsCodec_DEFINED