Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkYUVSizeInfo.h
1 /*
2  * Copyright 2016 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 SkYUVSizeInfo_DEFINED
9 #define SkYUVSizeInfo_DEFINED
10 
11 #include "SkSize.h"
12 
13 struct SkYUVSizeInfo {
14  enum {
15  kY = 0,
16  kU = 1,
17  kV = 2,
18  };
19  SkISize fSizes[3];
20 
33  size_t fWidthBytes[3];
34 };
35 
36 #endif // SkYUVSizeInfo_DEFINED
Definition: SkYUVSizeInfo.h:13
Definition: SkSize.h:13
size_t fWidthBytes[3]
While the widths of the Y, U, and V planes are not restricted, the implementation often requires that...
Definition: SkYUVSizeInfo.h:33