Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapProcState.cpp32 SkASSERT(s.fAlphaScale == 256); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
84 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_nofilter_DX()
93 sk_memset32(colors, SkAlphaMulQ(row[0], s.fAlphaScale), count); in S32_alpha_D32_nofilter_DX()
107 *colors++ = SkAlphaMulQ(p0, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
108 *colors++ = SkAlphaMulQ(p1, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
109 *colors++ = SkAlphaMulQ(p2, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
110 *colors++ = SkAlphaMulQ(p3, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
118 *colors++ = SkAlphaMulQ(row[*x++], s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
259 fAlphaScale = SkAlpha255To256(SkColorGetA(fPaintColor)); in chooseProcs()
273 if (fAlphaScale == 256 in chooseProcs()
[all …]
DSkBitmapProcState.h87 uint16_t fAlphaScale; // chooseProcs member
/external/skqp/src/core/
DSkBitmapProcState.cpp32 SkASSERT(s.fAlphaScale == 256); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
84 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_nofilter_DX()
93 sk_memset32(colors, SkAlphaMulQ(row[0], s.fAlphaScale), count); in S32_alpha_D32_nofilter_DX()
107 *colors++ = SkAlphaMulQ(p0, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
108 *colors++ = SkAlphaMulQ(p1, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
109 *colors++ = SkAlphaMulQ(p2, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
110 *colors++ = SkAlphaMulQ(p3, s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
118 *colors++ = SkAlphaMulQ(row[*x++], s.fAlphaScale); in S32_alpha_D32_nofilter_DX()
259 fAlphaScale = SkAlpha255To256(SkColorGetA(fPaintColor)); in chooseProcs()
273 if (fAlphaScale == 256 in chooseProcs()
[all …]
DSkBitmapProcState.h87 uint16_t fAlphaScale; // chooseProcs member
/external/skqp/src/opts/
DSkBitmapProcState_opts.h104 int alpha = s.fAlphaScale; in S32_alpha_D32_filter_DX()
194 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
244 if (s.fAlphaScale < 256) { in S32_alpha_D32_filter_DX()
246 sum = _mm_mullo_epi16(sum, _mm_set1_epi16(s.fAlphaScale)); in S32_alpha_D32_filter_DX()
345 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
361 s.fAlphaScale); in S32_alpha_D32_filter_DX()
/external/skia/src/opts/
DSkBitmapProcState_opts.h104 int alpha = s.fAlphaScale; in S32_alpha_D32_filter_DX()
194 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
244 if (s.fAlphaScale < 256) { in S32_alpha_D32_filter_DX()
246 sum = _mm_mullo_epi16(sum, _mm_set1_epi16(s.fAlphaScale)); in S32_alpha_D32_filter_DX()
345 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_filter_DX()
361 s.fAlphaScale); in S32_alpha_D32_filter_DX()