/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)); 47 ret.val[NEON_R] = vshl_n_u8(vr, 8 - SK_R16_BITS) | vshr_n_u8(vr, 2 * SK_R16_BITS - 8); 63 ret = vsriq_n_u16(ret, vshll_n_u8(vsrc.val[NEON_G], 8), SK_R16_BITS); 64 ret = vsriq_n_u16(ret, vshll_n_u8(vsrc.val[NEON_B], 8), SK_R16_BITS + SK_G16_BITS);
|
SkBlitMask_opts_arm_neon.cpp | 163 vmaskG = vshrq_n_u16(vshlq_n_u16(vmask, SK_R16_BITS), 164 SK_B16_BITS + SK_R16_BITS + 1); 226 vmaskG = vshrq_n_u16(vshlq_n_u16(vmask, SK_R16_BITS), 227 SK_B16_BITS + SK_R16_BITS + 1);
|
SkBlitRow_opts_SSE2.cpp | 519 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_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)); 47 ret.val[NEON_R] = vshl_n_u8(vr, 8 - SK_R16_BITS) | vshr_n_u8(vr, 2 * SK_R16_BITS - 8); 63 ret = vsriq_n_u16(ret, vshll_n_u8(vsrc.val[NEON_G], 8), SK_R16_BITS); 64 ret = vsriq_n_u16(ret, vshll_n_u8(vsrc.val[NEON_B], 8), SK_R16_BITS + SK_G16_BITS);
|
SkBlitMask_opts_arm_neon.cpp | 163 vmaskG = vshrq_n_u16(vshlq_n_u16(vmask, SK_R16_BITS), 164 SK_B16_BITS + SK_R16_BITS + 1); 226 vmaskG = vshrq_n_u16(vshlq_n_u16(vmask, SK_R16_BITS), 227 SK_B16_BITS + SK_R16_BITS + 1);
|
SkBlitRow_opts_SSE2.cpp | 519 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5) [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkColorPriv.h | 86 #define SK_R16_BITS 5 94 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1) 408 #define SkR32ToR16_MACRO(r) ((unsigned)(r) >> (SK_R32_BITS - SK_R16_BITS)) 431 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK) 436 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; 456 r = ((r << 1) - ((r >> (8 - SK_R16_BITS) << (8 - SK_R16_BITS)) | (r >> SK_R16_BITS))) >> (8 - SK_R16_BITS); 499 dr = (sr + SkMul16ShiftRound(dr, isa, SK_R16_BITS)) >> (8 - SK_R16_BITS) [all...] |
/external/skia/include/core/ |
SkColorPriv.h | 86 #define SK_R16_BITS 5 94 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1) 408 #define SkR32ToR16_MACRO(r) ((unsigned)(r) >> (SK_R32_BITS - SK_R16_BITS)) 431 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK) 436 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; 456 r = ((r << 1) - ((r >> (8 - SK_R16_BITS) << (8 - SK_R16_BITS)) | (r >> SK_R16_BITS))) >> (8 - SK_R16_BITS); 499 dr = (sr + SkMul16ShiftRound(dr, isa, SK_R16_BITS)) >> (8 - SK_R16_BITS) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkAvoidXfermode.cpp | 45 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 126 unsigned opR = SkColorGetR(fOpColor) >> (8 - SK_R16_BITS); 128 unsigned opB = SkColorGetB(fOpColor) >> (8 - SK_R16_BITS); 130 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); 126 unsigned opR = SkColorGetR(fOpColor) >> (8 - SK_R16_BITS); 128 unsigned opB = SkColorGetB(fOpColor) >> (8 - SK_R16_BITS); 130 uint32_t sub = (fDistMul - (1 << 14)) << SK_R16_BITS;
|
/external/skia/tests/ |
ColorTest.cpp | 16 #define GetPackedR16As32(packed) (SkGetPackedR16(dc) << (8 - SK_R16_BITS))
|
/frameworks/rs/driver/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/chromium_org/third_party/skia/src/core/ |
SkBlitMask_D32.cpp | 413 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); 453 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5);
|
SkBlitter_RGB16.cpp | 532 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), [all...] |
SkBitmap.cpp | 832 v = SkPackRGB16(r >> (8 - SK_R16_BITS), [all...] |
/external/skia/src/core/ |
SkBlitMask_D32.cpp | 413 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); 453 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5);
|
SkBlitter_RGB16.cpp | 532 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), [all...] |
SkBitmap.cpp | 832 v = SkPackRGB16(r >> (8 - SK_R16_BITS), [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libpng.cpp | 513 if (pos_le(sig_bit->red, SK_R16_BITS) && [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 512 if (pos_le(sig_bit->red, SK_R16_BITS) && [all...] |