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 #ifdef SK_BUILD_FOR_GOOGLE3 18 kUnknown, 19 #endif 20 kBMP, 21 kGIF, 22 kICO, 23 kJPEG, 24 kPNG, 25 kWBMP, 26 kWEBP, 27 kPKM, 28 kKTX, 29 kASTC, 30 kDNG, 31 kHEIF, 32 kAVIF, 33 kJPEGXL, 34 }; 35 36 #endif // SkEncodedImageFormat_DEFINED 37