2016-11-23 15:55:18 +00:00
|
|
|
/*
|
|
|
|
* 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 {
|
2017-12-19 14:09:33 +00:00
|
|
|
#ifdef SK_BUILD_FOR_GOOGLE3
|
2016-11-23 15:55:18 +00:00
|
|
|
kUnknown,
|
|
|
|
#endif
|
|
|
|
kBMP,
|
|
|
|
kGIF,
|
|
|
|
kICO,
|
|
|
|
kJPEG,
|
|
|
|
kPNG,
|
|
|
|
kWBMP,
|
|
|
|
kWEBP,
|
|
|
|
kPKM,
|
|
|
|
kKTX,
|
|
|
|
kASTC,
|
|
|
|
kDNG,
|
2017-08-17 19:13:20 +00:00
|
|
|
kHEIF,
|
2020-11-04 22:13:39 +00:00
|
|
|
kAVIF,
|
2022-02-02 13:45:33 +00:00
|
|
|
kJPEGXL,
|
2016-11-23 15:55:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SkEncodedImageFormat_DEFINED
|