Home
last modified time | relevance | path

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

/device/generic/vulkan-cereal/third-party/astc-codec/src/decoder/
Dcodec.cc32 const size_t block_width = footprint.Width(); in DecompressToImage() local
34 assert(block_width != 0); in DecompressToImage()
41 const size_t blocks_wide = (width + block_width - 1) / block_width; in DecompressToImage()
46 ((width + block_width - 1) / block_width) * in DecompressToImage()
84 for (size_t x = 0; x < block_width; ++x) { in DecompressToImage()
85 const size_t px = block_width * block_x + x; in DecompressToImage()
Dastc_file.h32 Header(size_t width, size_t height, size_t depth, size_t block_width, in Header()
37 block_width_(block_width), in Header()
Dastc_file.cc162 const uint32_t block_width = ReadVal<uint8_t>(header, offset); in ParseHeader() local
182 return Header(width, height, depth, block_width, block_height, block_depth); in ParseHeader()
/device/generic/vulkan-cereal/third-party/astc-codec/src/decoder/test/
Dlogical_astc_block_test.cc78 const int block_width = params.footprint.Width(); in TEST_P() local
85 (params.width + block_width - 1) / block_width; in TEST_P()
109 for (int x = 0; x < block_width; ++x) { in TEST_P()
110 const int px = block_width * block_x + x; in TEST_P()