Home
last modified time | relevance | path

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

/external/skqp/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()
/external/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()
/external/skqp/include/private/
DSkColorData.h200 uint64_t agrb = (color >> 8) & mask; // 0x0000000000AA00GG in SkSplay() local
201 agrb <<= 32; // 0x00AA00GG00000000 in SkSplay()
202 agrb |= color & mask; // 0x00AA00GG00RR00BB in SkSplay()
203 return agrb; in SkSplay()
218 static inline uint32_t SkUnsplay(uint64_t agrb) { in SkUnsplay() argument
221 ((agrb & mask) >> 8) | // 0x00RR00BB in SkUnsplay()
222 ((agrb >> 32) & mask)); // 0xAARRGGBB in SkUnsplay()
/external/skia/include/private/
DSkColorData.h200 uint64_t agrb = (color >> 8) & mask; // 0x0000000000AA00GG in SkSplay() local
201 agrb <<= 32; // 0x00AA00GG00000000 in SkSplay()
202 agrb |= color & mask; // 0x00AA00GG00RR00BB in SkSplay()
203 return agrb; in SkSplay()
218 static inline uint32_t SkUnsplay(uint64_t agrb) { in SkUnsplay() argument
221 ((agrb & mask) >> 8) | // 0x00RR00BB in SkUnsplay()
222 ((agrb >> 32) & mask)); // 0xAARRGGBB in SkUnsplay()