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 - 3
of
3
) sorted by null
/frameworks/rs/driver/runtime/
rs_sample.c
8
#define
SK_G16_BITS
6
11
#define SK_R16_SHIFT (SK_B16_BITS +
SK_G16_BITS
)
16
#define SK_G16_MASK ((1 <<
SK_G16_BITS
) - 1)
28
return (g << (8 -
SK_G16_BITS
)) | (g >> (2 *
SK_G16_BITS
- 8));
/external/chromium_org/third_party/skia/include/core/
SkColorPriv.h
87
#define
SK_G16_BITS
6
90
#define SK_R16_SHIFT (SK_B16_BITS +
SK_G16_BITS
)
95
#define SK_G16_MASK ((1 <<
SK_G16_BITS
) - 1)
409
#define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS -
SK_G16_BITS
))
432
#define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS -
SK_G16_BITS
)) & SK_G16_MASK)
437
unsigned g = ((c >> (SK_G32_SHIFT + (8 -
SK_G16_BITS
))) & SK_G16_MASK) << SK_G16_SHIFT;
457
g = ((g << 1) - ((g >> (8 -
SK_G16_BITS
) << (8 -
SK_G16_BITS
)) | (g >>
SK_G16_BITS
))) >> (8 -
SK_G16_BITS
);
[
all
...]
/external/skia/include/core/
SkColorPriv.h
87
#define
SK_G16_BITS
6
90
#define SK_R16_SHIFT (SK_B16_BITS +
SK_G16_BITS
)
95
#define SK_G16_MASK ((1 <<
SK_G16_BITS
) - 1)
409
#define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS -
SK_G16_BITS
))
432
#define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS -
SK_G16_BITS
)) & SK_G16_MASK)
437
unsigned g = ((c >> (SK_G32_SHIFT + (8 -
SK_G16_BITS
))) & SK_G16_MASK) << SK_G16_SHIFT;
457
g = ((g << 1) - ((g >> (8 -
SK_G16_BITS
) << (8 -
SK_G16_BITS
)) | (g >>
SK_G16_BITS
))) >> (8 -
SK_G16_BITS
);
[
all
...]
Completed in 24 milliseconds