OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scale16
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/core/
SkBlitRow_D4444.cpp
28
unsigned
scale16
= SkAlpha255To256(alpha) >> 4;
local
36
dst_expand += (src_expand - dst_expand) *
scale16
>> 4;
54
unsigned
scale16
= SkAlpha255To256(255 - SkGetPackedA32(c)) >> 4;
local
56
uint32_t dst_expand = SkExpand_4444(*dst) *
scale16
;
113
int
scale16
= SkAlpha255To256(alpha) >> 4;
local
120
uint32_t src_expand = SkExpand32_4444(c) *
scale16
;
121
uint32_t dst_expand = SkExpand_4444(*dst) * (16 -
scale16
);
144
unsigned
scale16
= SkAlpha255To256(255 - a) >> 4;
local
146
uint32_t dst_expand = SkExpand_4444(*dst) *
scale16
;
SkSpriteBlitter_RGB16.cpp
122
#define D16_S4444_Blend(dst, sc,
scale16
) \
125
*dst = SkBlend4444To16(sc, dc,
scale16
); \
/external/skia/src/effects/
SkTransparentShader.cpp
103
unsigned
scale16
= scale >> 4;
local
106
uint32_t c = SkExpand_4444(src[i]) *
scale16
;
/external/skia/include/core/
SkColorPriv.h
553
static inline uint16_t SkBlend4444To16(SkPMColor16 src, uint16_t dst, int
scale16
) {
554
SkASSERT((unsigned)
scale16
<= 16);
556
return SkSrcOver4444To16(SkAlphaMulQ4(src,
scale16
), dst);
559
static inline uint16_t SkBlend4444(SkPMColor16 src, SkPMColor16 dst, int
scale16
) {
560
SkASSERT((unsigned)
scale16
<= 16);
562
uint32_t src32 = SkExpand_4444(src) *
scale16
;
566
unsigned srcA = SkGetPackedA4444(src) *
scale16
;
Completed in 125 milliseconds