Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/ETC1/
Detc1.cpp393 int dg = g52 - g51; in etc_encodeBaseColors() local
396 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()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java243 int dg = volume(cube, mMomentsG); in variance() local
255 int hypotenuse = (dr * dr + dg * dg + db * db); in variance()