Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

Unified Diff: include/core/SkYUVSizeInfo.h

Issue 1775493002: Revert of Update Skia's YUV API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkPixelRef.h ('k') | src/codec/SkCodecImageGenerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkYUVSizeInfo.h
diff --git a/include/core/SkYUVSizeInfo.h b/include/core/SkYUVSizeInfo.h
deleted file mode 100644
index 2c5a51d794b024e9e30caca73942b191c57d537b..0000000000000000000000000000000000000000
--- a/include/core/SkYUVSizeInfo.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright 2016 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkYUVSizeInfo_DEFINED
-#define SkYUVSizeInfo_DEFINED
-
-struct SkYUVSizeInfo {
- enum {
- kY = 0,
- kU = 1,
- kV = 2,
- };
- SkISize fSizes[3];
-
- /**
- * While the widths of the Y, U, and V planes are not restricted, the
- * implementation often requires that the width of the memory allocated
- * for each plane be a multiple of 8.
- *
- * This struct allows us to inform the client how many "widthBytes"
- * that we need. Note that we use the new idea of "widthBytes"
- * because this idea is distinct from "rowBytes" (used elsewhere in
- * Skia). "rowBytes" allow the last row of the allocation to not
- * include any extra padding, while, in this case, every single row of
- * the allocation must be at least "widthBytes".
- */
- size_t fWidthBytes[3];
-};
-
-#endif // SkYUVSizeInfo_DEFINED
« no previous file with comments | « include/core/SkPixelRef.h ('k') | src/codec/SkCodecImageGenerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698