Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h244 #define SK_B16_SHIFT 0 macro
252 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK)
263 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16()
268 #define SK_B16_MASK_IN_PLACE (SK_B16_MASK << SK_B16_SHIFT)
636 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
643 (SkB32ToB16(b) << SK_B16_SHIFT); in SkPack888ToRGB16()
/external/skia/src/opts/
DSkColor_opts_SSE2.h153 __m128i db = _mm_slli_epi16(b, SK_B16_SHIFT); in SkPackRGB16_SSE2()
190 __m128i b = _mm_srli_epi32(src, SK_B16_SHIFT); in SkPacked16ToB32_SSE2()
DSkBlitRow_opts_SSE2.cpp180 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
644 __m128i db = _mm_srli_epi16(dst_pixel, SK_B16_SHIFT); in S32A_D565_Opaque_SSE2()
932 __m128i db = _mm_srli_epi16(dst_pixel, SK_B16_SHIFT); in S32A_D565_Opaque_Dither_SSE2()
DSkRasterPipeline_opts.h539 | SkNf_round(b, SK_B16_MASK) << SK_B16_SHIFT), ptr); in STAGE_CTX()