OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2014 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 SkTextureCompressor_ASTC_DEFINED |
| 9 #define SkTextureCompressor_ASTC_DEFINED |
| 10 |
| 11 #include <stdint.h> |
| 12 |
| 13 // Forward declare |
| 14 class SkBlitter; |
| 15 |
| 16 namespace SkTextureCompressor { |
| 17 |
| 18 bool CompressA8To12x12ASTC(uint8_t* dst, const uint8_t* src, |
| 19 int width, int height, int rowBytes); |
| 20 |
| 21 SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer); |
| 22 } |
| 23 |
| 24 #endif // SkTextureCompressor_ASTC_DEFINED |
OLD | NEW |