/external/skia/tests/ |
ColorPrivTest.cpp | 34 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast);
|
ColorFilterTest.cpp | 127 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); 145 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0);
|
WritePixelsTest.cpp | 138 unsigned c0 = SkGetPackedR32(color); 170 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); 175 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b));
|
/external/skia/include/gpu/ |
SkGr.h | 28 unsigned r = SkGetPackedR32(pm); 62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c),
|
/external/skia/src/core/ |
SkDither.h | 78 unsigned sr = SkGetPackedR32(c); 92 unsigned sr = SkGetPackedR32(c); 116 unsigned sr = SkGetPackedR32(c); 131 unsigned sr = SkGetPackedR32(c); 159 unsigned r = SkGetPackedR32(c);
|
SkBlitRow_D16.cpp | 118 int sr = SkGetPackedR32(c); 149 unsigned sr = SkGetPackedR32(c); 186 int sr = SkGetPackedR32(c); 208 unsigned r = SkGetPackedR32(c);
|
SkXfermode.cpp | 416 SkAlphaMulAlpha(da, SkGetPackedR32(src)) + 417 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), 431 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + 432 SkAlphaMulAlpha(sa, SkGetPackedR32(dst)), 447 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + 448 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), 461 unsigned r = saturated_add(SkGetPackedR32(src), SkGetPackedR32(dst)); 469 int r = SkAlphaMulAlpha(SkGetPackedR32(src), SkGetPackedR32(dst)) [all...] |
SkBlitMask_D32.cpp | 204 int srcR = SkGetPackedR32(s); 221 int dstR = SkGetPackedR32(d); 246 int srcR = SkGetPackedR32(s); 262 int dstR = SkGetPackedR32(d);
|
SkUnPreMultiply.cpp | 15 ApplyScale(scale, SkGetPackedR32(c)), 24 ApplyScale(scale, SkGetPackedR32(c)),
|
/external/skia/src/effects/ |
SkLumaColorFilter.cpp | 33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c),
|
SkArithmeticMode.cpp | 104 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); 117 r = blend(r, SkGetPackedR32(sc), scale);
|
SkPixelXorXfermode.cpp | 24 wb.writeColor(SkColorSetRGB(SkGetPackedR32(fOpColor), 194 SkGetPackedR32(pixXor.opColor())/255.0f, 298 SkGetPackedR32(pixelXor.opColor())/255.0f,
|
/external/skia/tools/ |
skdiff.cpp | 145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); 183 uint32_t thisR = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1));
|
skdiff.h | 259 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1);
|
/external/skia/src/images/ |
SkImageEncoder_argb.cpp | 30 argb[1] = SkGetPackedR32(c); 67 argb[1] = SkGetPackedR32(c);
|
transform_scanline.h | 60 *dst++ = SkGetPackedR32(c); 95 unsigned r = SkGetPackedR32(c);
|
SkImageDecoder_libwebp.cpp | 338 rgb[0] = SkGetPackedR32(c); 353 uint8_t r = SkGetPackedR32(c); 424 rgb[0] = SkGetPackedR32(c);
|
/external/skia/include/core/ |
SkColorPriv.h | 358 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) 373 SkASSERT(SkGetPackedR32(pm_color_value) <= alpha_color_value); \ 384 && SkGetPackedR32(c) <= a 408 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), 413 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), 427 unsigned r = SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale); 639 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); 664 unsigned sr = SkGetPackedR32(src); 910 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c) [all...] |
/external/skia/src/opts/ |
SkColorCubeFilter_opts.h | 33 r = SkGetPackedR32(input);
|
SkBlitRow_opts_mips_dsp.cpp | 247 unsigned sr = SkGetPackedR32(c); 521 int sr = SkGetPackedR32(c); [all...] |
/external/skia/gm/ |
imagefromyuvtextures.cpp | 67 yPixels[i] = static_cast<unsigned char>(0.299f * SkGetPackedR32(rgbColors[i]) + 78 rgb[0] += SkGetPackedR32(rgbColors[rgbIndex]);
|
image_pict.cpp | 156 const int cr = SkGetPackedR32(c); 163 int dr = SkAbs32((int)SkGetPackedR32(table[i]) - cr);
|
/external/skia/bench/ |
RepeatTileBench.cpp | 45 int r = SkGetPackedR32(c);
|
/external/skia/samplecode/ |
SampleUnpremul.cpp | 35 U8CPU r = SkGetPackedR32(c);
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 547 *dst++ = SkColorSetARGB(SkGetPackedA32(c), SkGetPackedR32(c), 558 *dst++ = SkColorSetRGB(SkGetPackedR32(c), SkGetPackedG32(c), 578 *dst++ = SkColorSetARGB(SkGetPackedA32(c), SkGetPackedR32(c), 589 *dst++ = SkColorSetRGB(SkGetPackedR32(c), SkGetPackedG32(c), 622 *dst++ = SkColorSetARGB(SkGetPackedA32(c), SkGetPackedR32(c), 634 *dst++ = SkColorSetRGB(SkGetPackedR32(c), SkGetPackedG32(c), [all...] |