Searched refs:pColors (Results 1 – 1 of 1) sorted by relevance
256 etc1_byte* pColors, bool flipped, bool second) { in etc_average_colors_subblock() argument296 pColors[0] = (etc1_byte)((r + 4) >> 3); in etc_average_colors_subblock()297 pColors[1] = (etc1_byte)((g + 4) >> 3); in etc_average_colors_subblock()298 pColors[2] = (etc1_byte)((b + 4) >> 3); in etc_average_colors_subblock()386 const etc1_byte* pColors, etc_compressed* pCompressed) { in etc_encodeBaseColors() argument390 int r51 = convert8To5(pColors[0]); in etc_encodeBaseColors()391 int g51 = convert8To5(pColors[1]); in etc_encodeBaseColors()392 int b51 = convert8To5(pColors[2]); in etc_encodeBaseColors()393 int r52 = convert8To5(pColors[3]); in etc_encodeBaseColors()394 int g52 = convert8To5(pColors[4]); in etc_encodeBaseColors()[all …]