Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h758 #define SK_R4444_SHIFT 12 macro
778 #define SkGetPackedR4444(c) (((unsigned)(c) >> SK_R4444_SHIFT) & 0xF)
839 return (SkPMColor16)((a << SK_A4444_SHIFT) | (r << SK_R4444_SHIFT) | in SkPackARGB4444()
910 (((c >> (SK_R32_SHIFT + 4)) & 0xF) << SK_R4444_SHIFT) | in SkPixel32ToPixel4444()
/external/skia/src/core/
DSkPixmap.cpp107 (SkR32To4444(r) << SK_R4444_SHIFT) | in pack_8888_to_4444()
/external/skia/src/opts/
DSkRasterPipeline_opts.h295 *r = SkNx_cast<float>(_32_bit & (0xF << SK_R4444_SHIFT)) * (1.0f / (0xF << SK_R4444_SHIFT)); in from_4444()
548 store(tail, SkNx_cast<uint16_t>( SkNf_round(r, 0xF) << SK_R4444_SHIFT in STAGE_CTX()