Home
last modified time | relevance | path

Searched refs:SK_B16_SHIFT (Results 1 – 3 of 3) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h227 #define SK_B16_SHIFT 0 macro
235 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK)
246 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16()
251 #define SK_B16_MASK_IN_PLACE (SK_B16_MASK << SK_B16_SHIFT)
592 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
599 (SkB32ToB16(b) << SK_B16_SHIFT); in SkPack888ToRGB16()
/external/skia/src/opts/
DSkColor_opts_SSE2.h121 __m128i db = _mm_slli_epi16(b, SK_B16_SHIFT); in SkPackRGB16_SSE2()
158 __m128i b = _mm_srli_epi32(src, SK_B16_SHIFT); in SkPacked16ToB32_SSE2()
DSkBlitRow_opts_SSE2.cpp357 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
821 __m128i db = _mm_srli_epi16(dst_pixel, SK_B16_SHIFT); in S32A_D565_Opaque_SSE2()
1109 __m128i db = _mm_srli_epi16(dst_pixel, SK_B16_SHIFT); in S32A_D565_Opaque_Dither_SSE2()