Searched refs:PaletteComponentDistance (Results 1 – 1 of 1) sorted by relevance
41 static WEBP_INLINE uint32_t PaletteComponentDistance(uint32_t v) { in PaletteComponentDistance() function54 score = PaletteComponentDistance((diff >> 0) & 0xff); in PaletteColorDistance()55 score += PaletteComponentDistance((diff >> 8) & 0xff); in PaletteColorDistance()56 score += PaletteComponentDistance((diff >> 16) & 0xff); in PaletteColorDistance()58 score += PaletteComponentDistance((diff >> 24) & 0xff); in PaletteColorDistance()