Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp646 int gg = *in_row++; in WritePng() local
651 rr = gg = bb = 0; in WritePng()
654 const uint32_t color = rr << 24 | gg << 16 | bb << 8 | aa; in WritePng()
671 int gg = in_row[x * 4 + 1]; in WritePng() local
676 rr = gg = bb = 0; in WritePng()
687 (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in WritePng()
708 int gg = *in_row++; in WritePng() local
713 rr = gg = bb = 0; in WritePng()
716 out_row[x * bpp + 1] = gg; in WritePng()
DPng.cpp254 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
278 gg = *row++; in analyze_image()
283 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
284 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
289 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
295 if (rr != gg || rr != bb) { in analyze_image()
298 rr, gg, bb, aa); in analyze_image()
309 rr, gg, bb, aa); in analyze_image()
317 col = (uint32_t)((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
416 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.rs37 void gg(const int *in, int *out) { }
42 void gg(const int *in) { }
Dstderr.txt.expect22 reflection3264_foreach_mismatch.rs:37:6: error: foreach kernel 'gg' has output type 'int' for 64-bi…
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java219 int gg = computePrePostMul(a0, g0); in testSetPixelsWithNonOpaqueAlpha() local
220 assertTrue("green", Math.abs(gg - g1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
228 int cc = Color.argb(a0, rr, gg, bb); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rs47 struct FieldCount gg;
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dstderr.txt.expect11 reflection3264_reduce_mismatch.rs:54:12: error: 1st input of reduction kernel 'gg' has type 'uint' …
Dreflection3264_reduce_mismatch.rs54 #pragma rs reduce(gg) accumulator(ggAccum) outconverter(ggOut)
/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()