/external/chromium_org/third_party/skia/include/core/ |
SkColorPriv.h | 88 #define SK_B16_BITS 5 90 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) 91 #define SK_G16_SHIFT (SK_B16_BITS) 96 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1) 410 #define SkB32ToB16_MACRO(b) ((unsigned)(b) >> (SK_B32_BITS - SK_B16_BITS)) 433 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16_MASK) 438 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; 458 b = ((b << 1) - ((b >> (8 - SK_B16_BITS) << (8 - SK_B16_BITS)) | (b >> SK_B16_BITS))) >> (8 - SK_B16_BITS) [all...] |
/external/skia/include/core/ |
SkColorPriv.h | 88 #define SK_B16_BITS 5 90 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) 91 #define SK_G16_SHIFT (SK_B16_BITS) 96 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1) 410 #define SkB32ToB16_MACRO(b) ((unsigned)(b) >> (SK_B32_BITS - SK_B16_BITS)) 433 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16_MASK) 438 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; 458 b = ((b << 1) - ((b >> (8 - SK_B16_BITS) << (8 - SK_B16_BITS)) | (b >> SK_B16_BITS))) >> (8 - SK_B16_BITS) [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkColor_opts_neon.h | 43 vg = vmovn_u16(vshrq_n_u16(vshlq_n_u16(vsrc, SK_R16_BITS), SK_R16_BITS + SK_B16_BITS)); 49 ret.val[NEON_B] = vshl_n_u8(vb, 8 - SK_B16_BITS) | vshr_n_u8(vb, 2 * SK_B16_BITS - 8);
|
SkBlitMask_opts_arm_neon.cpp | 164 SK_B16_BITS + SK_R16_BITS + 1); 227 SK_B16_BITS + SK_R16_BITS + 1);
|
SkBlitRow_opts_SSE2.cpp | 521 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5) [all...] |
/external/skia/src/opts/ |
SkColor_opts_neon.h | 43 vg = vmovn_u16(vshrq_n_u16(vshlq_n_u16(vsrc, SK_R16_BITS), SK_R16_BITS + SK_B16_BITS)); 49 ret.val[NEON_B] = vshl_n_u8(vb, 8 - SK_B16_BITS) | vshr_n_u8(vb, 2 * SK_B16_BITS - 8);
|
SkBlitMask_opts_arm_neon.cpp | 164 SK_B16_BITS + SK_R16_BITS + 1); 227 SK_B16_BITS + SK_R16_BITS + 1);
|
SkBlitRow_opts_SSE2.cpp | 521 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5) [all...] |
/external/skia/tests/ |
ColorTest.cpp | 18 #define GetPackedB16As32(packed) (SkGetPackedB16(dc) << (8 - SK_B16_BITS))
|
/frameworks/rs/driver/runtime/ |
rs_sample.c | 9 #define SK_B16_BITS 5 11 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) 12 #define SK_G16_SHIFT (SK_B16_BITS) 17 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1) 32 return (b << (8 - SK_B16_BITS)) | (b >> (2 * SK_B16_BITS - 8));
|
/external/chromium_org/third_party/skia/src/core/ |
SkBlitMask_D32.cpp | 415 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); 455 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5);
|
SkBlitter_RGB16.cpp | 534 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); [all...] |
SkBitmap.cpp | 834 b >> (8 - SK_B16_BITS)); [all...] |
/external/skia/src/core/ |
SkBlitMask_D32.cpp | 415 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); 455 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5);
|
SkBlitter_RGB16.cpp | 534 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); [all...] |
SkBitmap.cpp | 834 b >> (8 - SK_B16_BITS)); [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libpng.cpp | 515 pos_le(sig_bit->blue, SK_B16_BITS)) { [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 514 pos_le(sig_bit->blue, SK_B16_BITS)) { [all...] |