SkEncodedImageFormat.h 545 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef SkEncodedImageFormat_DEFINED
  8. #define SkEncodedImageFormat_DEFINED
  9. #include <stdint.h>
  10. /**
  11. * Enum describing format of encoded data.
  12. */
  13. enum class SkEncodedImageFormat {
  14. #ifdef SK_BUILD_FOR_GOOGLE3
  15. kUnknown,
  16. #endif
  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. };
  30. #endif // SkEncodedImageFormat_DEFINED