Searched refs:kBlockSize (Results 1 – 3 of 3) sorted by relevance
29 static constexpr int kBlockSize = 4; variable107 uint8_t pixels[kBlockSize * kBlockSize * 2]; in rgtc_decode_image()108 for (uint32_t y = 0; y < height; y += kBlockSize) { in rgtc_decode_image()110 if (yEnd > kBlockSize) { in rgtc_decode_image()111 yEnd = kBlockSize; in rgtc_decode_image()113 for (uint32_t x = 0; x < width; x += kBlockSize) { in rgtc_decode_image()115 if (xEnd > kBlockSize) { in rgtc_decode_image()116 xEnd = kBlockSize; in rgtc_decode_image()137 std::memcpy(data_out, pixels + kBlockSize * texel_size * cy, texel_size * xEnd); in rgtc_decode_image()146 uint32_t w = (width + kBlockSize - 1) / kBlockSize; in rgtc_get_encoded_image_size()[all …]
54 buffer.resize(kBlockSize); in InitDestination()63 buffer.resize(oldsize + kBlockSize); in EmptyOutputBuffer()65 dest->mgr.free_in_buffer = kBlockSize; in EmptyOutputBuffer()
62 static const int kBlockSize = 16384; variable