OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SK_G16_BITS
(Results
1 - 2
of
2
) sorted by null
/frameworks/rs/driver/runtime/
rs_sample.c
7
#define
SK_G16_BITS
6
10
#define SK_R16_SHIFT (SK_B16_BITS +
SK_G16_BITS
)
15
#define SK_G16_MASK ((1 <<
SK_G16_BITS
) - 1)
27
return (g << (8 -
SK_G16_BITS
)) | (g >> (2 *
SK_G16_BITS
- 8));
/external/skia/include/core/
SkColorPriv.h
231
#define
SK_G16_BITS
6
234
#define SK_R16_SHIFT (SK_B16_BITS +
SK_G16_BITS
)
239
#define SK_G16_MASK ((1 <<
SK_G16_BITS
) - 1)
584
#define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS -
SK_G16_BITS
))
607
#define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS -
SK_G16_BITS
)) & SK_G16_MASK)
612
unsigned g = ((c >> (SK_G32_SHIFT + (8 -
SK_G16_BITS
))) & SK_G16_MASK) << SK_G16_SHIFT;
632
g = ((g << 1) - ((g >> (8 -
SK_G16_BITS
) << (8 -
SK_G16_BITS
)) | (g >>
SK_G16_BITS
))) >> (8 -
SK_G16_BITS
);
[
all
...]
Completed in 145 milliseconds