Searched refs:compressedDataSize (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor.cpp179 int compressedDataSize = GetCompressedDataSize(format, bitmap.width(), bitmap.height()); local
180 if (compressedDataSize < 0) {
185 SkData* dst = SkData::NewUninitialized(compressedDataSize);
/external/skia/src/utils/
H A DSkTextureCompressor.cpp323 int compressedDataSize = get_compressed_data_size(format, bitmap.width(), bitmap.height()); local
325 uint8_t* dst = reinterpret_cast<uint8_t*>(sk_malloc_throw(compressedDataSize));
328 return SkData::NewFromMalloc(dst, compressedDataSize);

Completed in 70 milliseconds