| Index: include/codec/SkCodec.h
|
| diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
|
| index c3a5873d7f9fb77e03027f684d573061bc9c3dd2..582e5bb0000e6347f1b6529ffb711480f6678f80 100644
|
| --- a/include/codec/SkCodec.h
|
| +++ b/include/codec/SkCodec.h
|
| @@ -15,6 +15,7 @@
|
| #include "SkSize.h"
|
| #include "SkStream.h"
|
| #include "SkTypes.h"
|
| +#include "SkYUVSizeInfo.h"
|
|
|
| class SkData;
|
| class SkPngChunkReader;
|
| @@ -277,28 +278,6 @@ public:
|
| */
|
| Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
|
|
|
| - struct YUVSizeInfo {
|
| - SkISize fYSize;
|
| - SkISize fUSize;
|
| - SkISize fVSize;
|
| -
|
| - /**
|
| - * While the widths of the Y, U, and V planes are not restricted, the
|
| - * implementation requires that the width of the memory allocated for
|
| - * each plane be a multiple of DCTSIZE (which is always 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 fYWidthBytes;
|
| - size_t fUWidthBytes;
|
| - size_t fVWidthBytes;
|
| - };
|
| -
|
| /**
|
| * If decoding to YUV is supported, this returns true. Otherwise, this
|
| * returns false and does not modify any of the parameters.
|
|
|