Searched refs:pBaseColors (Results 1 – 2 of 2) sorted by relevance
/external/skqp/third_party/etc1/ |
D | etc1.cpp | 306 static etc1_uint32 chooseModifier(const etc1_byte* pBaseColors, in chooseModifier() argument 314 int r = pBaseColors[0]; in chooseModifier() 315 int g = pBaseColors[1]; in chooseModifier() 316 int b = pBaseColors[2]; in chooseModifier() 345 const etc1_byte* pBaseColors, const int* pModifierTable) { in etc_encode_subblock_helper() argument 357 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper() 372 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper() 385 static void etc_encodeBaseColors(etc1_byte* pBaseColors, in etc_encodeBaseColors() argument 434 pBaseColors[0] = r1; in etc_encodeBaseColors() 435 pBaseColors[1] = g1; in etc_encodeBaseColors() [all …]
|
/external/skia/third_party/etc1/ |
D | etc1.cpp | 306 static etc1_uint32 chooseModifier(const etc1_byte* pBaseColors, in chooseModifier() argument 314 int r = pBaseColors[0]; in chooseModifier() 315 int g = pBaseColors[1]; in chooseModifier() 316 int b = pBaseColors[2]; in chooseModifier() 345 const etc1_byte* pBaseColors, const int* pModifierTable) { in etc_encode_subblock_helper() argument 357 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper() 372 score += chooseModifier(pBaseColors, pIn + i * 3, in etc_encode_subblock_helper() 385 static void etc_encodeBaseColors(etc1_byte* pBaseColors, in etc_encodeBaseColors() argument 434 pBaseColors[0] = r1; in etc_encodeBaseColors() 435 pBaseColors[1] = g1; in etc_encodeBaseColors() [all …]
|