forked from google/skia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some codec-related headers out of core
- `SkEncodedImageFormat.h` -> include/codec - `SkPngChunkReader.h` -> include/codec - `SkICC.h` -> include/encode - `SkICC.cpp` -> src/encode - `SkICCPriv.h` -> src/encode Bug: skia:13983 Change-Id: I92d09820587804dc7e3abd3a88a7679e0b56b809 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/660381 Reviewed-by: Ben Wagner <[email protected]> Owners-Override: Kevin Lubick <[email protected]>
- Loading branch information
Showing
71 changed files
with
177 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* 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, | ||
kJPEGXL, | ||
}; | ||
|
||
#endif // SkEncodedImageFormat_DEFINED |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,9 @@ | ||
/* | ||
* Copyright 2015 Google Inc. | ||
* Copyright 2023 Google LLC | ||
* | ||
* 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, | ||
kJPEGXL, | ||
}; | ||
|
||
#endif // SkEncodedImageFormat_DEFINED | ||
// TODO(kjlubick) remove this shim after clients have been moved to the new location | ||
#include "include/codec/SkEncodedImageFormat.h" // IWYU pragma: export |
Oops, something went wrong.