Initial ASTC decoder -- currently only supports 2D LDR decomrpession modes.

R=robertphillips@google.com

Author: krajcevski@google.com

Review URL: https://codereview.chromium.org/444433002
This commit is contained in:
krajcevski 2014-08-06 12:02:49 -07:00 committed by Commit bot
parent 3ba15ae3e1
commit 1840dcd2f1
2 changed files with 1757 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,9 @@ namespace SkTextureCompressor {
int width, int height, int rowBytes); int width, int height, int rowBytes);
SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer); SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer);
void DecompressASTC(uint8_t* dst, int dstRowBytes, const uint8_t* src,
int width, int height, int blockDimX, int blockDimY);
} }
#endif // SkTextureCompressor_ASTC_DEFINED #endif // SkTextureCompressor_ASTC_DEFINED