Searched refs:dg (Results 1 – 2 of 2) sorted by relevance
393 int dg = g52 - g51; in etc_encodeBaseColors() local396 differential = inRange4bitSigned(dr) && inRange4bitSigned(dg) in etc_encodeBaseColors()400 g2 = convert5To8(g51 + dg); in etc_encodeBaseColors()403 | ((7 & dg) << 16) | (b51 << 11) | ((7 & db) << 8) | 2; in etc_encodeBaseColors()
243 int dg = volume(cube, mMomentsG); in variance() local255 int hypotenuse = (dr * dr + dg * dg + db * db); in variance()