blob: 6ee2ff63e215e9e6d185f1254e19590a8272854c [file] [log] [blame]
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkTextureCompressor_LATC_DEFINED
#define SkTextureCompressor_LATC_DEFINED
#include "SkBlitter.h"
namespace SkTextureCompressor {
bool CompressA8ToLATC(uint8_t* dst, const uint8_t* src,
int width, int height, int rowBytes);
SkBlitter* CreateLATCBlitter(int width, int height, void* outputBuffer);
void DecompressLATC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height);
}
#endif // SkTextureCompressor_LATC_DEFINED