OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:agrb
(Results
1 - 3
of
3
) sorted by null
/external/skia/tests/
ColorPrivTest.cpp
17
const uint64_t
agrb
= SkSplay(color);
local
18
ASSERT(
agrb
== 0x00A100C300B200D4ULL);
19
ASSERT(SkUnsplay(
agrb
<<8) == color);
/external/chromium_org/third_party/skia/include/core/
SkColorPriv.h
282
* (note, ARGB ->
AGRB
)
286
uint64_t
agrb
= (color >> 8) & mask; // 0x0000000000AA00GG
local
287
agrb
<<= 32; // 0x00AA00GG00000000
288
agrb
|= color & mask; // 0x00AA00GG00RR00BB
289
return
agrb
;
302
* (note,
AGRB
-> ARGB)
304
static inline uint32_t SkUnsplay(uint64_t
agrb
) {
307
((
agrb
& mask) >> 8) | // 0x00RR00BB
308
((
agrb
>> 32) & mask)); // 0xAARRGGBB
/external/skia/include/core/
SkColorPriv.h
282
* (note, ARGB ->
AGRB
)
286
uint64_t
agrb
= (color >> 8) & mask; // 0x0000000000AA00GG
local
287
agrb
<<= 32; // 0x00AA00GG00000000
288
agrb
|= color & mask; // 0x00AA00GG00RR00BB
289
return
agrb
;
302
* (note,
AGRB
-> ARGB)
304
static inline uint32_t SkUnsplay(uint64_t
agrb
) {
307
((
agrb
& mask) >> 8) | // 0x00RR00BB
308
((
agrb
>> 32) & mask)); // 0xAARRGGBB
Completed in 441 milliseconds