Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp650 int gg = *in_row++; in WritePng() local
655 rr = gg = bb = 0; in WritePng()
658 const uint32_t color = rr << 24 | gg << 16 | bb << 8 | aa; in WritePng()
675 int gg = in_row[x * 4 + 1]; in WritePng() local
680 rr = gg = bb = 0; in WritePng()
691 (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in WritePng()
712 int gg = *in_row++; in WritePng() local
717 rr = gg = bb = 0; in WritePng()
720 out_row[x * bpp + 1] = gg; in WritePng()
DPng.cpp255 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
279 gg = *row++; in analyze_image()
284 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
285 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
290 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
296 if (rr != gg || rr != bb) { in analyze_image()
299 rr, gg, bb, aa); in analyze_image()
310 rr, gg, bb, aa); in analyze_image()
318 col = (uint32_t)((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
417 gg = *row++; in analyze_image()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp824 int i, j, rr, gg, bb, aa; in dump_image() local
843 gg = row[1]; in dump_image()
856 printf(" (%d %d", rr, gg); in dump_image()
859 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
862 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
882 int i, j, rr, gg, bb, aa, idx;; in analyze_image() local
923 gg = 0; in analyze_image()
934 gg = *(row + 1); in analyze_image()
940 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
941 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
[all …]
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dreflection3264_foreach_mismatch.rscript37 void gg(const int *in, int *out) { }
42 void gg(const int *in) { }
Dstderr.txt.expect22 reflection3264_foreach_mismatch.rscript:37:6: error: foreach kernel 'gg' has output type 'int' for …
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rscript47 struct FieldCount gg;
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dstderr.txt.expect11 reflection3264_reduce_mismatch.rscript:54:12: error: 1st input of reduction kernel 'gg' has type 'u…
Dreflection3264_reduce_mismatch.rscript54 #pragma rs reduce(gg) accumulator(ggAccum) outconverter(ggOut)
/frameworks/av/media/codecs/m4v_h263/enc/src/
Ddct_inline.h358 register int32 gg = (int32)k6; in sum_abs() local
385 "r"(gg), in sum_abs()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java224 int gg = computePrePostMul(a0, g0); in testSetPixelsWithNonOpaqueAlpha() local
225 assertTrue("green", Math.abs(gg - g1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
233 int cc = Color.argb(a0, rr, gg, bb); in testSetPixelsWithNonOpaqueAlpha()