| Index: src/codec/SkSwizzler.h
|
| diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h
|
| index eebf886993b1663640577e4f5558826bc8fd48e9..7eebe7f98156506ebd4f45837e2021909fc3b972 100644
|
| --- a/src/codec/SkSwizzler.h
|
| +++ b/src/codec/SkSwizzler.h
|
| @@ -22,6 +22,7 @@ public:
|
| kUnknown, // Invalid type.
|
| kBit, // A single bit to distinguish between white and black.
|
| kGray,
|
| + kGrayAlpha,
|
| kIndex1,
|
| kIndex2,
|
| kIndex4,
|
| @@ -55,6 +56,7 @@ public:
|
| case kIndex:
|
| case kNoOp8:
|
| return 8;
|
| + case kGrayAlpha:
|
| case kNoOp16:
|
| return 16;
|
| case kRGB:
|
| @@ -162,6 +164,10 @@ private:
|
| int dstWidth, int bpp, int deltaSrc, int offset,
|
| const SkPMColor ctable[]);
|
|
|
| + template <RowProc Proc>
|
| + static void SkipLeadingGrayAlphaZerosThen(void* dst, const uint8_t* src, int width, int bpp,
|
| + int deltaSrc, int offset, const SkPMColor ctable[]);
|
| +
|
| // May be NULL. We have not implemented optimized functions for all supported transforms.
|
| const RowProc fFastProc;
|
| // Always non-NULL. Supports sampling.
|
|
|