/external/webkit/Source/WebKit/android/plugins/ |
ANPBitmapInterface.cpp | 50 packing->RBits = SK_R16_BITS;
|
/external/skia/include/core/ |
SkColorPriv.h | 86 #define SK_R16_BITS 5 94 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1) 355 #define SkR32ToR16_MACRO(r) ((unsigned)(r) >> (SK_R32_BITS - SK_R16_BITS)) 378 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK) 383 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; 403 r = ((r << 1) - ((r >> (8 - SK_R16_BITS) << (8 - SK_R16_BITS)) | (r >> SK_R16_BITS))) >> (8 - SK_R16_BITS); 446 dr = (sr + SkMul16ShiftRound(dr, isa, SK_R16_BITS)) >> (8 - SK_R16_BITS) [all...] |
/external/skia/legacy/include/core/ |
SkColorPriv.h | 62 #define SK_R16_BITS 5 70 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1) 320 #define SkR32ToR16_MACRO(r) ((unsigned)(r) >> (SK_R32_BITS - SK_R16_BITS)) 343 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK) 348 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; 368 r = ((r << 1) - ((r >> (8 - SK_R16_BITS) << (8 - SK_R16_BITS)) | (r >> SK_R16_BITS))) >> (8 - SK_R16_BITS); 411 dr = (sr + SkMul16ShiftRound(dr, isa, SK_R16_BITS)) >> (8 - SK_R16_BITS) [all...] |
/external/skia/legacy/src/effects/ |
SkAvoidXfermode.cpp | 59 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 159 unsigned opR = SkColorGetR(fOpColor) >> (8 - SK_R16_BITS); 161 unsigned opB = SkColorGetB(fOpColor) >> (8 - SK_R16_BITS); 163 uint32_t sub = (fDistMul - (1 << 14)) << SK_R16_BITS;
|
/external/skia/src/effects/ |
SkAvoidXfermode.cpp | 45 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 139 unsigned opR = SkColorGetR(fOpColor) >> (8 - SK_R16_BITS); 141 unsigned opB = SkColorGetB(fOpColor) >> (8 - SK_R16_BITS); 143 uint32_t sub = (fDistMul - (1 << 14)) << SK_R16_BITS;
|
/external/skia/tests/ |
ColorTest.cpp | 15 #define GetPackedR16As32(packed) (SkGetPackedR16(dc) << (8 - SK_R16_BITS))
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_sample.c | 7 #define SK_R16_BITS 5 15 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1) 24 return (r << (8 - SK_R16_BITS)) | (r >> (2 * SK_R16_BITS - 8));
|
/external/skia/legacy/src/core/ |
SkBlitMask_D32.cpp | 415 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); 455 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5);
|
SkBitmap.cpp | 720 v = SkPackRGB16(r >> (8 - SK_R16_BITS), g >> (8 - SK_G16_BITS), [all...] |
SkBlitter_RGB16.cpp | 542 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), [all...] |
/external/skia/legacy/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 519 16-SK_R16_SHIFT-(SK_R16_BITS-5)), 570 16-SK_R16_SHIFT-(SK_R16_BITS-5)),
|
/external/skia/src/core/ |
SkBlitMask_D32.cpp | 417 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); 457 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5);
|
SkBitmap.cpp | 802 v = SkPackRGB16(r >> (8 - SK_R16_BITS), g >> (8 - SK_G16_BITS), [all...] |
SkBlitter_RGB16.cpp | 542 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 479 if (pos_le(info_ptr->sig_bit.red, SK_R16_BITS) && [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 519 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
|
/external/skia/legacy/src/images/ |
SkImageDecoder_libpng.cpp | 473 if (pos_le(info_ptr->sig_bit.red, SK_R16_BITS) && [all...] |