Searched refs:convert5To8 (Results 1 – 1 of 1) sorted by relevance
133 inline int convert5To8(int b) { in convert5To8() function163 return convert5To8((0x1f & base) + kLookup[0x7 & diff]); in convertDiff()209 r1 = convert5To8(rBase); in etc1_decode_block()211 g1 = convert5To8(gBase); in etc1_decode_block()213 b1 = convert5To8(bBase); in etc1_decode_block()388 r1 = convert5To8(r51); in etc_encodeBaseColors()389 g1 = convert5To8(g51); in etc_encodeBaseColors()390 b1 = convert5To8(b51); in etc_encodeBaseColors()399 r2 = convert5To8(r51 + dr); in etc_encodeBaseColors()400 g2 = convert5To8(g51 + dg); in etc_encodeBaseColors()[all …]