krajcevski | 6c35488 | 2014-07-22 07:44:00 -0700 | [diff] [blame^] | 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_R11EAC_DEFINED |
| 9 | #define SkTextureCompressor_R11EAC_DEFINED |
| 10 | |
| 11 | #include "SkBlitter.h" |
| 12 | |
| 13 | namespace SkTextureCompressor { |
| 14 | |
| 15 | bool CompressA8ToR11EAC(uint8_t* dst, const uint8_t* src, |
| 16 | int width, int height, int rowBytes); |
| 17 | |
| 18 | SkBlitter* CreateR11EACBlitter(int width, int height, void* outputBuffer); |
| 19 | } |
| 20 | |
| 21 | #endif // SkTextureCompressor_R11EAC_DEFINED |