Home
last modified time | relevance | path

Searched refs:agrb (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tests/
DColorPrivTest.cpp25 const uint64_t agrb = SkSplay(color); in DEF_TEST() local
26 ASSERT(agrb == 0x00A100C300B200D4ULL); in DEF_TEST()
27 ASSERT(SkUnsplay(agrb<<8) == color); in DEF_TEST()
/third_party/skia/include/private/
DSkColorData.h198 uint64_t agrb = (color >> 8) & mask; // 0x0000000000AA00GG in SkSplay() local
199 agrb <<= 32; // 0x00AA00GG00000000 in SkSplay()
200 agrb |= color & mask; // 0x00AA00GG00RR00BB in SkSplay()
201 return agrb; in SkSplay()
216 static inline uint32_t SkUnsplay(uint64_t agrb) { in SkUnsplay() argument
219 ((agrb & mask) >> 8) | // 0x00RR00BB in SkUnsplay()
220 ((agrb >> 32) & mask)); // 0xAARRGGBB in SkUnsplay()