aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkEncodedImageFormat.h
blob: d0a9e5e0caa8e08fa7fdc75a7eb99e3466c94ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkEncodedImageFormat_DEFINED
#define SkEncodedImageFormat_DEFINED

#include <stdint.h>

/**
 *  Enum describing format of encoded data.
 */
enum class SkEncodedImageFormat {
#ifdef SK_BUILD_FOR_GOOGLE3
    kUnknown,
#endif
    kBMP,
    kGIF,
    kICO,
    kJPEG,
    kPNG,
    kWBMP,
    kWEBP,
    kPKM,
    kKTX,
    kASTC,
    kDNG,
    kHEIF,
};

#endif  // SkEncodedImageFormat_DEFINED