Home
last modified time | relevance | path

Searched refs:BC1Block (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dbc1_transparency.cpp24 struct BC1Block { struct
57 static void create_BC1_block(BC1Block* block, bool transparent) { in create_BC1_block()
86 BC1Block* dstBlocks = reinterpret_cast<BC1Block*>(tmp->writable_data()); in make_compressed_data()
88 BC1Block transBlock, opaqueBlock; in make_compressed_data()
/external/skia/src/core/
DSkCompressedDataUtils.cpp155 struct BC1Block { struct
182 const BC1Block* srcBlocks = reinterpret_cast<const BC1Block*>(srcData); in decompress_bc1()
191 const BC1Block* curBlock = &srcBlocks[y * numXBlocks + x]; in decompress_bc1()
270 static_assert(sizeof(ETC1Block) == sizeof(BC1Block)); in SkCompressedDataSize()
290 return sizeof(BC1Block); in SkCompressedBlockSize()
/external/skia/src/gpu/
DGrDataUtils.cpp126 struct BC1Block { struct
141 static void create_BC1_block(SkColor col0, SkColor col1, BC1Block* block) { in create_BC1_block() argument
182 static_assert(sizeof(ETC1Block) == sizeof(BC1Block)); in GrCompressedRowBytes()
225 BC1Block block; in fillin_BC1_with_color()
231 memcpy(dest, &block, sizeof(BC1Block)); in fillin_BC1_with_color()
232 dest += sizeof(BC1Block); in fillin_BC1_with_color()
240 BC1Block* dstBlocks = reinterpret_cast<BC1Block*>(dstPixels); in GrTwoColorBC1Compress()
243 BC1Block block; in GrTwoColorBC1Compress()
/external/angle/src/image_util/
Dloadimage_etc.cpp893 struct BC1Block in packBC1() struct
901 BC1Block *dest = reinterpret_cast<BC1Block *>(bc1); in packBC1()