Home
last modified time | relevance | path

Searched refs:fAlphaScale (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/core/
DSkBitmapProcState.cpp31 SkASSERT(s.fAlphaScale == 256); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
83 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_nofilter_DX()
92 sk_memset32(colors, SkAlphaMulQ(row[0], s.fAlphaScale), count); in S32_alpha_D32_nofilter_DX()
106 *colors++ = SkAlphaMulQ(p0, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
107 *colors++ = SkAlphaMulQ(p1, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
108 *colors++ = SkAlphaMulQ(p2, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
109 *colors++ = SkAlphaMulQ(p3, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
117 *colors++ = SkAlphaMulQ(row[*x++], s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
126 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_nofilter_DXDY()
267 fAlphaScale = SkAlpha255To256(fPaintAlpha); in chooseProcs()
[all …]
DSkBitmapProcState.h65 uint16_t fAlphaScale; // chooseProcs member
/third_party/skia/src/opts/
DSkBitmapProcState_opts.h47 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
143 if(s.fAlphaScale < 256) { in S32_alpha_D32_filter_DX()
144 sum *= s.fAlphaScale; in S32_alpha_D32_filter_DX()
179 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
228 if (s.fAlphaScale < 256) { in S32_alpha_D32_filter_DX()
229 px = _mm_srli_epi16(_mm_mullo_epi16(px, _mm_set1_epi16(s.fAlphaScale)), 8); in S32_alpha_D32_filter_DX()
318 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
379 if (s.fAlphaScale < 256) { in S32_alpha_D32_filter_DX()
381 sum = _mm_mullo_epi16(sum, _mm_set1_epi16(s.fAlphaScale)); in S32_alpha_D32_filter_DX()
480 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
[all …]