blob: 805dc0cc0e33cbcb7fe99d487b37c11807e5c2d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* 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
|