/external/webkit/Source/WebKit/android/plugins/ |
ANPBitmapInterface.cpp | 52 packing->GBits = SK_G16_BITS;
|
/external/skia/include/core/ |
SkColorPriv.h | 87 #define SK_G16_BITS 6 90 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) 95 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1) 356 #define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS - SK_G16_BITS)) 379 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16_MASK) 384 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; 404 g = ((g << 1) - ((g >> (8 - SK_G16_BITS) << (8 - SK_G16_BITS)) | (g >> SK_G16_BITS))) >> (8 - SK_G16_BITS); [all...] |
/external/skia/legacy/include/core/ |
SkColorPriv.h | 63 #define SK_G16_BITS 6 66 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) 71 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1) 321 #define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS - SK_G16_BITS)) 344 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16_MASK) 349 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; 369 g = ((g << 1) - ((g >> (8 - SK_G16_BITS) << (8 - SK_G16_BITS)) | (g >> SK_G16_BITS))) >> (8 - SK_G16_BITS); [all...] |
/external/skia/legacy/src/effects/ |
SkAvoidXfermode.cpp | 59 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 160 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS);
|
/external/skia/src/effects/ |
SkAvoidXfermode.cpp | 45 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 140 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_sample.c | 8 #define SK_G16_BITS 6 11 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) 16 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1) 28 return (g << (8 - SK_G16_BITS)) | (g >> (2 * SK_G16_BITS - 8));
|
/external/skia/tests/ |
ColorTest.cpp | 16 #define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS))
|
/external/skia/legacy/src/core/ |
SkBlitMask_D32.cpp | 416 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); 456 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5);
|
SkBitmap.cpp | 720 v = SkPackRGB16(r >> (8 - SK_R16_BITS), g >> (8 - SK_G16_BITS), [all...] |
SkBlitter_RGB16.cpp | 543 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), [all...] |
/external/skia/legacy/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 523 8-SK_G16_SHIFT-(SK_G16_BITS-5)), 574 8-SK_G16_SHIFT-(SK_G16_BITS-5)),
|
/external/skia/src/core/ |
SkBlitMask_D32.cpp | 418 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); 458 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5);
|
SkBitmap.cpp | 802 v = SkPackRGB16(r >> (8 - SK_R16_BITS), g >> (8 - SK_G16_BITS), [all...] |
SkBlitter_RGB16.cpp | 543 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 480 pos_le(info_ptr->sig_bit.green, SK_G16_BITS) && [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 520 #define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5)
|
/external/skia/legacy/src/images/ |
SkImageDecoder_libpng.cpp | 474 pos_le(info_ptr->sig_bit.green, SK_G16_BITS) && [all...] |