eb7f960705
Fix: Do not use std::optional. Bug: b/141654151 Change-Id: I6237db0d55b1ea92f7be3588a2b648b9e6014e3f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331878 Reviewed-by: Vignesh Venkatasubramanian <vigneshv@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
36 lines
556 B
C
36 lines
556 B
C
/*
|
|
* 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 {
|
|
#ifdef SK_BUILD_FOR_GOOGLE3
|
|
kUnknown,
|
|
#endif
|
|
kBMP,
|
|
kGIF,
|
|
kICO,
|
|
kJPEG,
|
|
kPNG,
|
|
kWBMP,
|
|
kWEBP,
|
|
kPKM,
|
|
kKTX,
|
|
kASTC,
|
|
kDNG,
|
|
kHEIF,
|
|
kAVIF,
|
|
};
|
|
|
|
#endif // SkEncodedImageFormat_DEFINED
|