Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkTextureCompressor_R11EAC.cpp59 static uint64_t pack_r11eac_block(uint16_t base_cw, uint16_t palette, uint16_t multiplier, in pack_r11eac_block() argument
65 const uint64_t b = static_cast<uint64_t>(base_cw) << 56; in pack_r11eac_block()
73 static uint16_t compute_r11eac_pixel(int base_cw, int modifier, int multiplier) { in compute_r11eac_pixel() argument
74 int ret = (base_cw * 8 + 4) + (modifier * multiplier * 8); in compute_r11eac_pixel()
572 const int base_cw = (block >> 56) & 0xFF; in decompress_r11_eac_block() local
581 const int val = base_cw*8 + 4 + palette[idx]*mod*8; in decompress_r11_eac_block()