Home
last modified time | relevance | path

Searched refs:SK_B16_MASK (Results 1 – 6 of 6) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h231 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1) macro
235 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK)
239 #define SkB16Assert(b) SkASSERT((unsigned)(b) <= SK_B16_MASK)
244 SkASSERT(b <= SK_B16_MASK); in SkPackRGB16()
251 #define SK_B16_MASK_IN_PLACE (SK_B16_MASK << SK_B16_SHIFT)
328 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add()
587 …e SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16_MASK)
592 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
/external/skia/src/opts/
DSkColor_opts_SSE2.h159 b = _mm_and_si128(b, _mm_set1_epi32(SK_B16_MASK)); in SkPacked16ToB32_SSE2()
197 b1 = _mm_and_si128(b1, _mm_set1_epi32(SK_B16_MASK)); in SkPixel32ToPixel16_ToU16_SSE2()
200 b2 = _mm_and_si128(b2, _mm_set1_epi32(SK_B16_MASK)); in SkPixel32ToPixel16_ToU16_SSE2()
DSkBlitMask_opts_arm_neon.cpp165 vmaskB = vmask & vdupq_n_u16(SK_B16_MASK); in SkBlitLCD16OpaqueRow_neon()
228 vmaskB = vmask & vdupq_n_u16(SK_B16_MASK); in SkBlitLCD16Row_neon()
DSkColor_opts_neon.h44 vb = vmovn_u16(vsrc & vdupq_n_u16(SK_B16_MASK)); in SkPixel16ToPixel32_neon8()
DSkBlitRow_opts_SSE2.cpp250 const __m128i mask_blue = _mm_set1_epi16(SK_B16_MASK); in Color32A_D565_SSE2()
765 __m128i b16_mask = _mm_set1_epi16(SK_B16_MASK); in S32A_D565_Opaque_SSE2()
1039 __m128i b16_mask = _mm_set1_epi16(SK_B16_MASK); in S32A_D565_Opaque_Dither_SSE2()
DSkBlitRow_opts_arm_neon.cpp518 vmask_blue = vmovq_n_u16(SK_B16_MASK); in Color32A_D565_neon()
627 vmask_blue = vmovq_n_u16(SK_B16_MASK); in S32A_D565_Blend_neon()
1472 dst_b = vandq_u16(dst8, vdupq_n_u16(SK_B16_MASK)); in S32A_D565_Opaque_Dither_neon()