/frameworks/base/tools/aapt2/compile/ |
D | PngCrunch.cpp | 650 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()
|
D | Png.cpp | 255 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/ |
D | Images.cpp | 824 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/ |
D | reflection3264_foreach_mismatch.rscript | 37 void gg(const int *in, int *out) { } 42 void gg(const int *in) { }
|
D | stderr.txt.expect | 22 reflection3264_foreach_mismatch.rscript:37:6: error: foreach kernel 'gg' has output type 'int' for …
|
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/ |
D | reflection3264_struct_mismatch.rscript | 47 struct FieldCount gg;
|
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/ |
D | stderr.txt.expect | 11 reflection3264_reduce_mismatch.rscript:54:12: error: 1st input of reduction kernel 'gg' has type 'u…
|
D | reflection3264_reduce_mismatch.rscript | 54 #pragma rs reduce(gg) accumulator(ggAccum) outconverter(ggOut)
|
/frameworks/av/media/codecs/m4v_h263/enc/src/ |
D | dct_inline.h | 358 register int32 gg = (int32)k6; in sum_abs() local 385 "r"(gg), in sum_abs()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 224 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()
|