Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DImages.cpp824 int i, j, rr, gg, bb, aa; in dump_image() local
842 gg = row[1]; in dump_image()
855 printf(" (%d %d", rr, gg); in dump_image()
858 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
861 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
881 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
905 gg = *row++; in analyze_image()
910 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
911 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
916 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
[all …]
/frameworks/base/tools/aapt2/
DPng.cpp238 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
262 gg = *row++; in analyze_image()
267 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
268 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
273 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
279 if (rr != gg || rr != bb) { in analyze_image()
282 i, j, rr, gg, bb, aa); in analyze_image()
293 i, j, rr, gg, bb, aa); in analyze_image()
301 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
397 gg = *row++; in analyze_image()
[all …]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java218 int gg = computePrePostMul(a0, g0); in testSetPixelsWithNonOpaqueAlpha() local
219 assertTrue("green", Math.abs(gg - g1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
227 int cc = Color.argb(a0, rr, gg, bb); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct_inline.h358 register int32 gg = (int32)k6; in sum_abs() local
385 "r"(gg), in sum_abs()