Home
last modified time | relevance | path

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

/external/skqp/third_party/etc1/
Detc1.cpp256 etc1_byte* pColors, bool flipped, bool second) { in etc_average_colors_subblock() argument
296 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() argument
390 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 …]