Searched refs:pal_v (Results 1 – 1 of 1) sorted by relevance
42 void ColorDecode(uint32_t pal_v, uint8_t* r, uint8_t* g, uint8_t* b) { in ColorDecode() argument43 *r = static_cast<uint8_t>((pal_v & 0xf00) >> 4); in ColorDecode()44 *g = static_cast<uint8_t>(pal_v & 0x0f0); in ColorDecode()45 *b = static_cast<uint8_t>((pal_v & 0x00f) << 4); in ColorDecode()