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,
|
2016-11-23 15:55:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SkEncodedImageFormat_DEFINED
|