Searched refs:SK_G16_SHIFT (Results 1 – 5 of 5) sorted by relevance
/external/skia/include/core/ |
D | SkColorPriv.h | 243 #define SK_G16_SHIFT (SK_B16_BITS) macro 251 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) 263 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16() 267 #define SK_G16_MASK_IN_PLACE (SK_G16_MASK << SK_G16_SHIFT) 635 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16() 642 (SkG32ToG16(g) << SK_G16_SHIFT) | in SkPack888ToRGB16()
|
/external/skia/src/opts/ |
D | SkColor_opts_SSE2.h | 152 __m128i dg = _mm_slli_epi16(g, SK_G16_SHIFT); in SkPackRGB16_SSE2() 181 __m128i g = _mm_srli_epi32(src, SK_G16_SHIFT); in SkPacked16ToG32_SSE2()
|
D | SkBlitRow_opts_SSE2.cpp | 122 const __m128i mask_green = _mm_set1_epi16(SK_G16_MASK << SK_G16_SHIFT); in Color32A_D565_SSE2() 179 #define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5) 642 __m128i dg = _mm_srli_epi16(dst_pixel, SK_G16_SHIFT); in S32A_D565_Opaque_SSE2() 930 __m128i dg = _mm_srli_epi16(dst_pixel, SK_G16_SHIFT); in S32A_D565_Opaque_Dither_SSE2()
|
D | SkBlitRow_opts_arm_neon.cpp | 577 vdst1 = vsliq_n_u16(vdst1_b, vdst1_g, SK_G16_SHIFT); // insert green into blue in Color32A_D565_neon() 584 vdst2 = vsliq_n_u16(vdst2_b, vdst2_g, SK_G16_SHIFT); // insert green into blue in Color32A_D565_neon() 701 vres_b = vsliq_n_u16(vres_b, vres_g, SK_G16_SHIFT); // insert green into blue in S32A_D565_Blend_neon()
|
D | SkRasterPipeline_opts.h | 538 | SkNf_round(g, SK_G16_MASK) << SK_G16_SHIFT in STAGE_CTX()
|