Searched refs:convert5To8 (Results 1 – 2 of 2) sorted by relevance
178 inline int convert5To8(int b) { in convert5To8() function214 return convert5To8((0x1f & base) + kLookup[0x7 & diff]); in convertDiff()412 r1 = convert5To8(rBase); in etc2_decode_rgb_block()414 g1 = convert5To8(gBase); in etc2_decode_rgb_block()416 b1 = convert5To8(bBase); in etc2_decode_rgb_block()650 r1 = convert5To8(r51); in etc_encodeBaseColors()651 g1 = convert5To8(g51); in etc_encodeBaseColors()652 b1 = convert5To8(b51); in etc_encodeBaseColors()661 r2 = convert5To8(r51 + dr); in etc_encodeBaseColors()662 g2 = convert5To8(g51 + dg); in etc_encodeBaseColors()[all …]
80 uint convert5To8(uint b) {96 return convert5To8(uint(int(0x1f & base) + kLookup[0x7 & diff]));249 r1 = int(convert5To8(rBase));251 g1 = int(convert5To8(gBase));253 b1 = int(convert5To8(bBase));