Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/ETC1/
Detc1.cpp298 static etc1_uint32 chooseModifier(const etc1_byte* pBaseColors, in chooseModifier() argument
306 int r = pBaseColors[0]; in chooseModifier()
307 int g = pBaseColors[1]; in chooseModifier()
308 int b = pBaseColors[2]; in chooseModifier()
337 const etc1_byte* pBaseColors, const int* pModifierTable) { in etc_encode_subblock_helper() argument
349 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper()
364 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper()
377 static void etc_encodeBaseColors(etc1_byte* pBaseColors, in etc_encodeBaseColors() argument
424 pBaseColors[0] = r1; in etc_encodeBaseColors()
425 pBaseColors[1] = g1; in etc_encodeBaseColors()
[all …]