| 1 |
/* |
| 2 |
* Copyright 2015 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 SkEncodedImageFormat_DEFINED |
| 9 |
#define SkEncodedImageFormat_DEFINED |
| 10 |
|
| 11 |
#include <stdint.h> |
| 12 |
|
| 13 |
/** |
| 14 |
* Enum describing format of encoded data. |
| 15 |
*/ |
| 16 |
enum class SkEncodedImageFormat { |
| 17 |
kBMP, |
| 18 |
kGIF, |
| 19 |
kICO, |
| 20 |
kJPEG, |
| 21 |
kPNG, |
| 22 |
kWBMP, |
| 23 |
kWEBP, |
| 24 |
kPKM, |
| 25 |
kKTX, |
| 26 |
kASTC, |
| 27 |
kDNG, |
| 28 |
kHEIF, |
| 29 |
kAVIF, |
| 30 |
kJPEGXL, |
| 31 |
}; |
| 32 |
|
| 33 |
#endif // SkEncodedImageFormat_DEFINED |